Class MetaModel
java.lang.Object
de.mid.innovator.m2msdk.model.transformation.MetaModel
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
MetaModelInnovator,MetaModelJavaBeans,MetaModelText,MetaModelUndefined
Bas class for meta models. A meta model describes a model. The class of the
concrete meta model has to be in the package de.mid.innovator.m2msdk.model
name and with the class name "MetaModel".
- Version:
- 10.1.1
- Author:
- jmback
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddModel(MappingModel model) getElement(URI uri) Get mapping element by URI from meta modelgetModel(MappingElementIF element) Get the mapping model for a mapping element.Get property loader for this meta model.getPropertyType(String iValue) Get the property type for a given property type name.voidsetSession(SessionInterface iSession) toString()
-
Constructor Details
-
MetaModel
public MetaModel()
-
-
Method Details
-
setSession
- Throws:
M2MExceptionRemoteException
-
getElement
Get mapping element by URI from meta model- Parameters:
uri- URI describing the mapping model and the mapping element- Returns:
- mapping element if existing, null if not existing or URI invalid
- Throws:
M2MExceptionRemoteExceptionAbortException- critical error, e.g. because model cannot be connectedRemoteException
-
getPropertyDescriptorLoader
Get property loader for this meta model.- Returns:
- property loader
-
getPropertyType
Get the property type for a given property type name.- Parameters:
iValue- property type name- Returns:
- property type
-
getModel
Get the mapping model for a mapping element.- Parameters:
element- mapping element- Returns:
- mapping model containing the mapping element
- Throws:
M2MExceptionRemoteException
-
addModel
-
toString
-