public abstract class DefaultObjectType extends Object implements RedeclarableObjectType
| Constructor and Description |
|---|
DefaultObjectType(String code) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addToSubtypesInternal(ObjectType type) |
protected void |
addToSupertypesInternal(ObjectType type) |
boolean |
equals(Object obj) |
String |
getCode()
The code of the object type.
|
Set<PropertyDescriptor> |
getDeclaredPropertyDescriptors()
Returns all property descriptors which are declared at this type (not inherited).
|
Set<PropertyDescriptor> |
getPropertyDescriptors()
Returns all property descriptors
|
Set<PropertyDescriptor> |
getRedeclaredPropertyDescriptors()
Returns all property descriptors which are inherited but re-declared at this type.
|
Set<ObjectType> |
getSubtypes()
Direct sub types of this object type.
|
Set<ObjectType> |
getSupertypes()
Direct super types of this object type.
|
int |
hashCode() |
boolean |
isAssignableFrom(ObjectType type) |
protected void |
removeFromSubtypesInternal(ObjectType type) |
protected void |
removeFromSupertypesInternal(ObjectType type) |
void |
setDeclaredPropertyDescriptors(Set<PropertyDescriptor> propertyDescriptors) |
void |
setRedeclaredPropertyDescriptors(Set<PropertyDescriptor> propertyDescriptors) |
void |
setSubtypes(Set<? extends ObjectType> types) |
void |
setSupertypes(Set<? extends ObjectType> types) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetDescription, getDescription, getName, getName, isAbstractpublic DefaultObjectType(String code)
public String getCode()
ObjectTypegetCode in interface ObjectTypepublic Set<ObjectType> getSubtypes()
ObjectTypegetSubtypes in interface ObjectTypepublic void setSubtypes(Set<? extends ObjectType> types)
protected void addToSupertypesInternal(ObjectType type)
protected void addToSubtypesInternal(ObjectType type)
protected void removeFromSubtypesInternal(ObjectType type)
public Set<ObjectType> getSupertypes()
ObjectTypegetSupertypes in interface ObjectTypepublic void setSupertypes(Set<? extends ObjectType> types)
protected void removeFromSupertypesInternal(ObjectType type)
public Set<PropertyDescriptor> getPropertyDescriptors()
ObjectTypegetPropertyDescriptors in interface ObjectTypepublic void setDeclaredPropertyDescriptors(Set<PropertyDescriptor> propertyDescriptors)
public Set<PropertyDescriptor> getDeclaredPropertyDescriptors()
ObjectTypegetDeclaredPropertyDescriptors in interface ObjectTypepublic void setRedeclaredPropertyDescriptors(Set<PropertyDescriptor> propertyDescriptors)
public Set<PropertyDescriptor> getRedeclaredPropertyDescriptors()
RedeclarableObjectTypegetRedeclaredPropertyDescriptors in interface RedeclarableObjectTypepublic boolean isAssignableFrom(ObjectType type)
isAssignableFrom in interface ObjectTypeCopyright © 2017 SAP SE. All Rights Reserved.