|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Model
A model contains all defined types and the relationship between them.
See ModelBuilder.createInstance(java.lang.String) to create a new model.
| Method Summary | |
|---|---|
String |
getModelName()
Returns the model name, which is the identifier of this model. |
ModelElementType |
getType(Class<? extends ModelElementInstance> instanceClass)
Gets the defined ModelElementType of a ModelElementInstance. |
ModelElementType |
getTypeForName(String typeName)
Gets the defined ModelElementType for a type by its name. |
ModelElementType |
getTypeForName(String namespaceUri,
String typeName)
Gets the defined ModelElementType for a type by its name and namespace URI. |
Collection<ModelElementType> |
getTypes()
Gets the collection of all ModelElementType defined in the model. |
| Method Detail |
|---|
Collection<ModelElementType> getTypes()
ModelElementType defined in the model.
ModelElementType getType(Class<? extends ModelElementInstance> instanceClass)
ModelElementType of a ModelElementInstance.
instanceClass - the instance class to find the type for
ModelElementType getTypeForName(String typeName)
ModelElementType for a type by its name.
typeName - the name of the type
ModelElementType getTypeForName(String namespaceUri,
String typeName)
ModelElementType for a type by its name and namespace URI.
namespaceUri - the namespace URI for the typetypeName - the name of the type
String getModelName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||