public abstract class InnerModelObject extends ModelObject
ModelObject.ModelObjectType| Modifier | Constructor and Description |
|---|---|
protected |
InnerModelObject()
Creates an instance of Inner model object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAugmentation(InnerModelObject obj)
Adds the specified augmentation to this model object.
|
<T extends InnerModelObject> |
augmentation(Class<T> c)
Returns the augmentation for to a given augmentation class.
|
Map<Class<? extends InnerModelObject>,InnerModelObject> |
augmentations()
Returns the map of augmentations available to this model object.
|
void |
removeAugmentation(InnerModelObject obj)
Removes the specified augmentation to this model object.
|
protected InnerModelObject()
public void addAugmentation(InnerModelObject obj)
obj - model object of augmentationpublic void removeAugmentation(InnerModelObject obj)
obj - model object of augmentationpublic Map<Class<? extends InnerModelObject>,InnerModelObject> augmentations()
public <T extends InnerModelObject> T augmentation(Class<T> c)
T - augmentation class typec - augmentation classCopyright © 2017. All rights reserved.