Class AbstractExtendedType
- java.lang.Object
-
- de.hybris.platform.cockpit.model.meta.impl.AbstractExtendedType
-
- All Implemented Interfaces:
ExtendedType,ObjectType
public abstract class AbstractExtendedType extends java.lang.Object implements ExtendedType
An abstract class that implements a few methods you may not want to code when creating a new extended type.
-
-
Constructor Summary
Constructors Constructor Description AbstractExtendedType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.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.booleanisAbstract()Returns true if this type is not suitable for creating instances.booleanisAssignableFrom(ObjectType type)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.hybris.platform.cockpit.model.meta.ObjectType
getCode, getDeclaredPropertyDescriptors, getName, getName
-
-
-
-
Method Detail
-
getSupertypes
public java.util.Set<ObjectType> getSupertypes()
Description copied from interface:ObjectTypeDirect super types of this object type.- Specified by:
getSupertypesin interfaceObjectType
-
getSubtypes
public java.util.Set<ObjectType> getSubtypes()
Description copied from interface:ObjectTypeDirect sub types of this object type.- Specified by:
getSubtypesin interfaceObjectType
-
isAssignableFrom
public boolean isAssignableFrom(ObjectType type)
- Specified by:
isAssignableFromin interfaceObjectType
-
getPropertyDescriptors
public java.util.Set<PropertyDescriptor> getPropertyDescriptors()
Description copied from interface:ObjectTypeReturns all property descriptors- Specified by:
getPropertyDescriptorsin interfaceObjectType
-
isAbstract
public boolean isAbstract()
Description copied from interface:ObjectTypeReturns true if this type is not suitable for creating instances.- Specified by:
isAbstractin 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
-
-