Class AbstractProperty<T>

    • Field Detail

      • NULL_LABEL

        public static String NULL_LABEL
    • Method Detail

      • getName

        public String getName()
      • setName

        public void setName​(String name)
      • getDisplayName

        public String getDisplayName()
      • setDisplayName

        public void setDisplayName​(String displayName)
      • getDescription

        public String getDescription()
      • setDescription

        public void setDescription​(String description)
      • getValue

        public T getValue()
      • getDefaultValue

        public abstract T getDefaultValue()
      • setValue

        public void setValue​(T value)
      • hasBinder

        public boolean hasBinder()
      • setHasBinder

        public void setHasBinder​(boolean hasBinder)
      • getType

        public String getType()
      • setType

        public void setType​(String type)
      • isReadOnly

        public boolean isReadOnly()
      • setReadOnly

        public void setReadOnly​(boolean readOnly)
      • isMandatory

        public boolean isMandatory()
      • setMandatory

        public void setMandatory​(boolean mandatory)
      • isUnique

        public boolean isUnique()
      • setUnique

        public void setUnique​(boolean unique)
      • getAdvancedEditor

        public abstract com.vaadin.flow.component.AbstractField getAdvancedEditor()
        An advanced editor for the property
        Returns:
      • supportsAdvancedEditor

        public abstract boolean supportsAdvancedEditor()
        Does it support an advanced editor? If true
        Returns:
      • supportsInplaceEditor

        public abstract boolean supportsInplaceEditor()
        Does it support in place editor? If true
        Returns:
      • getInplaceEditor

        public abstract com.vaadin.flow.component.AbstractField getInplaceEditor()
        A simple field that will be used to edit the property
        Returns:
      • getAsString

        public abstract String getAsString()
        The value to be displayed on screen
        Returns:
        The string representation of the value of the property