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 ObjectType
Root interface of all object types.
-
Method Summary
Modifier and TypeMethodDescriptiongetCode()The code of the object type.Returns all property descriptors which are declared at this type (not inherited).Returns type description according to current session languagegetDescription(String languageIsoCode) Returns type description according to given languagegetName()Returns type name according to current session languageReturns type name according to given languageReturns all property descriptorsDirect sub types of this object type.Direct super types of this object type.booleanReturns true if this type is not suitable for creating instances.booleanisAssignableFrom(ObjectType type)
-
Method Details
-
getCode
String getCode()The code of the object type. -
getSupertypes
Set<ObjectType> getSupertypes()Direct super types of this object type. -
getSubtypes
Set<ObjectType> getSubtypes()Direct sub types of this object type. -
isAssignableFrom
-
getPropertyDescriptors
Set<PropertyDescriptor> getPropertyDescriptors()Returns all property descriptors -
getDeclaredPropertyDescriptors
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
String getName()Returns type name according to current session language -
getName
Returns type name according to given language -
getDescription
String getDescription()Returns type description according to current session language -
getDescription
Returns type description according to given language
-