Interface ObjectType
-
- All Known Subinterfaces:
BaseType,ExtendedType,ObjectTemplate,RedeclarableObjectType,SearchType
- All Known Implementing Classes:
AbstractExtendedType,ClassificationType,ClassificationTypeLoader.MyClassificationType,DefaultObjectType,DefaultSearchType,DefaultTypeService.MyClassificationType,DefaultTypeService.MyItemType,DefaultTypeService.MyWidgetType,ExtensibleTypeService.MyItemType,ItemSearchType,ItemTemplate,ItemType,WidgetType,WidgetTypeLoader.MyWidgetType
public interface ObjectTypeRoot interface of all object types.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetCode()The code of the object type.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.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.booleanisAbstract()Returns true if this type is not suitable for creating instances.booleanisAssignableFrom(ObjectType type)
-
-
-
Method Detail
-
getCode
java.lang.String getCode()
The code of the object type.
-
getSupertypes
java.util.Set<ObjectType> getSupertypes()
Direct super types of this object type.
-
getSubtypes
java.util.Set<ObjectType> getSubtypes()
Direct sub types of this object type.
-
isAssignableFrom
boolean isAssignableFrom(ObjectType type)
-
getPropertyDescriptors
java.util.Set<PropertyDescriptor> getPropertyDescriptors()
Returns all property descriptors
-
getDeclaredPropertyDescriptors
java.util.Set<PropertyDescriptor> getDeclaredPropertyDescriptors()
Returns all property descriptors which are declared at this type (not inherited).
-
isAbstract
boolean isAbstract()
Returns true if this type is not suitable for creating instances.
-
getName
java.lang.String getName()
Returns type name according to current session language
-
getName
java.lang.String getName(java.lang.String languageIsoCode)
Returns type name according to given language
-
getDescription
java.lang.String getDescription()
Returns type description according to current session language
-
getDescription
java.lang.String getDescription(java.lang.String languageIsoCode)
Returns type description according to given language
-
-