Class ExpressionProperty
java.lang.Object
org.iplass.mtp.entity.definition.PropertyDefinition
org.iplass.mtp.entity.definition.properties.ExpressionProperty
- All Implemented Interfaces:
Serializable
数式により、プロパティの演算結果を返す、仮想的なプロパティを表す定義。
数式はEQL形式(ValueExpressionとして有効な式)にて記述。
自Entityの属性、関連定義されたEntityの属性を参照可能。
また、相関サブクエリの指定も可能。
- See Also:
-
Field Summary
Fields inherited from class org.iplass.mtp.entity.definition.PropertyDefinition
MULTIPLICITY_INFINITE
-
Constructor Summary
ConstructorDescriptionExpressionProperty
(String name) ExpressionProperty
(String name, String expression) ExpressionProperty
(String name, String expression, PropertyDefinitionType resultType) -
Method Summary
Modifier and TypeMethodDescriptionClass
<?> getType()
enumでPropertyの型を返す。 switch/case文で利用可能なように。void
setExpression
(String expression) void
setResultType
(PropertyDefinitionType resultType) void
setResultTypeSpec
(PropertyDefinition resultTypeSpec) Methods inherited from class org.iplass.mtp.entity.definition.PropertyDefinition
addLocalizedDisplayName, getDefaultValue, getDescription, getDisplayName, getIndexType, getLocalizedDisplayNameList, getMultiplicity, getName, getNormalizers, getValidations, isInherited, isReadOnly, isUpdatable, setDefaultValue, setDescription, setDisplayName, setIndexType, setInherited, setLocalizedDisplayNameList, setMultiplicity, setName, setNormalizers, setReadOnly, setUpdatable, setValidations
-
Constructor Details
-
ExpressionProperty
public ExpressionProperty() -
ExpressionProperty
-
ExpressionProperty
-
ExpressionProperty
-
-
Method Details
-
getResultTypeSpec
-
setResultTypeSpec
-
getResultType
-
setResultType
-
getExpression
-
setExpression
-
getJavaType
- Specified by:
getJavaType
in classPropertyDefinition
-
getType
Description copied from class:PropertyDefinition
enumでPropertyの型を返す。 switch/case文で利用可能なように。- Specified by:
getType
in classPropertyDefinition
- Returns:
-