Class TypeInfoMap
- java.lang.Object
-
- de.hybris.platform.persistence.property.TypeInfoMap
-
- All Implemented Interfaces:
java.io.Serializable
public class TypeInfoMap extends java.lang.Object implements java.io.Serializable- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTypeInfoMap.PropertyColumnInfo
-
Field Summary
Fields Modifier and Type Field Description static intCOREstatic TypeInfoMapEMPTY_INFOMAPstatic intLOCALIZEDstatic intMOD_ABSTRACTstatic intMOD_JALO_ONLYstatic intMOD_VIEW_TYPEstatic intUNKNOWNstatic intUNLOCALIZED
-
Constructor Summary
Constructors Constructor Description TypeInfoMap(PK typePK, PK superTypePK, java.lang.String code, boolean isRelationType, int modifiers)creates info map for abstract type.TypeInfoMap(PK typePK, PK superTypePK, java.lang.String code, int itemTypeCode, boolean isRelationType, int modifiers, java.lang.String itemTableName, java.lang.String ulTableName, java.lang.String lTableName, java.lang.String oldPropTableName, java.lang.String auditTableName)TypeInfoMap(TypeInfoMap original, PK typePK, PK superTypePK, java.lang.String code)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(java.lang.String propertyName, java.lang.String columnName, java.lang.Class javaClass, boolean core, boolean localized)voidaddToEncryptedProperties(java.lang.String propertyName)java.lang.StringgetAuditTableName()static java.lang.StringgetCaseInsensitiveKey(java.lang.String qualifier)java.lang.StringgetCode()TypeInfoMap.PropertyColumnInfogetInfoForCoreProperty(java.lang.String propertyName)TypeInfoMap.PropertyColumnInfogetInfoForProperty(java.lang.String propertyName, boolean localized)java.lang.StringgetItemTableName()intgetItemTypeCode()java.lang.StringgetOldPropTableName()intgetPropertyType(java.lang.String propertyName)java.util.ListgetSortedCoreNames()java.util.ListgetSortedNames(boolean localized)PKgetSuperTypePK()java.lang.StringgetTableName(boolean localized)PKgetTypePK()booleanhasCorePropsColumns()booleanhasInfos(boolean localized)booleanhasLocalizedColumns()booleanisAbstract()booleanisEmpty()booleanisEncrypted(java.lang.String propertyName)booleanisJaloOnly()booleanisRelationType()booleanisViewType()voidsetTablesInitialized()booleantablesInitialized()java.lang.StringtoString()
-
-
-
Field Detail
-
UNLOCALIZED
public static final int UNLOCALIZED
- See Also:
- Constant Field Values
-
LOCALIZED
public static final int LOCALIZED
- See Also:
- Constant Field Values
-
CORE
public static final int CORE
- See Also:
- Constant Field Values
-
UNKNOWN
public static final int UNKNOWN
- See Also:
- Constant Field Values
-
EMPTY_INFOMAP
public static final TypeInfoMap EMPTY_INFOMAP
-
MOD_ABSTRACT
public static final int MOD_ABSTRACT
- See Also:
- Constant Field Values
-
MOD_VIEW_TYPE
public static final int MOD_VIEW_TYPE
- See Also:
- Constant Field Values
-
MOD_JALO_ONLY
public static final int MOD_JALO_ONLY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TypeInfoMap
public TypeInfoMap(PK typePK, PK superTypePK, java.lang.String code, boolean isRelationType, int modifiers)
creates info map for abstract type.- Parameters:
typePK-
-
TypeInfoMap
public TypeInfoMap(PK typePK, PK superTypePK, java.lang.String code, int itemTypeCode, boolean isRelationType, int modifiers, java.lang.String itemTableName, java.lang.String ulTableName, java.lang.String lTableName, java.lang.String oldPropTableName, java.lang.String auditTableName)
-
TypeInfoMap
public TypeInfoMap(TypeInfoMap original, PK typePK, PK superTypePK, java.lang.String code)
-
-
Method Detail
-
tablesInitialized
public boolean tablesInitialized()
-
setTablesInitialized
public void setTablesInitialized()
-
getSortedCoreNames
public java.util.List getSortedCoreNames()
-
getSortedNames
public java.util.List getSortedNames(boolean localized)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getTypePK
public PK getTypePK()
-
getSuperTypePK
public PK getSuperTypePK()
-
getCode
public java.lang.String getCode()
-
isEmpty
public boolean isEmpty()
-
isEncrypted
public boolean isEncrypted(java.lang.String propertyName)
-
getPropertyType
public int getPropertyType(java.lang.String propertyName)
-
addToEncryptedProperties
public void addToEncryptedProperties(java.lang.String propertyName)
-
add
public void add(java.lang.String propertyName, java.lang.String columnName, java.lang.Class javaClass, boolean core, boolean localized)
-
getTableName
public java.lang.String getTableName(boolean localized)
-
getItemTableName
public java.lang.String getItemTableName()
-
getOldPropTableName
public java.lang.String getOldPropTableName()
-
getAuditTableName
public java.lang.String getAuditTableName()
-
hasInfos
public boolean hasInfos(boolean localized)
-
hasLocalizedColumns
public boolean hasLocalizedColumns()
-
hasCorePropsColumns
public boolean hasCorePropsColumns()
-
getInfoForCoreProperty
public TypeInfoMap.PropertyColumnInfo getInfoForCoreProperty(java.lang.String propertyName)
-
getInfoForProperty
public TypeInfoMap.PropertyColumnInfo getInfoForProperty(java.lang.String propertyName, boolean localized)
-
isRelationType
public boolean isRelationType()
-
isAbstract
public boolean isAbstract()
-
isJaloOnly
public boolean isJaloOnly()
-
isViewType
public boolean isViewType()
-
getItemTypeCode
public int getItemTypeCode()
-
getCaseInsensitiveKey
public static final java.lang.String getCaseInsensitiveKey(java.lang.String qualifier)
-
-