クラス ExpressionProperty
java.lang.Object
org.iplass.mtp.entity.definition.PropertyDefinition
org.iplass.mtp.entity.definition.properties.ExpressionProperty
- すべての実装されたインタフェース:
java.io.Serializable
public class ExpressionProperty extends PropertyDefinition
数式により、プロパティの演算結果を返す、仮想的なプロパティを表す定義。
数式はEQL形式(ValueExpressionとして有効な式)にて記述。
自Entityの属性、関連定義されたEntityの属性を参照可能。
また、相関サブクエリの指定も可能。
- 関連項目:
- 直列化された形式
-
フィールドの概要
-
コンストラクタの概要
コンストラクタ コンストラクタ 説明 ExpressionProperty()ExpressionProperty(java.lang.String name)ExpressionProperty(java.lang.String name, java.lang.String expression)ExpressionProperty(java.lang.String name, java.lang.String expression, PropertyDefinitionType resultType) -
メソッドの概要
修飾子とタイプ メソッド 説明 java.lang.StringgetExpression()java.lang.Class<?>getJavaType()PropertyDefinitionTypegetResultType()PropertyDefinitiongetResultTypeSpec()PropertyDefinitionTypegetType()enumでPropertyの型を返す。voidsetExpression(java.lang.String expression)voidsetResultType(PropertyDefinitionType resultType)voidsetResultTypeSpec(PropertyDefinition resultTypeSpec)クラスから継承されたメソッド 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
-
コンストラクタの詳細
-
ExpressionProperty
public ExpressionProperty() -
ExpressionProperty
public ExpressionProperty(java.lang.String name) -
ExpressionProperty
public ExpressionProperty(java.lang.String name, java.lang.String expression) -
ExpressionProperty
public ExpressionProperty(java.lang.String name, java.lang.String expression, PropertyDefinitionType resultType)
-
-
メソッドの詳細
-
getResultTypeSpec
-
setResultTypeSpec
-
getResultType
-
setResultType
-
getExpression
public java.lang.String getExpression() -
setExpression
public void setExpression(java.lang.String expression) -
getJavaType
public java.lang.Class<?> getJavaType()- 定義:
getJavaTypeクラス内PropertyDefinition
-
getType
クラスからコピーされた説明:PropertyDefinitionenumでPropertyの型を返す。 switch/case文で利用可能なように。- 定義:
getTypeクラス内PropertyDefinition- 戻り値:
-