Class PropertyAssignment

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDefaultValue()  
      EntityKind getEntityKind()
      Return the kind of the assigned entity type.
      java.lang.String getEntityTypeCode()
      Return the code of the assigned entity type.
      java.lang.Long getPositionInForms()
      Return the position at which the property will be rendered when editing/registering objects of the specified entity type.
      java.lang.String getPropertyTypeCode()
      Return the code of the assigned property type.
      java.lang.String getScriptName()
      Return the name of the script in case of a dynamic or managed property
      java.lang.String getSection()
      Return the name of the form section.
      boolean isDynamic()
      Return true if the property is dynamic
      boolean isManaged()
      Return true if the property is managed
      boolean isMandatory()
      Return true if the property is mandatory for the assigned entity type.
      void setDefaultValue​(java.lang.String defaultValue)
      Any already existing entity types will receive the specified default value.
      void setDynamic​(boolean dynamic)
      Set to true if the dynamic property is handled by a script.
      void setManaged​(boolean managed)
      Set to true if the managed property is handled by a script.
      void setMandatory​(boolean mandatory)
      Set to true if the property is mandatory for the assigned entity type.
      void setPositionInForms​(java.lang.Long ordinal)
      Sets the position where the property will appear in forms.
      void setScriptName​(java.lang.String scriptName)
      If handled by a script, the name is set here as a reference.
      void setSection​(java.lang.String section)
      Set the name of the form section.
      void setShownEdit​(boolean edit)
      Set to true if the sript-handled property should be shown in the edit mode.
      boolean shownInEditViews()
      Return true if the property is shown in the edit views
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait