Class WidgetType
- java.lang.Object
-
- de.hybris.platform.cockpit.model.meta.impl.DefaultObjectType
-
- de.hybris.platform.cockpit.model.meta.impl.WidgetType
-
- All Implemented Interfaces:
ExtendedType
,ObjectType
,RedeclarableObjectType
- Direct Known Subclasses:
DefaultTypeService.MyWidgetType
,WidgetTypeLoader.MyWidgetType
public class WidgetType extends DefaultObjectType implements ExtendedType
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
WIDGET_TYPE_PREFIX
-
Constructor Summary
Constructors Constructor Description WidgetType(ComposedTypeModel composedType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComposedTypeModel
getComposedType()
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.lang.String
getName()
Returns type name according to current session languagejava.lang.String
getName(java.lang.String languageIsoCode)
Returns type name according to given languageboolean
isAbstract()
Returns true if this type is not suitable for creating instances.boolean
isJaloOnly()
boolean
isSingleton()
java.lang.String
toString()
-
Methods inherited from class de.hybris.platform.cockpit.model.meta.impl.DefaultObjectType
addToSubtypesInternal, addToSupertypesInternal, equals, getCode, getDeclaredPropertyDescriptors, getPropertyDescriptors, getRedeclaredPropertyDescriptors, getSubtypes, getSupertypes, hashCode, isAssignableFrom, removeFromSubtypesInternal, removeFromSupertypesInternal, setDeclaredPropertyDescriptors, setRedeclaredPropertyDescriptors, setSubtypes, setSupertypes
-
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, getDeclaredPropertyDescriptors, getPropertyDescriptors, getSubtypes, getSupertypes, isAssignableFrom
-
-
-
-
Field Detail
-
WIDGET_TYPE_PREFIX
public static final java.lang.String WIDGET_TYPE_PREFIX
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
WidgetType
public WidgetType(ComposedTypeModel composedType)
-
-
Method Detail
-
getComposedType
public ComposedTypeModel getComposedType()
-
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
-
isJaloOnly
public boolean isJaloOnly()
-
isSingleton
public boolean isSingleton()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classDefaultObjectType
-
getName
public java.lang.String getName()
Description copied from interface:ObjectType
Returns type name according to current session language- Specified by:
getName
in interfaceObjectType
-
getName
public java.lang.String getName(java.lang.String languageIsoCode)
Description copied from interface:ObjectType
Returns type name according to given language- Specified by:
getName
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
-
-