List of all members.
Public Member Functions |
ConcreteDef | addInDefinition (ConcreteObject object) throws BadPreCondition |
boolean | removeFromDefinition (ConcreteObject object) throws BadPreCondition |
Set< ConcreteObject > | getDefinition () throws BadPreCondition |
Set< ConcreteObject > | getDefinition (MetaModel metamodel) throws BadPreCondition |
Set< ConcreteObject > | getDefinitionRestricted (MetaObject restriction) throws BadPreCondition |
Set< ConcreteDef > | getMemberships (MetaModel metamodel) throws BadPreCondition |
ConcreteDef | getMembership (ConcreteObject object) throws BadPreCondition |
ConcreteDef | getMembership (MetaModel metamodel, ConcreteObject object) throws BadPreCondition |
boolean | isInDefinition (ConcreteObject object) throws BadPreCondition |
boolean | isInDefinition (MetaModel metamodel, ConcreteObject object) throws BadPreCondition |
ConcreteObject | createObject (MetaObject metaobject) throws BadPreCondition |
ConcreteRole | createRole (MetaRole mr, ConcreteObject domain, ConcreteObject range) throws BadPreCondition |
ConcreteRole | createRole (MetaRole mr, ConcreteObject domain, ConcreteObject range, FirstLastMode wheredomain, ConcreteRole previousd, FirstLastMode whererange, ConcreteRole previousr) throws BadPreCondition |
ConcreteModel | createModel (MetaModel metamodel) throws BadPreCondition |
Detailed Description
The concrete model.
- Author:
- ven
-
kma
- See also:
- MetaModel
Member Function Documentation
Creates a new ConcreteModel.
- Parameters:
-
metamodel | The metamodel to instantiate |
- Returns:
- A new concrete model
- Exceptions:
-
Implemented in metadone.metabusiness.impl.ConcreteModel_impl.
Referenced by metadone.client.actions.TestDialogConcrete.actionPerformed(), metadone.client.actions.Test2Action.actionPerformed(), metadone.client.actions.ConcreteObjectCreateAction.actionPerformed(), metadone.client.actions.ConcreteModelCreateAction.actionPerformed(), metadone.metabusiness.annex.BootstrapAnnex.bootstrap_annex(), metadone.client.grasyla2.ref.ActionCreateEngine.create(), metadone.client.functions.importer.owl.OWLImporter.createConcreteModel(), metadone.metabusiness.syntax.grasyla.BootstrapGrasyla.createScript(), metadone.metabusiness.syntax.grasyla.BootstrapGrasyla.createView(), metadone.metabusiness.syntax.grasyla.AbstractGrasylaView.createViewElement(), metadone.client.actions.Test_ECORE_Action.importMetaModel(), metadone.client.actions.Test3Action.initConcreteModel(), metadone.client.actions.RetroDocAction.initConcreteModel(), metadone.client.actions.Test6Action.initModels(), metadone.client.dialog.swing.visualizeModel.MyVisualizeModel.MyVisualizeModel(), and metadone.client.functions.importer.km3.KM3Importer.Translator.translateModel().
Creates a new ConcreteObject instance of type metaobject.
- Parameters:
-
- Returns:
- The newly created ConcreteObject instance
- Exceptions:
-
Implemented in metadone.metabusiness.impl.ConcreteModel_impl.
Referenced by metadone.client.actions.TestDialogConcrete.actionPerformed(), metadone.client.actions.Test2Action.actionPerformed(), metadone.client.actions.ConcreteObjectCreateAction.actionPerformed(), metadone.client.functions.retrodoc.Analyzer.analyze(), metadone.client.actions.Ecore2MetalRelationships.caseEAnnotation(), metadone.client.actions.Ecore2MetalAttributes.caseEAnnotation(), metadone.client.actions.Ecore2MetalAttributes.caseEAttribute(), metadone.client.actions.Ecore2MetalAttributes.caseEClass(), metadone.client.actions.Ecore2MetalAttributes.caseEClassifier(), metadone.client.actions.Ecore2MetalAttributes.caseEDataType(), metadone.client.actions.Ecore2MetalAttributes.caseEEnum(), metadone.client.actions.Ecore2MetalAttributes.caseEEnumLiteral(), metadone.client.actions.Ecore2MetalAttributes.caseEGenericType(), metadone.client.actions.Ecore2MetalAttributes.caseEModelElement(), metadone.client.actions.Ecore2MetalAttributes.caseENamedElement(), metadone.client.actions.Ecore2MetalAttributes.caseEOperation(), metadone.client.actions.Ecore2MetalAttributes.caseEPackage(), metadone.client.actions.Ecore2MetalAttributes.caseEParameter(), metadone.client.actions.Ecore2MetalAttributes.caseEReference(), metadone.client.actions.Ecore2MetalAttributes.caseEStringToStringMapEntry(), metadone.client.actions.Ecore2MetalAttributes.caseEStructuralFeature(), metadone.client.actions.Ecore2MetalAttributes.caseETypedElement(), metadone.client.actions.Ecore2MetalAttributes.caseETypeParameter(), metadone.client.dialog.swing.genConcreteObject.DialogConcreteRoles.configure(), metadone.client.grasyla2.ref.ActionCreateRoleEngine.create(), metadone.client.grasyla2.ref.ActionCreateEngine.create(), metadone.metabusiness.annex.BootstrapAnnex.createUserIfNeeded(), metadone.metabusiness.syntax.grasyla.AbstractGrasylaView.createViewElement(), metadone.client.parsers.grasyla.AST_script.generate_update(), metadone.client.actions.Test3Action.initConcreteModel(), metadone.client.actions.Test6Action.initModels(), metadone.client.functions.retrodoc.Analyzer.managePackage(), metadone.client.functions.importer.owl.OWLImporter.readOntology(), and metadone.client.functions.importer.owl.OWLImporter.readOntologyObject().
Creates a ConcreteRole between two concrete objects.
If the metarole is sorted, it is added as the last element.
- Parameters:
-
- Returns:
- The ConcreteRole instance created between the objects
- Exceptions:
-
BadPreCondition | If the domain or the range is null. If the domain or the range have incompatible types with the domain and the range of the MetaRole. If the cardinality is not verified. |
- See also:
- createRole(MetaRole, ConcreteObject, ConcreteObject, FirstLastMode, ConcreteRole, FirstLastMode, ConcreteRole)
Implemented in metadone.metabusiness.impl.ConcreteModel_impl.
Referenced by metadone.metabusiness.impl.MetaObject_impl._shareMetaProperty(), metadone.client.dialog.swing.genConcreteObject.Panel_one_range.SelectActionListener.actionPerformed(), metadone.client.dialog.swing.genConcreteObject.Panel_one_domain.SelectActionListener.actionPerformed(), metadone.client.actions.TestDialogConcrete.actionPerformed(), metadone.client.actions.Test2Action.actionPerformed(), metadone.client.dialog.swing.concreteobjecteditor.SingleRoleEditor.RoleListModel.add(), metadone.client.functions.retrodoc.Analyzer.analyze(), metadone.client.actions.Ecore2MetalRelationships.caseEAnnotation(), metadone.client.actions.Ecore2MetalRelationships.caseEAttribute(), metadone.client.actions.Ecore2MetalRelationships.caseEClass(), metadone.client.actions.Ecore2MetalRelationships.caseEClassifier(), metadone.client.actions.Ecore2MetalRelationships.caseEEnum(), metadone.client.actions.Ecore2MetalRelationships.caseEGenericType(), metadone.client.actions.Ecore2MetalRelationships.caseEModelElement(), metadone.client.actions.Ecore2MetalRelationships.caseEOperation(), metadone.client.actions.Ecore2MetalRelationships.caseEPackage(), metadone.client.actions.Ecore2MetalRelationships.caseEReference(), metadone.client.actions.Ecore2MetalRelationships.caseETypedElement(), metadone.client.actions.Ecore2MetalRelationships.caseETypeParameter(), metadone.client.dialog.swing.genConcreteObject.DialogConcreteRoles.configure(), metadone.client.grasyla2.ref.ActionCreateRoleEngine.create(), metadone.client.grasyla2.visuallibrary.GrasylaScene.MyConnectProvider.createConnection(), metadone.metabusiness.syntax.grasyla.BootstrapGrasyla.createView(), metadone.metabusiness.syntax.grasyla.AbstractGrasylaView.createViewElement(), metadone.client.parsers.grasyla.AST_script.generate_update(), metadone.client.actions.Test3Action.initConcreteModel(), metadone.client.actions.Test6Action.initModels(), metadone.client.functions.retrodoc.Analyzer.managePackage(), metadone.client.functions.importer.owl.OWLImporter.readGenericAssociation(), and metadone.metabusiness.syntax.grasyla.GrasylaPhenomenon.setAttributeObjects().
Gets the definition of a concreteobject in this concretemodel.
- Parameters:
-
metamodel | The metamodel. Since a concretemodel could have several metamodel types, it is necessary to precise the pertinent type. |
object | The object |
- Returns:
- The concretedef object between
object
and this
in the given metamodel; null
if mo
does not belong to the definition of concretemodel
- Exceptions:
-
Implemented in metadone.metabusiness.impl.ConcreteModel_impl.
Gets the definition of a concreteobject in this concretemodel.
- Parameters:
-
- Returns:
- The concretedef object between
object
and this
in the given metamodel; null
if mo
does not belong to the definition of concretemodel
- Exceptions:
-
Implemented in metadone.metabusiness.impl.ConcreteModel_impl.
Gets the set of the memberships of this concretemodel
- Parameters:
-
metamodel | The metamodel. Since a concretemodel could have several metamodel types, it is necessary to precise the pertinent type. |
- Returns:
- The set of all the ConcreteDef objects attached to the concretemodel.
- Exceptions:
-
Implemented in metadone.metabusiness.impl.ConcreteModel_impl.
The documentation for this interface was generated from the following file: