|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IAdaptableModel
Interface for models which can be adapted to a different model type, if required. Mostly useful for adapting model types which do not implement comparison to those who do.
Method Summary | ||
---|---|---|
|
adaptTo(java.lang.Class<T> modelType)
Tries to adapt the model to a different type. |
Methods inherited from interface org.eclipse.epsilon.eol.models.IModel |
---|
allContents, createInstance, createInstance, deleteElement, dispose, getAliases, getAllOfKind, getAllOfType, getElementById, getElementId, getEnumerationValue, getFullyQualifiedTypeNameOf, getName, getPropertyGetter, getPropertySetter, getTransactionSupport, getTypeNameOf, getTypeOf, hasType, isInstantiable, isModelElement, isOfKind, isOfType, isReadOnLoad, isStoredOnDisposal, knowsAboutProperty, load, load, owns, setElementId, setName, setReadOnLoad, setStoredOnDisposal, store, store |
Method Detail |
---|
<T> T adaptTo(java.lang.Class<T> modelType)
null
.
modelType
- Type to which this model should be adapted.
null
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |