public abstract class InnerModelObject extends ModelObject implements Augmentable
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)
AugmentableaddAugmentation in interface Augmentableobj - model object of augmentationpublic void removeAugmentation(InnerModelObject obj)
AugmentableremoveAugmentation in interface Augmentableobj - model object of augmentationpublic Map<Class<? extends InnerModelObject>,InnerModelObject> augmentations()
Augmentableaugmentations in interface Augmentablepublic <T extends InnerModelObject> T augmentation(Class<T> c)
Augmentableaugmentation in interface AugmentableT - augmentation class typec - augmentation classCopyright © 2018. All rights reserved.