Class ItemTemplate
- java.lang.Object
-
- de.hybris.platform.cockpit.model.meta.impl.DefaultObjectType
-
- de.hybris.platform.cockpit.model.meta.impl.ItemTemplate
-
- All Implemented Interfaces:
ObjectTemplate,ObjectType,RedeclarableObjectType
public class ItemTemplate extends DefaultObjectType implements ObjectTemplate
-
-
Constructor Summary
Constructors Constructor Description ItemTemplate(CockpitItemTemplateModel cockpitItemTemplate, ItemType baseType, java.util.Collection<? extends ExtendedType> extendedTypes, java.lang.String code)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ItemTypegetBaseType()java.lang.StringgetBaseTypeCode()CockpitItemTemplateModelgetCockpitItemTemplate()java.util.Set<PropertyDescriptor>getDeclaredPropertyDescriptors()Returns all property descriptors which are declared at this type (not inherited).java.lang.StringgetDescription()Returns type description according to current session languagejava.lang.StringgetDescription(java.lang.String languageIsoCode)Returns type description according to given languagejava.util.Collection<? extends ExtendedType>getExtendedTypes()java.lang.StringgetName()Returns type name according to current session languagejava.lang.StringgetName(java.lang.String languageIsoCode)Returns type name according to given languagejava.util.Set<PropertyDescriptor>getPropertyDescriptors()Returns all property descriptorsjava.util.Set<ObjectType>getSubtypes()Direct sub types of this object type.java.util.Set<ObjectType>getSupertypes()Direct super types of this object type.java.lang.StringgetTemplateCode()booleanisAbstract()Returns true if this type is not suitable for creating instances.booleanisDefaultTemplate()-
Methods inherited from class de.hybris.platform.cockpit.model.meta.impl.DefaultObjectType
addToSubtypesInternal, addToSupertypesInternal, equals, getCode, getRedeclaredPropertyDescriptors, hashCode, isAssignableFrom, removeFromSubtypesInternal, removeFromSupertypesInternal, setDeclaredPropertyDescriptors, setRedeclaredPropertyDescriptors, setSubtypes, setSupertypes, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface de.hybris.platform.cockpit.model.meta.ObjectType
getCode, isAssignableFrom
-
-
-
-
Constructor Detail
-
ItemTemplate
public ItemTemplate(CockpitItemTemplateModel cockpitItemTemplate, ItemType baseType, java.util.Collection<? extends ExtendedType> extendedTypes, java.lang.String code)
-
-
Method Detail
-
getCockpitItemTemplate
public CockpitItemTemplateModel getCockpitItemTemplate()
-
getBaseTypeCode
public java.lang.String getBaseTypeCode()
-
getTemplateCode
public java.lang.String getTemplateCode()
-
getBaseType
public ItemType getBaseType()
- Specified by:
getBaseTypein interfaceObjectTemplate
-
getExtendedTypes
public java.util.Collection<? extends ExtendedType> getExtendedTypes()
- Specified by:
getExtendedTypesin interfaceObjectTemplate
-
getDeclaredPropertyDescriptors
public java.util.Set<PropertyDescriptor> getDeclaredPropertyDescriptors()
Description copied from interface:ObjectTypeReturns all property descriptors which are declared at this type (not inherited).- Specified by:
getDeclaredPropertyDescriptorsin interfaceObjectType- Overrides:
getDeclaredPropertyDescriptorsin classDefaultObjectType
-
getPropertyDescriptors
public java.util.Set<PropertyDescriptor> getPropertyDescriptors()
Description copied from interface:ObjectTypeReturns all property descriptors- Specified by:
getPropertyDescriptorsin interfaceObjectType- Overrides:
getPropertyDescriptorsin classDefaultObjectType
-
getSubtypes
public java.util.Set<ObjectType> getSubtypes()
Description copied from interface:ObjectTypeDirect sub types of this object type.- Specified by:
getSubtypesin interfaceObjectType- Overrides:
getSubtypesin classDefaultObjectType
-
getSupertypes
public java.util.Set<ObjectType> getSupertypes()
Description copied from interface:ObjectTypeDirect super types of this object type.- Specified by:
getSupertypesin interfaceObjectType- Overrides:
getSupertypesin classDefaultObjectType
-
isDefaultTemplate
public boolean isDefaultTemplate()
- Specified by:
isDefaultTemplatein interfaceObjectTemplate
-
isAbstract
public boolean isAbstract()
Description copied from interface:ObjectTypeReturns true if this type is not suitable for creating instances.- Specified by:
isAbstractin interfaceObjectType
-
getName
public java.lang.String getName()
Description copied from interface:ObjectTypeReturns type name according to current session language- Specified by:
getNamein interfaceObjectType
-
getName
public java.lang.String getName(java.lang.String languageIsoCode)
Description copied from interface:ObjectTypeReturns type name according to given language- Specified by:
getNamein interfaceObjectType
-
getDescription
public java.lang.String getDescription()
Description copied from interface:ObjectTypeReturns type description according to current session language- Specified by:
getDescriptionin interfaceObjectType
-
getDescription
public java.lang.String getDescription(java.lang.String languageIsoCode)
Description copied from interface:ObjectTypeReturns type description according to given language- Specified by:
getDescriptionin interfaceObjectType
-
-