Package org.apache.ofbiz.entity.model
Class ModelViewEntity.ComplexAliasField
- java.lang.Object
-
- org.apache.ofbiz.entity.model.ModelViewEntity.ComplexAliasField
-
- All Implemented Interfaces:
java.io.Serializable
,ModelViewEntity.ComplexAliasMember
- Enclosing class:
- ModelViewEntity
public static final class ModelViewEntity.ComplexAliasField extends java.lang.Object implements ModelViewEntity.ComplexAliasMember
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
defaultValue
java.lang.String
entityAlias
java.lang.String
field
java.lang.String
function
java.lang.String
value
-
Constructor Summary
Constructors Constructor Description ComplexAliasField(java.lang.String entityAlias, java.lang.String field, java.lang.String defaultValue, java.lang.String function)
ComplexAliasField(java.lang.String entityAlias, java.lang.String field, java.lang.String defaultValue, java.lang.String function, java.lang.String value)
ComplexAliasField(org.w3c.dom.Element complexAliasFieldElement)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
makeAliasColName(java.lang.StringBuilder colNameBuffer, java.lang.StringBuilder fieldTypeBuffer, ModelViewEntity modelViewEntity, ModelReader modelReader)
Make the alias as follows: function(coalesce(entityAlias.field, defaultValue))
-
-
-
Constructor Detail
-
ComplexAliasField
public ComplexAliasField(org.w3c.dom.Element complexAliasFieldElement)
-
ComplexAliasField
public ComplexAliasField(java.lang.String entityAlias, java.lang.String field, java.lang.String defaultValue, java.lang.String function)
-
ComplexAliasField
public ComplexAliasField(java.lang.String entityAlias, java.lang.String field, java.lang.String defaultValue, java.lang.String function, java.lang.String value)
-
-
Method Detail
-
makeAliasColName
public void makeAliasColName(java.lang.StringBuilder colNameBuffer, java.lang.StringBuilder fieldTypeBuffer, ModelViewEntity modelViewEntity, ModelReader modelReader)
Make the alias as follows: function(coalesce(entityAlias.field, defaultValue))- Specified by:
makeAliasColName
in interfaceModelViewEntity.ComplexAliasMember
-
-