Package org.iplass.mtp.entity.definition
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
Entityが保持するプロパティを定義するクラス。
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addLocalizedDisplayName
(LocalizedStringDefinition localizedDisplayName) abstract Class
<?> int
getName()
abstract PropertyDefinitionType
getType()
enumでPropertyの型を返す。 switch/case文で利用可能なように。boolean
boolean
boolean
void
setDefaultValue
(String defaultValue) void
setDescription
(String description) void
setDisplayName
(String displayName) void
setIndexType
(IndexType indexType) void
setInherited
(boolean inherited) void
setLocalizedDisplayNameList
(List<LocalizedStringDefinition> localizedDisplayNameList) void
setMultiplicity
(int multiplicity) void
void
setNormalizers
(List<NormalizerDefinition> normalizers) void
setReadOnly
(boolean readOnly) void
setUpdatable
(boolean updatable) void
setValidations
(List<ValidationDefinition> validations)
-
Field Details
-
MULTIPLICITY_INFINITE
public static final int MULTIPLICITY_INFINITE- See Also:
-
-
Constructor Details
-
PropertyDefinition
public PropertyDefinition()
-
-
Method Details
-
getNormalizers
-
setNormalizers
-
getDefaultValue
-
setDefaultValue
-
isUpdatable
public boolean isUpdatable() -
setUpdatable
public void setUpdatable(boolean updatable) -
getDescription
-
setDescription
-
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
-
getType
enumでPropertyの型を返す。 switch/case文で利用可能なように。- Returns:
-
getName
-
setName
-
getDisplayName
-
setDisplayName
-
getValidations
-
setValidations
-
getLocalizedDisplayNameList
-
setLocalizedDisplayNameList
-
addLocalizedDisplayName
-
setIndexType
-
getIndexType
-