public interface MMetamodelFragment
The runtime metamodel of Modelio is composed of several fragments:
Metamodel fragments are often a port from a tool to Modelio and this porting may be made in several steps.
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Two metamodel fragments are equal if their name and version are equal
|
MExpert |
getMExpert() |
String |
getName()
The mandatory name of this metamodel fragment.
|
String |
getProvider()
The optional name of the provider of this metamodel fragment, typically the vendor.
|
String |
getProviderVersion()
The metamodel version for/from the provider tool.
|
Version |
getVersion()
The version of the metamodel fragment for Modelio.
|
int |
hashCode()
Two metamodel fragments are equal if their name and version are equal.
|
boolean |
isExtension()
Tells whether this metamodel fragment is an extension
or a standard Modelio metamodel fragment.
|
String getName()
MExpert getMExpert()
Version getVersion()
Compatibility checking must be done as following:
String getProvider()
String getProviderVersion()
This provider metamodel version is purely informative and should reflect the metamodel version from the source tool.
Metamodel fragments are often a port from a tool to Modelio. This porting may be made in several steps. Each porting should result in an increase of the Modelio version. When the source tool metamodel changes, the Modelio version should be modified and the provider version should reflect the new metamodel version from the provider tool.
boolean equals(Object obj)
int hashCode()
Only these 2 fields can be used to compute the hash.
boolean isExtension()
By default all metamodel fragments are extension fragments.
Standard Modelio metamodel fragments are guaranteed to have no metaclass name collisions.