Class PropertyDefinition

java.lang.Object
org.iplass.mtp.entity.definition.PropertyDefinition
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AutoNumberProperty, BinaryProperty, BooleanProperty, DateProperty, DateTimeProperty, DecimalProperty, ExpressionProperty, FloatProperty, IntegerProperty, LongTextProperty, ReferenceProperty, SelectProperty, StringProperty, TimeProperty

public abstract class PropertyDefinition extends Object implements Serializable
Entityが保持するプロパティを定義するクラス。
See Also:
  • Field Details

  • Constructor Details

    • PropertyDefinition

      public PropertyDefinition()
  • Method Details

    • getNormalizers

      public List<NormalizerDefinition> getNormalizers()
    • setNormalizers

      public void setNormalizers(List<NormalizerDefinition> normalizers)
    • getDefaultValue

      public String getDefaultValue()
    • setDefaultValue

      public void setDefaultValue(String defaultValue)
    • isUpdatable

      public boolean isUpdatable()
    • setUpdatable

      public void setUpdatable(boolean updatable)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • getMultiplicity

      public int getMultiplicity()
    • setMultiplicity

      public void setMultiplicity(int multiplicity)
    • isInherited

      public boolean isInherited()
    • setInherited

      public void setInherited(boolean inherited)
    • isReadOnly

      public boolean isReadOnly()
    • setReadOnly

      public void setReadOnly(boolean readOnly)
    • getJavaType

      public abstract Class<?> getJavaType()
    • getType

      public abstract PropertyDefinitionType getType()
      enumでPropertyの型を返す。 switch/case文で利用可能なように。
      Returns:
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getDisplayName

      public String getDisplayName()
    • setDisplayName

      public void setDisplayName(String displayName)
    • getValidations

      public List<ValidationDefinition> getValidations()
    • setValidations

      public void setValidations(List<ValidationDefinition> validations)
    • getLocalizedDisplayNameList

      public List<LocalizedStringDefinition> getLocalizedDisplayNameList()
    • setLocalizedDisplayNameList

      public void setLocalizedDisplayNameList(List<LocalizedStringDefinition> localizedDisplayNameList)
    • addLocalizedDisplayName

      public void addLocalizedDisplayName(LocalizedStringDefinition localizedDisplayName)
    • setIndexType

      public void setIndexType(IndexType indexType)
    • getIndexType

      public IndexType getIndexType()