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.String
getDescription()
Returns type description according to current session languagejava.lang.String
getDescription(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.boolean
isAbstract()
Returns true if this type is not suitable for creating instances.boolean
isAssignableFrom(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:ObjectType
Direct super types of this object type.- Specified by:
getSupertypes
in interfaceObjectType
-
getSubtypes
public java.util.Set<ObjectType> getSubtypes()
Description copied from interface:ObjectType
Direct sub types of this object type.- Specified by:
getSubtypes
in interfaceObjectType
-
isAssignableFrom
public boolean isAssignableFrom(ObjectType type)
- Specified by:
isAssignableFrom
in interfaceObjectType
-
getPropertyDescriptors
public java.util.Set<PropertyDescriptor> getPropertyDescriptors()
Description copied from interface:ObjectType
Returns all property descriptors- Specified by:
getPropertyDescriptors
in interfaceObjectType
-
isAbstract
public boolean isAbstract()
Description copied from interface:ObjectType
Returns true if this type is not suitable for creating instances.- Specified by:
isAbstract
in interfaceObjectType
-
getDescription
public java.lang.String getDescription()
Description copied from interface:ObjectType
Returns type description according to current session language- Specified by:
getDescription
in interfaceObjectType
-
getDescription
public java.lang.String getDescription(java.lang.String languageIsoCode)
Description copied from interface:ObjectType
Returns type description according to given language- Specified by:
getDescription
in interfaceObjectType
-
-