Package de.hybris.platform.core
Interface ItemDeployment.Attribute
-
- All Superinterfaces:
java.io.Serializable
- Enclosing interface:
- ItemDeployment
public static interface ItemDeployment.Attribute extends java.io.Serializabledescribes a CMP field
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetColumnDeclaration(java.lang.String database, DeploymentImpl deployment)java.lang.StringgetColumnName(java.lang.String database)java.lang.StringgetQualifier()java.lang.StringgetType()booleanisNullAllowed(java.lang.String database)booleanisPrimaryKey()
-
-
-
Method Detail
-
getQualifier
java.lang.String getQualifier()
- Returns:
- the CMP field name
-
getType
java.lang.String getType()
- Returns:
- the java persistence type of this field
-
getColumnName
java.lang.String getColumnName(java.lang.String database)
- Returns:
- the database column name of this field
-
getColumnDeclaration
java.lang.String getColumnDeclaration(java.lang.String database, DeploymentImpl deployment)- Returns:
- the sql column declaration
-
isPrimaryKey
boolean isPrimaryKey()
- Returns:
- true if this attribute describes a primary key field
-
isNullAllowed
boolean isNullAllowed(java.lang.String database)
- Returns:
- true if this attribute may contain null values
-
-