*
- * @see io.opencaesar.oml.OmlPackage#getClassifierEquivalenceAxiom()
+ * @see io.opencaesar.oml.OmlPackage#getEntityEquivalenceAxiom()
* @model annotation="https://tabatkins.github.io/bikeshed heading='Axioms'"
* @generated
*/
-public interface ClassifierEquivalenceAxiom extends Axiom {
+public interface EntityEquivalenceAxiom extends Axiom {
/**
- * Returns the value of the 'Super Classifiers' reference list.
- * The list contents are of type {@link io.opencaesar.oml.Classifier}.
+ * Returns the value of the 'Super Entities' reference list.
+ * The list contents are of type {@link io.opencaesar.oml.Entity}.
*
*
*
- * The super classifiers specified by this axiom
+ * The super entity specified by this axiom
*
- * @return the value of the 'Super Classifiers' reference list.
- * @see io.opencaesar.oml.OmlPackage#getClassifierEquivalenceAxiom_SuperClassifiers()
+ * @return the value of the 'Super Entities' reference list.
+ * @see io.opencaesar.oml.OmlPackage#getEntityEquivalenceAxiom_SuperEntities()
* @model
* @generated
*/
- EList getSuperClassifiers();
+ EList getSuperEntities();
/**
* Returns the value of the 'Owned Property Restrictions' containment reference list.
@@ -72,7 +72,7 @@ public interface ClassifierEquivalenceAxiom extends Axiom {
* The property restrictions specified by this axiom
*
* @return the value of the 'Owned Property Restrictions' containment reference list.
- * @see io.opencaesar.oml.OmlPackage#getClassifierEquivalenceAxiom_OwnedPropertyRestrictions()
+ * @see io.opencaesar.oml.OmlPackage#getEntityEquivalenceAxiom_OwnedPropertyRestrictions()
* @see io.opencaesar.oml.PropertyRestrictionAxiom#getOwningAxiom
* @model opposite="owningAxiom" containment="true"
* @generated
@@ -80,42 +80,42 @@ public interface ClassifierEquivalenceAxiom extends Axiom {
EList getOwnedPropertyRestrictions();
/**
- * Returns the value of the 'Owning Classifier' container reference.
- * It is bidirectional and its opposite is '{@link io.opencaesar.oml.Classifier#getOwnedEquivalences Owned Equivalences}'.
+ * Returns the value of the 'Owning Entity' container reference.
+ * It is bidirectional and its opposite is '{@link io.opencaesar.oml.Entity#getOwnedEquivalences Owned Equivalences}'.
*
*
*
- * The owning classifier specified by this axiom
+ * The owning entity specified by this axiom
*
- * @return the value of the 'Owning Classifier' container reference.
- * @see #setOwningClassifier(Classifier)
- * @see io.opencaesar.oml.OmlPackage#getClassifierEquivalenceAxiom_OwningClassifier()
- * @see io.opencaesar.oml.Classifier#getOwnedEquivalences
+ * @return the value of the 'Owning Entity' container reference.
+ * @see #setOwningEntity(Entity)
+ * @see io.opencaesar.oml.OmlPackage#getEntityEquivalenceAxiom_OwningEntity()
+ * @see io.opencaesar.oml.Entity#getOwnedEquivalences
* @model opposite="ownedEquivalences" transient="false"
* @generated
*/
- Classifier getOwningClassifier();
+ Entity getOwningEntity();
/**
- * Sets the value of the '{@link io.opencaesar.oml.ClassifierEquivalenceAxiom#getOwningClassifier Owning Classifier}' container reference.
+ * Sets the value of the '{@link io.opencaesar.oml.EntityEquivalenceAxiom#getOwningEntity Owning Entity}' container reference.
*
*
- * @param value the new value of the 'Owning Classifier' container reference.
- * @see #getOwningClassifier()
+ * @param value the new value of the 'Owning Entity' container reference.
+ * @see #getOwningEntity()
* @generated
*/
- void setOwningClassifier(Classifier value);
+ void setOwningEntity(Entity value);
/**
*
*
*
- * Gets the sub classifier of this axiom
+ * Gets the sub entity of this axiom
*
* @model kind="operation" unique="false"
* @generated
*/
- Classifier getSubClassifier();
+ Entity getSubEntity();
/**
*
@@ -123,6 +123,6 @@ public interface ClassifierEquivalenceAxiom extends Axiom {
* @model kind="operation" unique="false"
* @generated
*/
- Classifier getCharacterizedTerm();
+ Entity getCharacterizedTerm();
-} // ClassifierEquivalenceAxiom
+} // EntityEquivalenceAxiom
diff --git a/io.opencaesar.oml/src-gen/io/opencaesar/oml/Instance.java b/io.opencaesar.oml/src-gen/io/opencaesar/oml/Instance.java
index 70b5b5e4..0d9789f2 100644
--- a/io.opencaesar.oml/src-gen/io/opencaesar/oml/Instance.java
+++ b/io.opencaesar.oml/src-gen/io/opencaesar/oml/Instance.java
@@ -26,8 +26,8 @@
*
*
*
- * Instance is an element that represents a instance of one or more [=classifiers=].
- * It can assert a set of values for those classifiers' [=properties=].
+ * Instance is an element that represents a instance of one or more [=Entities=].
+ * It can assert a set of values for those entities' [=properties=].
*
*
*
@@ -69,6 +69,6 @@ public interface Instance extends Element {
* @model kind="operation" unique="false"
* @generated
*/
- EList getTypes();
+ EList getTypes();
} // Instance
diff --git a/io.opencaesar.oml/src-gen/io/opencaesar/oml/NamedInstance.java b/io.opencaesar.oml/src-gen/io/opencaesar/oml/NamedInstance.java
index 8768a0c2..65766d85 100644
--- a/io.opencaesar.oml/src-gen/io/opencaesar/oml/NamedInstance.java
+++ b/io.opencaesar.oml/src-gen/io/opencaesar/oml/NamedInstance.java
@@ -76,6 +76,6 @@ public interface NamedInstance extends DescriptionStatement, Instance {
* @model kind="operation" unique="false"
* @generated
*/
- EList getTypes();
+ EList getTypes();
} // NamedInstance
diff --git a/io.opencaesar.oml/src-gen/io/opencaesar/oml/OmlFactory.java b/io.opencaesar.oml/src-gen/io/opencaesar/oml/OmlFactory.java
index 0aa100bd..6e26f28f 100644
--- a/io.opencaesar.oml/src-gen/io/opencaesar/oml/OmlFactory.java
+++ b/io.opencaesar.oml/src-gen/io/opencaesar/oml/OmlFactory.java
@@ -127,15 +127,6 @@ public interface OmlFactory extends EFactory {
*/
Scalar createScalar();
- /**
- * Returns a new object of class 'Structure'.
- *
- *
- * @return a new object of class 'Structure'.
- * @generated
- */
- Structure createStructure();
-
/**
* Returns a new object of class 'Aspect'.
*
@@ -181,15 +172,6 @@ public interface OmlFactory extends EFactory {
*/
ScalarProperty createScalarProperty();
- /**
- * Returns a new object of class 'Structured Property'.
- *
- *
- * @return a new object of class 'Structured Property'.
- * @generated
- */
- StructuredProperty createStructuredProperty();
-
/**
* Returns a new object of class 'Forward Relation'.
*
@@ -236,13 +218,13 @@ public interface OmlFactory extends EFactory {
RelationInstance createRelationInstance();
/**
- * Returns a new object of class 'Structure Instance'.
+ * Returns a new object of class 'Anonymous Concept Instance'.
*
*
- * @return a new object of class 'Structure Instance'.
+ * @return a new object of class 'Anonymous Concept Instance'.
* @generated
*/
- StructureInstance createStructureInstance();
+ AnonymousConceptInstance createAnonymousConceptInstance();
/**
* Returns a new object of class 'Anonymous Relation Instance'.
@@ -290,13 +272,13 @@ public interface OmlFactory extends EFactory {
LiteralEnumerationAxiom createLiteralEnumerationAxiom();
/**
- * Returns a new object of class 'Classifier Equivalence Axiom'.
+ * Returns a new object of class 'Entity Equivalence Axiom'.
*
*
- * @return a new object of class 'Classifier Equivalence Axiom'.
+ * @return a new object of class 'Entity Equivalence Axiom'.
* @generated
*/
- ClassifierEquivalenceAxiom createClassifierEquivalenceAxiom();
+ EntityEquivalenceAxiom createEntityEquivalenceAxiom();
/**
* Returns a new object of class 'Scalar Equivalence Axiom'.
diff --git a/io.opencaesar.oml/src-gen/io/opencaesar/oml/OmlPackage.java b/io.opencaesar.oml/src-gen/io/opencaesar/oml/OmlPackage.java
index d50f599d..c4d1c8bb 100644
--- a/io.opencaesar.oml/src-gen/io/opencaesar/oml/OmlPackage.java
+++ b/io.opencaesar.oml/src-gen/io/opencaesar/oml/OmlPackage.java
@@ -3290,151 +3290,6 @@ public interface OmlPackage extends EPackage {
*/
int SPECIALIZABLE_PROPERTY_OPERATION_COUNT = SPECIALIZABLE_TERM_OPERATION_COUNT + 0;
- /**
- * The meta object id for the '{@link io.opencaesar.oml.impl.ClassifierImpl Classifier}' class.
- *
- *
- * @see io.opencaesar.oml.impl.ClassifierImpl
- * @see io.opencaesar.oml.impl.OmlPackageImpl#getClassifier()
- * @generated
- */
- int CLASSIFIER = 31;
-
- /**
- * The feature id for the 'Owned Annotations' containment reference list.
- *
- *
- * @generated
- * @ordered
- */
- int CLASSIFIER__OWNED_ANNOTATIONS = TYPE__OWNED_ANNOTATIONS;
-
- /**
- * The feature id for the 'Name' attribute.
- *
- *
- * @generated
- * @ordered
- */
- int CLASSIFIER__NAME = TYPE__NAME;
-
- /**
- * The feature id for the 'Owning Vocabulary' container reference.
- *
- *
- * @generated
- * @ordered
- */
- int CLASSIFIER__OWNING_VOCABULARY = TYPE__OWNING_VOCABULARY;
-
- /**
- * The feature id for the 'Owned Specializations' containment reference list.
- *
- *
- * @generated
- * @ordered
- */
- int CLASSIFIER__OWNED_SPECIALIZATIONS = TYPE__OWNED_SPECIALIZATIONS;
-
- /**
- * The feature id for the 'Owned Equivalences' containment reference list.
- *
- *
- * @generated
- * @ordered
- */
- int CLASSIFIER__OWNED_EQUIVALENCES = TYPE_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the 'Owned Property Restrictions' containment reference list.
- *
- *
- * @generated
- * @ordered
- */
- int CLASSIFIER__OWNED_PROPERTY_RESTRICTIONS = TYPE_FEATURE_COUNT + 1;
-
- /**
- * The number of structural features of the 'Classifier' class.
- *
- *
- * @generated
- * @ordered
- */
- int CLASSIFIER_FEATURE_COUNT = TYPE_FEATURE_COUNT + 2;
-
- /**
- * The operation id for the 'Get Ontology' operation.
- *
- *
- * @generated
- * @ordered
- */
- int CLASSIFIER___GET_ONTOLOGY = TYPE___GET_ONTOLOGY;
-
- /**
- * The operation id for the 'Extra Validate' operation.
- *
- *
- * @generated
- * @ordered
- */
- int CLASSIFIER___EXTRA_VALIDATE__DIAGNOSTICCHAIN_MAP = TYPE___EXTRA_VALIDATE__DIAGNOSTICCHAIN_MAP;
-
- /**
- * The operation id for the 'Get Ref' operation.
- *
- *
- * @generated
- * @ordered
- */
- int CLASSIFIER___GET_REF = TYPE___GET_REF;
-
- /**
- * The operation id for the 'Is Ref' operation.
- *
- *
- * @generated
- * @ordered
- */
- int CLASSIFIER___IS_REF = TYPE___IS_REF;
-
- /**
- * The operation id for the 'Resolve' operation.
- *
- *
- * @generated
- * @ordered
- */
- int CLASSIFIER___RESOLVE = TYPE___RESOLVE;
-
- /**
- * The operation id for the 'Get Iri' operation.
- *
- *
- * @generated
- * @ordered
- */
- int CLASSIFIER___GET_IRI = TYPE___GET_IRI;
-
- /**
- * The operation id for the 'Get Abbreviated Iri' operation.
- *
- *
- * @generated
- * @ordered
- */
- int CLASSIFIER___GET_ABBREVIATED_IRI = TYPE___GET_ABBREVIATED_IRI;
-
- /**
- * The number of operations of the 'Classifier' class.
- *
- *
- * @generated
- * @ordered
- */
- int CLASSIFIER_OPERATION_COUNT = TYPE_OPERATION_COUNT + 0;
-
/**
* The meta object id for the '{@link io.opencaesar.oml.impl.ScalarImpl Scalar}' class.
*
@@ -3443,7 +3298,7 @@ public interface OmlPackage extends EPackage {
* @see io.opencaesar.oml.impl.OmlPackageImpl#getScalar()
* @generated
*/
- int SCALAR = 32;
+ int SCALAR = 31;
/**
* The feature id for the 'Owned Annotations' containment reference list.
@@ -3597,7 +3452,7 @@ public interface OmlPackage extends EPackage {
* @see io.opencaesar.oml.impl.OmlPackageImpl#getEntity()
* @generated
*/
- int ENTITY = 33;
+ int ENTITY = 32;
/**
* The feature id for the 'Owned Annotations' containment reference list.
@@ -3606,7 +3461,7 @@ public interface OmlPackage extends EPackage {
* @generated
* @ordered
*/
- int ENTITY__OWNED_ANNOTATIONS = CLASSIFIER__OWNED_ANNOTATIONS;
+ int ENTITY__OWNED_ANNOTATIONS = TYPE__OWNED_ANNOTATIONS;
/**
* The feature id for the 'Name' attribute.
@@ -3615,7 +3470,7 @@ public interface OmlPackage extends EPackage {
* @generated
* @ordered
*/
- int ENTITY__NAME = CLASSIFIER__NAME;
+ int ENTITY__NAME = TYPE__NAME;
/**
* The feature id for the 'Owning Vocabulary' container reference.
@@ -3624,7 +3479,7 @@ public interface OmlPackage extends EPackage {
* @generated
* @ordered
*/
- int ENTITY__OWNING_VOCABULARY = CLASSIFIER__OWNING_VOCABULARY;
+ int ENTITY__OWNING_VOCABULARY = TYPE__OWNING_VOCABULARY;
/**
* The feature id for the 'Owned Specializations' containment reference list.
@@ -3633,7 +3488,7 @@ public interface OmlPackage extends EPackage {
* @generated
* @ordered
*/
- int ENTITY__OWNED_SPECIALIZATIONS = CLASSIFIER__OWNED_SPECIALIZATIONS;
+ int ENTITY__OWNED_SPECIALIZATIONS = TYPE__OWNED_SPECIALIZATIONS;
/**
* The feature id for the 'Owned Equivalences' containment reference list.
@@ -3642,7 +3497,7 @@ public interface OmlPackage extends EPackage {
* @generated
* @ordered
*/
- int ENTITY__OWNED_EQUIVALENCES = CLASSIFIER__OWNED_EQUIVALENCES;
+ int ENTITY__OWNED_EQUIVALENCES = TYPE_FEATURE_COUNT + 0;
/**
* The feature id for the 'Owned Property Restrictions' containment reference list.
@@ -3651,7 +3506,7 @@ public interface OmlPackage extends EPackage {
* @generated
* @ordered
*/
- int ENTITY__OWNED_PROPERTY_RESTRICTIONS = CLASSIFIER__OWNED_PROPERTY_RESTRICTIONS;
+ int ENTITY__OWNED_PROPERTY_RESTRICTIONS = TYPE_FEATURE_COUNT + 1;
/**
* The feature id for the 'Owned Keys' containment reference list.
@@ -3660,7 +3515,7 @@ public interface OmlPackage extends EPackage {
* @generated
* @ordered
*/
- int ENTITY__OWNED_KEYS = CLASSIFIER_FEATURE_COUNT + 0;
+ int ENTITY__OWNED_KEYS = TYPE_FEATURE_COUNT + 2;
/**
* The number of structural features of the 'Entity' class.
@@ -3669,7 +3524,7 @@ public interface OmlPackage extends EPackage {
* @generated
* @ordered
*/
- int ENTITY_FEATURE_COUNT = CLASSIFIER_FEATURE_COUNT + 1;
+ int ENTITY_FEATURE_COUNT = TYPE_FEATURE_COUNT + 3;
/**
* The operation id for the 'Get Ontology' operation.
@@ -3678,7 +3533,7 @@ public interface OmlPackage extends EPackage {
* @generated
* @ordered
*/
- int ENTITY___GET_ONTOLOGY = CLASSIFIER___GET_ONTOLOGY;
+ int ENTITY___GET_ONTOLOGY = TYPE___GET_ONTOLOGY;
/**
* The operation id for the 'Extra Validate' operation.
@@ -3687,7 +3542,7 @@ public interface OmlPackage extends EPackage {
* @generated
* @ordered
*/
- int ENTITY___EXTRA_VALIDATE__DIAGNOSTICCHAIN_MAP = CLASSIFIER___EXTRA_VALIDATE__DIAGNOSTICCHAIN_MAP;
+ int ENTITY___EXTRA_VALIDATE__DIAGNOSTICCHAIN_MAP = TYPE___EXTRA_VALIDATE__DIAGNOSTICCHAIN_MAP;
/**
* The operation id for the 'Get Ref' operation.
@@ -3696,7 +3551,7 @@ public interface OmlPackage extends EPackage {
* @generated
* @ordered
*/
- int ENTITY___GET_REF = CLASSIFIER___GET_REF;
+ int ENTITY___GET_REF = TYPE___GET_REF;
/**
* The operation id for the 'Is Ref' operation.
@@ -3705,7 +3560,7 @@ public interface OmlPackage extends EPackage {
* @generated
* @ordered
*/
- int ENTITY___IS_REF = CLASSIFIER___IS_REF;
+ int ENTITY___IS_REF = TYPE___IS_REF;
/**
* The operation id for the 'Resolve' operation.
@@ -3714,7 +3569,7 @@ public interface OmlPackage extends EPackage {
* @generated
* @ordered
*/
- int ENTITY___RESOLVE = CLASSIFIER___RESOLVE;
+ int ENTITY___RESOLVE = TYPE___RESOLVE;
/**
* The operation id for the 'Get Iri' operation.
@@ -3723,7 +3578,7 @@ public interface OmlPackage extends EPackage {
* @generated
* @ordered
*/
- int ENTITY___GET_IRI = CLASSIFIER___GET_IRI;
+ int ENTITY___GET_IRI = TYPE___GET_IRI;
/**
* The operation id for the 'Get Abbreviated Iri' operation.
@@ -3732,7 +3587,7 @@ public interface OmlPackage extends EPackage {
* @generated
* @ordered
*/
- int ENTITY___GET_ABBREVIATED_IRI = CLASSIFIER___GET_ABBREVIATED_IRI;
+ int ENTITY___GET_ABBREVIATED_IRI = TYPE___GET_ABBREVIATED_IRI;
/**
* The number of operations of the 'Entity' class.
@@ -3741,161 +3596,7 @@ public interface OmlPackage extends EPackage {
* @generated
* @ordered
*/
- int ENTITY_OPERATION_COUNT = CLASSIFIER_OPERATION_COUNT + 0;
-
- /**
- * The meta object id for the '{@link io.opencaesar.oml.impl.StructureImpl Structure}' class.
- *
- *
- * @see io.opencaesar.oml.impl.StructureImpl
- * @see io.opencaesar.oml.impl.OmlPackageImpl#getStructure()
- * @generated
- */
- int STRUCTURE = 34;
-
- /**
- * The feature id for the 'Owned Annotations' containment reference list.
- *
- *
- * @generated
- * @ordered
- */
- int STRUCTURE__OWNED_ANNOTATIONS = CLASSIFIER__OWNED_ANNOTATIONS;
-
- /**
- * The feature id for the 'Name' attribute.
- *
- *
- * @generated
- * @ordered
- */
- int STRUCTURE__NAME = CLASSIFIER__NAME;
-
- /**
- * The feature id for the 'Owning Vocabulary' container reference.
- *
- *
- * @generated
- * @ordered
- */
- int STRUCTURE__OWNING_VOCABULARY = CLASSIFIER__OWNING_VOCABULARY;
-
- /**
- * The feature id for the 'Owned Specializations' containment reference list.
- *
- *
- * @generated
- * @ordered
- */
- int STRUCTURE__OWNED_SPECIALIZATIONS = CLASSIFIER__OWNED_SPECIALIZATIONS;
-
- /**
- * The feature id for the 'Owned Equivalences' containment reference list.
- *
- *
- * @generated
- * @ordered
- */
- int STRUCTURE__OWNED_EQUIVALENCES = CLASSIFIER__OWNED_EQUIVALENCES;
-
- /**
- * The feature id for the 'Owned Property Restrictions' containment reference list.
- *
- *
- * @generated
- * @ordered
- */
- int STRUCTURE__OWNED_PROPERTY_RESTRICTIONS = CLASSIFIER__OWNED_PROPERTY_RESTRICTIONS;
-
- /**
- * The feature id for the 'Ref' reference.
- *
- *
- * @generated
- * @ordered
- */
- int STRUCTURE__REF = CLASSIFIER_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the 'Structure' class.
- *
- *
- * @generated
- * @ordered
- */
- int STRUCTURE_FEATURE_COUNT = CLASSIFIER_FEATURE_COUNT + 1;
-
- /**
- * The operation id for the 'Get Ontology' operation.
- *
- *
- * @generated
- * @ordered
- */
- int STRUCTURE___GET_ONTOLOGY = CLASSIFIER___GET_ONTOLOGY;
-
- /**
- * The operation id for the 'Extra Validate' operation.
- *
- *
- * @generated
- * @ordered
- */
- int STRUCTURE___EXTRA_VALIDATE__DIAGNOSTICCHAIN_MAP = CLASSIFIER___EXTRA_VALIDATE__DIAGNOSTICCHAIN_MAP;
-
- /**
- * The operation id for the 'Get Ref' operation.
- *
- *
- * @generated
- * @ordered
- */
- int STRUCTURE___GET_REF = CLASSIFIER___GET_REF;
-
- /**
- * The operation id for the 'Is Ref' operation.
- *
- *
- * @generated
- * @ordered
- */
- int STRUCTURE___IS_REF = CLASSIFIER___IS_REF;
-
- /**
- * The operation id for the 'Resolve' operation.
- *
- *
- * @generated
- * @ordered
- */
- int STRUCTURE___RESOLVE = CLASSIFIER___RESOLVE;
-
- /**
- * The operation id for the 'Get Iri' operation.
- *
- *
- * @generated
- * @ordered
- */
- int STRUCTURE___GET_IRI = CLASSIFIER___GET_IRI;
-
- /**
- * The operation id for the 'Get Abbreviated Iri' operation.
- *
- *
- * @generated
- * @ordered
- */
- int STRUCTURE___GET_ABBREVIATED_IRI = CLASSIFIER___GET_ABBREVIATED_IRI;
-
- /**
- * The number of operations of the 'Structure' class.
- *
- *
- * @generated
- * @ordered
- */
- int STRUCTURE_OPERATION_COUNT = CLASSIFIER_OPERATION_COUNT + 0;
+ int ENTITY_OPERATION_COUNT = TYPE_OPERATION_COUNT + 0;
/**
* The meta object id for the '{@link io.opencaesar.oml.impl.AspectImpl Aspect}' class.
@@ -3905,7 +3606,7 @@ public interface OmlPackage extends EPackage {
* @see io.opencaesar.oml.impl.OmlPackageImpl#getAspect()
* @generated
*/
- int ASPECT = 35;
+ int ASPECT = 33;
/**
* The feature id for the 'Owned Annotations' containment reference list.
@@ -4068,7 +3769,7 @@ public interface OmlPackage extends EPackage {
* @see io.opencaesar.oml.impl.OmlPackageImpl#getConcept()
* @generated
*/
- int CONCEPT = 36;
+ int CONCEPT = 34;
/**
* The feature id for the 'Owned Annotations' containment reference list.
@@ -4240,7 +3941,7 @@ public interface OmlPackage extends EPackage {
* @see io.opencaesar.oml.impl.OmlPackageImpl#getRelationEntity()
* @generated
*/
- int RELATION_ENTITY = 37;
+ int RELATION_ENTITY = 35;
/**
* The feature id for the 'Owned Annotations' containment reference list.
@@ -4502,7 +4203,7 @@ public interface OmlPackage extends EPackage {
* @see io.opencaesar.oml.impl.OmlPackageImpl#getAnnotationProperty()
* @generated
*/
- int ANNOTATION_PROPERTY = 38;
+ int ANNOTATION_PROPERTY = 36;
/**
* The feature id for the 'Owned Annotations' containment reference list.
@@ -4592,288 +4293,89 @@ public interface OmlPackage extends EPackage {
* @generated
* @ordered
*/
- int ANNOTATION_PROPERTY___GET_REF = SPECIALIZABLE_PROPERTY___GET_REF;
-
- /**
- * The operation id for the 'Is Ref' operation.
- *
- *
- * @generated
- * @ordered
- */
- int ANNOTATION_PROPERTY___IS_REF = SPECIALIZABLE_PROPERTY___IS_REF;
-
- /**
- * The operation id for the 'Resolve' operation.
- *
- *
- * @generated
- * @ordered
- */
- int ANNOTATION_PROPERTY___RESOLVE = SPECIALIZABLE_PROPERTY___RESOLVE;
-
- /**
- * The operation id for the 'Get Iri' operation.
- *
- *
- * @generated
- * @ordered
- */
- int ANNOTATION_PROPERTY___GET_IRI = SPECIALIZABLE_PROPERTY___GET_IRI;
-
- /**
- * The operation id for the 'Get Abbreviated Iri' operation.
- *
- *
- * @generated
- * @ordered
- */
- int ANNOTATION_PROPERTY___GET_ABBREVIATED_IRI = SPECIALIZABLE_PROPERTY___GET_ABBREVIATED_IRI;
-
- /**
- * The number of operations of the 'Annotation Property' class.
- *
- *
- * @generated
- * @ordered
- */
- int ANNOTATION_PROPERTY_OPERATION_COUNT = SPECIALIZABLE_PROPERTY_OPERATION_COUNT + 0;
-
- /**
- * The meta object id for the '{@link io.opencaesar.oml.impl.SemanticPropertyImpl Semantic Property}' class.
- *
- *
- * @see io.opencaesar.oml.impl.SemanticPropertyImpl
- * @see io.opencaesar.oml.impl.OmlPackageImpl#getSemanticProperty()
- * @generated
- */
- int SEMANTIC_PROPERTY = 39;
-
- /**
- * The feature id for the 'Owned Annotations' containment reference list.
- *
- *
- * @generated
- * @ordered
- */
- int SEMANTIC_PROPERTY__OWNED_ANNOTATIONS = PROPERTY__OWNED_ANNOTATIONS;
-
- /**
- * The feature id for the 'Name' attribute.
- *
- *
- * @generated
- * @ordered
- */
- int SEMANTIC_PROPERTY__NAME = PROPERTY__NAME;
-
- /**
- * The number of structural features of the 'Semantic Property' class.
- *
- *
- * @generated
- * @ordered
- */
- int SEMANTIC_PROPERTY_FEATURE_COUNT = PROPERTY_FEATURE_COUNT + 0;
-
- /**
- * The operation id for the 'Get Ontology' operation.
- *
- *
- * @generated
- * @ordered
- */
- int SEMANTIC_PROPERTY___GET_ONTOLOGY = PROPERTY___GET_ONTOLOGY;
-
- /**
- * The operation id for the 'Extra Validate' operation.
- *
- *
- * @generated
- * @ordered
- */
- int SEMANTIC_PROPERTY___EXTRA_VALIDATE__DIAGNOSTICCHAIN_MAP = PROPERTY___EXTRA_VALIDATE__DIAGNOSTICCHAIN_MAP;
-
- /**
- * The operation id for the 'Get Ref' operation.
- *
- *
- * @generated
- * @ordered
- */
- int SEMANTIC_PROPERTY___GET_REF = PROPERTY___GET_REF;
-
- /**
- * The operation id for the 'Is Ref' operation.
- *
- *
- * @generated
- * @ordered
- */
- int SEMANTIC_PROPERTY___IS_REF = PROPERTY___IS_REF;
-
- /**
- * The operation id for the 'Resolve' operation.
- *
- *
- * @generated
- * @ordered
- */
- int SEMANTIC_PROPERTY___RESOLVE = PROPERTY___RESOLVE;
-
- /**
- * The operation id for the 'Get Iri' operation.
- *
- *
- * @generated
- * @ordered
- */
- int SEMANTIC_PROPERTY___GET_IRI = PROPERTY___GET_IRI;
-
- /**
- * The operation id for the 'Get Abbreviated Iri' operation.
- *
- *
- * @generated
- * @ordered
- */
- int SEMANTIC_PROPERTY___GET_ABBREVIATED_IRI = PROPERTY___GET_ABBREVIATED_IRI;
-
- /**
- * The operation id for the 'Is Functional' operation.
- *
- *
- * @generated
- * @ordered
- */
- int SEMANTIC_PROPERTY___IS_FUNCTIONAL = PROPERTY_OPERATION_COUNT + 0;
-
- /**
- * The operation id for the 'Get Domain List' operation.
- *
- *
- * @generated
- * @ordered
- */
- int SEMANTIC_PROPERTY___GET_DOMAIN_LIST = PROPERTY_OPERATION_COUNT + 1;
-
- /**
- * The operation id for the 'Get Range List' operation.
- *
- *
- * @generated
- * @ordered
- */
- int SEMANTIC_PROPERTY___GET_RANGE_LIST = PROPERTY_OPERATION_COUNT + 2;
-
- /**
- * The number of operations of the 'Semantic Property' class.
- *
- *
- * @generated
- * @ordered
- */
- int SEMANTIC_PROPERTY_OPERATION_COUNT = PROPERTY_OPERATION_COUNT + 3;
-
- /**
- * The meta object id for the '{@link io.opencaesar.oml.impl.ScalarPropertyImpl Scalar Property}' class.
- *
- *
- * @see io.opencaesar.oml.impl.ScalarPropertyImpl
- * @see io.opencaesar.oml.impl.OmlPackageImpl#getScalarProperty()
- * @generated
- */
- int SCALAR_PROPERTY = 40;
-
- /**
- * The feature id for the 'Owned Annotations' containment reference list.
- *
- *
- * @generated
- * @ordered
- */
- int SCALAR_PROPERTY__OWNED_ANNOTATIONS = SEMANTIC_PROPERTY__OWNED_ANNOTATIONS;
+ int ANNOTATION_PROPERTY___GET_REF = SPECIALIZABLE_PROPERTY___GET_REF;
/**
- * The feature id for the 'Name' attribute.
+ * The operation id for the 'Is Ref' operation.
*
*
* @generated
* @ordered
*/
- int SCALAR_PROPERTY__NAME = SEMANTIC_PROPERTY__NAME;
+ int ANNOTATION_PROPERTY___IS_REF = SPECIALIZABLE_PROPERTY___IS_REF;
/**
- * The feature id for the 'Owning Vocabulary' container reference.
+ * The operation id for the 'Resolve' operation.
*
*
* @generated
* @ordered
*/
- int SCALAR_PROPERTY__OWNING_VOCABULARY = SEMANTIC_PROPERTY_FEATURE_COUNT + 0;
+ int ANNOTATION_PROPERTY___RESOLVE = SPECIALIZABLE_PROPERTY___RESOLVE;
/**
- * The feature id for the 'Owned Specializations' containment reference list.
+ * The operation id for the 'Get Iri' operation.
*
*
* @generated
* @ordered
*/
- int SCALAR_PROPERTY__OWNED_SPECIALIZATIONS = SEMANTIC_PROPERTY_FEATURE_COUNT + 1;
+ int ANNOTATION_PROPERTY___GET_IRI = SPECIALIZABLE_PROPERTY___GET_IRI;
/**
- * The feature id for the 'Owned Equivalences' containment reference list.
+ * The operation id for the 'Get Abbreviated Iri' operation.
*
*
* @generated
* @ordered
*/
- int SCALAR_PROPERTY__OWNED_EQUIVALENCES = SEMANTIC_PROPERTY_FEATURE_COUNT + 2;
+ int ANNOTATION_PROPERTY___GET_ABBREVIATED_IRI = SPECIALIZABLE_PROPERTY___GET_ABBREVIATED_IRI;
/**
- * The feature id for the 'Ref' reference.
+ * The number of operations of the 'Annotation Property' class.
*
*
* @generated
* @ordered
*/
- int SCALAR_PROPERTY__REF = SEMANTIC_PROPERTY_FEATURE_COUNT + 3;
+ int ANNOTATION_PROPERTY_OPERATION_COUNT = SPECIALIZABLE_PROPERTY_OPERATION_COUNT + 0;
/**
- * The feature id for the 'Functional' attribute.
+ * The meta object id for the '{@link io.opencaesar.oml.impl.SemanticPropertyImpl Semantic Property}' class.
*
*
+ * @see io.opencaesar.oml.impl.SemanticPropertyImpl
+ * @see io.opencaesar.oml.impl.OmlPackageImpl#getSemanticProperty()
* @generated
- * @ordered
*/
- int SCALAR_PROPERTY__FUNCTIONAL = SEMANTIC_PROPERTY_FEATURE_COUNT + 4;
+ int SEMANTIC_PROPERTY = 37;
/**
- * The feature id for the 'Domains' reference list.
+ * The feature id for the 'Owned Annotations' containment reference list.
*
*
* @generated
* @ordered
*/
- int SCALAR_PROPERTY__DOMAINS = SEMANTIC_PROPERTY_FEATURE_COUNT + 5;
+ int SEMANTIC_PROPERTY__OWNED_ANNOTATIONS = PROPERTY__OWNED_ANNOTATIONS;
/**
- * The feature id for the 'Ranges' reference list.
+ * The feature id for the 'Name' attribute.
*
*
* @generated
* @ordered
*/
- int SCALAR_PROPERTY__RANGES = SEMANTIC_PROPERTY_FEATURE_COUNT + 6;
+ int SEMANTIC_PROPERTY__NAME = PROPERTY__NAME;
/**
- * The number of structural features of the 'Scalar Property' class.
+ * The number of structural features of the 'Semantic Property' class.
*
*
* @generated
* @ordered
*/
- int SCALAR_PROPERTY_FEATURE_COUNT = SEMANTIC_PROPERTY_FEATURE_COUNT + 7;
+ int SEMANTIC_PROPERTY_FEATURE_COUNT = PROPERTY_FEATURE_COUNT + 0;
/**
* The operation id for the 'Get Ontology' operation.
@@ -4882,7 +4384,7 @@ public interface OmlPackage extends EPackage {
* @generated
* @ordered
*/
- int SCALAR_PROPERTY___GET_ONTOLOGY = SEMANTIC_PROPERTY___GET_ONTOLOGY;
+ int SEMANTIC_PROPERTY___GET_ONTOLOGY = PROPERTY___GET_ONTOLOGY;
/**
* The operation id for the 'Extra Validate' operation.
@@ -4891,7 +4393,7 @@ public interface OmlPackage extends EPackage {
* @generated
* @ordered
*/
- int SCALAR_PROPERTY___EXTRA_VALIDATE__DIAGNOSTICCHAIN_MAP = SEMANTIC_PROPERTY___EXTRA_VALIDATE__DIAGNOSTICCHAIN_MAP;
+ int SEMANTIC_PROPERTY___EXTRA_VALIDATE__DIAGNOSTICCHAIN_MAP = PROPERTY___EXTRA_VALIDATE__DIAGNOSTICCHAIN_MAP;
/**
* The operation id for the 'Get Ref' operation.
@@ -4900,7 +4402,7 @@ public interface OmlPackage extends EPackage {
* @generated
* @ordered
*/
- int SCALAR_PROPERTY___GET_REF = SEMANTIC_PROPERTY___GET_REF;
+ int SEMANTIC_PROPERTY___GET_REF = PROPERTY___GET_REF;
/**
* The operation id for the 'Is Ref' operation.
@@ -4909,7 +4411,7 @@ public interface OmlPackage extends EPackage {
* @generated
* @ordered
*/
- int SCALAR_PROPERTY___IS_REF = SEMANTIC_PROPERTY___IS_REF;
+ int SEMANTIC_PROPERTY___IS_REF = PROPERTY___IS_REF;
/**
* The operation id for the 'Resolve' operation.
@@ -4918,7 +4420,7 @@ public interface OmlPackage extends EPackage {
* @generated
* @ordered
*/
- int SCALAR_PROPERTY___RESOLVE = SEMANTIC_PROPERTY___RESOLVE;
+ int SEMANTIC_PROPERTY___RESOLVE = PROPERTY___RESOLVE;
/**
* The operation id for the 'Get Iri' operation.
@@ -4927,7 +4429,7 @@ public interface OmlPackage extends EPackage {
* @generated
* @ordered
*/
- int SCALAR_PROPERTY___GET_IRI = SEMANTIC_PROPERTY___GET_IRI;
+ int SEMANTIC_PROPERTY___GET_IRI = PROPERTY___GET_IRI;
/**
* The operation id for the 'Get Abbreviated Iri' operation.
@@ -4936,7 +4438,7 @@ public interface OmlPackage extends EPackage {
* @generated
* @ordered
*/
- int SCALAR_PROPERTY___GET_ABBREVIATED_IRI = SEMANTIC_PROPERTY___GET_ABBREVIATED_IRI;
+ int SEMANTIC_PROPERTY___GET_ABBREVIATED_IRI = PROPERTY___GET_ABBREVIATED_IRI;
/**
* The operation id for the 'Is Functional' operation.
@@ -4945,7 +4447,7 @@ public interface OmlPackage extends EPackage {
* @generated
* @ordered
*/
- int SCALAR_PROPERTY___IS_FUNCTIONAL = SEMANTIC_PROPERTY___IS_FUNCTIONAL;
+ int SEMANTIC_PROPERTY___IS_FUNCTIONAL = PROPERTY_OPERATION_COUNT + 0;
/**
* The operation id for the 'Get Domain List' operation.
@@ -4954,7 +4456,7 @@ public interface OmlPackage extends EPackage {
* @generated
* @ordered
*/
- int SCALAR_PROPERTY___GET_DOMAIN_LIST = SEMANTIC_PROPERTY_OPERATION_COUNT + 0;
+ int SEMANTIC_PROPERTY___GET_DOMAIN_LIST = PROPERTY_OPERATION_COUNT + 1;
/**
* The operation id for the 'Get Range List' operation.
@@ -4963,26 +4465,26 @@ public interface OmlPackage extends EPackage {
* @generated
* @ordered
*/
- int SCALAR_PROPERTY___GET_RANGE_LIST = SEMANTIC_PROPERTY_OPERATION_COUNT + 1;
+ int SEMANTIC_PROPERTY___GET_RANGE_LIST = PROPERTY_OPERATION_COUNT + 2;
/**
- * The number of operations of the 'Scalar Property' class.
+ * The number of operations of the 'Semantic Property' class.
*
*
* @generated
* @ordered
*/
- int SCALAR_PROPERTY_OPERATION_COUNT = SEMANTIC_PROPERTY_OPERATION_COUNT + 2;
+ int SEMANTIC_PROPERTY_OPERATION_COUNT = PROPERTY_OPERATION_COUNT + 3;
/**
- * The meta object id for the '{@link io.opencaesar.oml.impl.StructuredPropertyImpl Structured Property}' class.
+ * The meta object id for the '{@link io.opencaesar.oml.impl.ScalarPropertyImpl Scalar Property}' class.
*
*
- * @see io.opencaesar.oml.impl.StructuredPropertyImpl
- * @see io.opencaesar.oml.impl.OmlPackageImpl#getStructuredProperty()
+ * @see io.opencaesar.oml.impl.ScalarPropertyImpl
+ * @see io.opencaesar.oml.impl.OmlPackageImpl#getScalarProperty()
* @generated
*/
- int STRUCTURED_PROPERTY = 41;
+ int SCALAR_PROPERTY = 38;
/**
* The feature id for the 'Owned Annotations' containment reference list.
@@ -4991,7 +4493,7 @@ public interface OmlPackage extends EPackage {
* @generated
* @ordered
*/
- int STRUCTURED_PROPERTY__OWNED_ANNOTATIONS = SEMANTIC_PROPERTY__OWNED_ANNOTATIONS;
+ int SCALAR_PROPERTY__OWNED_ANNOTATIONS = SEMANTIC_PROPERTY__OWNED_ANNOTATIONS;
/**
* The feature id for the 'Name' attribute.
@@ -5000,7 +4502,7 @@ public interface OmlPackage extends EPackage {
* @generated
* @ordered
*/
- int STRUCTURED_PROPERTY__NAME = SEMANTIC_PROPERTY__NAME;
+ int SCALAR_PROPERTY__NAME = SEMANTIC_PROPERTY__NAME;
/**
* The feature id for the 'Owning Vocabulary' container reference.
@@ -5009,7 +4511,7 @@ public interface OmlPackage extends EPackage {
* @generated
* @ordered
*/
- int STRUCTURED_PROPERTY__OWNING_VOCABULARY = SEMANTIC_PROPERTY_FEATURE_COUNT + 0;
+ int SCALAR_PROPERTY__OWNING_VOCABULARY = SEMANTIC_PROPERTY_FEATURE_COUNT + 0;
/**
* The feature id for the 'Owned Specializations' containment reference list.
@@ -5018,7 +4520,7 @@ public interface OmlPackage extends EPackage {
* @generated
* @ordered
*/
- int STRUCTURED_PROPERTY__OWNED_SPECIALIZATIONS = SEMANTIC_PROPERTY_FEATURE_COUNT + 1;
+ int SCALAR_PROPERTY__OWNED_SPECIALIZATIONS = SEMANTIC_PROPERTY_FEATURE_COUNT + 1;
/**
* The feature id for the 'Owned Equivalences' containment reference list.
@@ -5027,7 +4529,7 @@ public interface OmlPackage extends EPackage {
* @generated
* @ordered
*/
- int STRUCTURED_PROPERTY__OWNED_EQUIVALENCES = SEMANTIC_PROPERTY_FEATURE_COUNT + 2;
+ int SCALAR_PROPERTY__OWNED_EQUIVALENCES = SEMANTIC_PROPERTY_FEATURE_COUNT + 2;
/**
* The feature id for the 'Ref' reference.
@@ -5036,7 +4538,7 @@ public interface OmlPackage extends EPackage {
* @generated
* @ordered
*/
- int STRUCTURED_PROPERTY__REF = SEMANTIC_PROPERTY_FEATURE_COUNT + 3;
+ int SCALAR_PROPERTY__REF = SEMANTIC_PROPERTY_FEATURE_COUNT + 3;
/**
* The feature id for the 'Functional' attribute.
@@ -5045,7 +4547,7 @@ public interface OmlPackage extends EPackage {
* @generated
* @ordered
*/
- int STRUCTURED_PROPERTY__FUNCTIONAL = SEMANTIC_PROPERTY_FEATURE_COUNT + 4;
+ int SCALAR_PROPERTY__FUNCTIONAL = SEMANTIC_PROPERTY_FEATURE_COUNT + 4;
/**
* The feature id for the 'Domains' reference list.
@@ -5054,7 +4556,7 @@ public interface OmlPackage extends EPackage {
* @generated
* @ordered
*/
- int STRUCTURED_PROPERTY__DOMAINS = SEMANTIC_PROPERTY_FEATURE_COUNT + 5;
+ int SCALAR_PROPERTY__DOMAINS = SEMANTIC_PROPERTY_FEATURE_COUNT + 5;
/**
* The feature id for the 'Ranges' reference list.
@@ -5063,16 +4565,16 @@ public interface OmlPackage extends EPackage {
* @generated
* @ordered
*/
- int STRUCTURED_PROPERTY__RANGES = SEMANTIC_PROPERTY_FEATURE_COUNT + 6;
+ int SCALAR_PROPERTY__RANGES = SEMANTIC_PROPERTY_FEATURE_COUNT + 6;
/**
- * The number of structural features of the 'Structured Property' class.
+ * The number of structural features of the 'Scalar Property' class.
*
*
* @generated
* @ordered
*/
- int STRUCTURED_PROPERTY_FEATURE_COUNT = SEMANTIC_PROPERTY_FEATURE_COUNT + 7;
+ int SCALAR_PROPERTY_FEATURE_COUNT = SEMANTIC_PROPERTY_FEATURE_COUNT + 7;
/**
* The operation id for the 'Get Ontology' operation.
@@ -5081,7 +4583,7 @@ public interface OmlPackage extends EPackage {
* @generated
* @ordered
*/
- int STRUCTURED_PROPERTY___GET_ONTOLOGY = SEMANTIC_PROPERTY___GET_ONTOLOGY;
+ int SCALAR_PROPERTY___GET_ONTOLOGY = SEMANTIC_PROPERTY___GET_ONTOLOGY;
/**
* The operation id for the 'Extra Validate' operation.
@@ -5090,7 +4592,7 @@ public interface OmlPackage extends EPackage {
* @generated
* @ordered
*/
- int STRUCTURED_PROPERTY___EXTRA_VALIDATE__DIAGNOSTICCHAIN_MAP = SEMANTIC_PROPERTY___EXTRA_VALIDATE__DIAGNOSTICCHAIN_MAP;
+ int SCALAR_PROPERTY___EXTRA_VALIDATE__DIAGNOSTICCHAIN_MAP = SEMANTIC_PROPERTY___EXTRA_VALIDATE__DIAGNOSTICCHAIN_MAP;
/**
* The operation id for the 'Get Ref' operation.
@@ -5099,7 +4601,7 @@ public interface OmlPackage extends EPackage {
* @generated
* @ordered
*/
- int STRUCTURED_PROPERTY___GET_REF = SEMANTIC_PROPERTY___GET_REF;
+ int SCALAR_PROPERTY___GET_REF = SEMANTIC_PROPERTY___GET_REF;
/**
* The operation id for the 'Is Ref' operation.
@@ -5108,7 +4610,7 @@ public interface OmlPackage extends EPackage {
* @generated
* @ordered
*/
- int STRUCTURED_PROPERTY___IS_REF = SEMANTIC_PROPERTY___IS_REF;
+ int SCALAR_PROPERTY___IS_REF = SEMANTIC_PROPERTY___IS_REF;
/**
* The operation id for the 'Resolve' operation.
@@ -5117,7 +4619,7 @@ public interface OmlPackage extends EPackage {
* @generated
* @ordered
*/
- int STRUCTURED_PROPERTY___RESOLVE = SEMANTIC_PROPERTY___RESOLVE;
+ int SCALAR_PROPERTY___RESOLVE = SEMANTIC_PROPERTY___RESOLVE;
/**
* The operation id for the 'Get Iri' operation.
@@ -5126,7 +4628,7 @@ public interface OmlPackage extends EPackage {
* @generated
* @ordered
*/
- int STRUCTURED_PROPERTY___GET_IRI = SEMANTIC_PROPERTY___GET_IRI;
+ int SCALAR_PROPERTY___GET_IRI = SEMANTIC_PROPERTY___GET_IRI;
/**
* The operation id for the 'Get Abbreviated Iri' operation.
@@ -5135,7 +4637,7 @@ public interface OmlPackage extends EPackage {
* @generated
* @ordered
*/
- int STRUCTURED_PROPERTY___GET_ABBREVIATED_IRI = SEMANTIC_PROPERTY___GET_ABBREVIATED_IRI;
+ int SCALAR_PROPERTY___GET_ABBREVIATED_IRI = SEMANTIC_PROPERTY___GET_ABBREVIATED_IRI;
/**
* The operation id for the 'Is Functional' operation.
@@ -5144,7 +4646,7 @@ public interface OmlPackage extends EPackage {
* @generated
* @ordered
*/
- int STRUCTURED_PROPERTY___IS_FUNCTIONAL = SEMANTIC_PROPERTY___IS_FUNCTIONAL;
+ int SCALAR_PROPERTY___IS_FUNCTIONAL = SEMANTIC_PROPERTY___IS_FUNCTIONAL;
/**
* The operation id for the 'Get Domain List' operation.
@@ -5153,7 +4655,7 @@ public interface OmlPackage extends EPackage {
* @generated
* @ordered
*/
- int STRUCTURED_PROPERTY___GET_DOMAIN_LIST = SEMANTIC_PROPERTY_OPERATION_COUNT + 0;
+ int SCALAR_PROPERTY___GET_DOMAIN_LIST = SEMANTIC_PROPERTY_OPERATION_COUNT + 0;
/**
* The operation id for the 'Get Range List' operation.
@@ -5162,16 +4664,16 @@ public interface OmlPackage extends EPackage {
* @generated
* @ordered
*/
- int STRUCTURED_PROPERTY___GET_RANGE_LIST = SEMANTIC_PROPERTY_OPERATION_COUNT + 1;
+ int SCALAR_PROPERTY___GET_RANGE_LIST = SEMANTIC_PROPERTY_OPERATION_COUNT + 1;
/**
- * The number of operations of the 'Structured Property' class.
+ * The number of operations of the 'Scalar Property' class.
*
*
* @generated
* @ordered
*/
- int STRUCTURED_PROPERTY_OPERATION_COUNT = SEMANTIC_PROPERTY_OPERATION_COUNT + 2;
+ int SCALAR_PROPERTY_OPERATION_COUNT = SEMANTIC_PROPERTY_OPERATION_COUNT + 2;
/**
* The meta object id for the '{@link io.opencaesar.oml.impl.RelationImpl Relation}' class.
@@ -5181,7 +4683,7 @@ public interface OmlPackage extends EPackage {
* @see io.opencaesar.oml.impl.OmlPackageImpl#getRelation()
* @generated
*/
- int RELATION = 42;
+ int RELATION = 39;
/**
* The feature id for the 'Owned Annotations' containment reference list.
@@ -5398,7 +4900,7 @@ public interface OmlPackage extends EPackage {
* @see io.opencaesar.oml.impl.OmlPackageImpl#getForwardRelation()
* @generated
*/
- int FORWARD_RELATION = 43;
+ int FORWARD_RELATION = 40;
/**
* The feature id for the 'Owned Annotations' containment reference list.
@@ -5624,7 +5126,7 @@ public interface OmlPackage extends EPackage {
* @see io.opencaesar.oml.impl.OmlPackageImpl#getReverseRelation()
* @generated
*/
- int REVERSE_RELATION = 44;
+ int REVERSE_RELATION = 41;
/**
* The feature id for the 'Owned Annotations' containment reference list.
@@ -5850,7 +5352,7 @@ public interface OmlPackage extends EPackage {
* @see io.opencaesar.oml.impl.OmlPackageImpl#getUnreifiedRelation()
* @generated
*/
- int UNREIFIED_RELATION = 45;
+ int UNREIFIED_RELATION = 42;
/**
* The feature id for the 'Owned Annotations' containment reference list.
@@ -6193,7 +5695,7 @@ public interface OmlPackage extends EPackage {
* @see io.opencaesar.oml.impl.OmlPackageImpl#getNamedInstance()
* @generated
*/
- int NAMED_INSTANCE = 46;
+ int NAMED_INSTANCE = 43;
/**
* The feature id for the 'Owned Annotations' containment reference list.
@@ -6347,7 +5849,7 @@ public interface OmlPackage extends EPackage {
* @see io.opencaesar.oml.impl.OmlPackageImpl#getAnonymousInstance()
* @generated
*/
- int ANONYMOUS_INSTANCE = 47;
+ int ANONYMOUS_INSTANCE = 44;
/**
* The feature id for the 'Owned Property Values' containment reference list.
@@ -6438,7 +5940,7 @@ public interface OmlPackage extends EPackage {
* @see io.opencaesar.oml.impl.OmlPackageImpl#getConceptInstance()
* @generated
*/
- int CONCEPT_INSTANCE = 48;
+ int CONCEPT_INSTANCE = 45;
/**
* The feature id for the 'Owned Annotations' containment reference list.
@@ -6601,7 +6103,7 @@ public interface OmlPackage extends EPackage {
* @see io.opencaesar.oml.impl.OmlPackageImpl#getRelationInstance()
* @generated
*/
- int RELATION_INSTANCE = 49;
+ int RELATION_INSTANCE = 46;
/**
* The feature id for the 'Owned Annotations' containment reference list.
@@ -6775,14 +6277,14 @@ public interface OmlPackage extends EPackage {
int RELATION_INSTANCE_OPERATION_COUNT = NAMED_INSTANCE_OPERATION_COUNT + 0;
/**
- * The meta object id for the '{@link io.opencaesar.oml.impl.StructureInstanceImpl Structure Instance}' class.
+ * The meta object id for the '{@link io.opencaesar.oml.impl.AnonymousConceptInstanceImpl Anonymous Concept Instance}' class.
*
*
- * @see io.opencaesar.oml.impl.StructureInstanceImpl
- * @see io.opencaesar.oml.impl.OmlPackageImpl#getStructureInstance()
+ * @see io.opencaesar.oml.impl.AnonymousConceptInstanceImpl
+ * @see io.opencaesar.oml.impl.OmlPackageImpl#getAnonymousConceptInstance()
* @generated
*/
- int STRUCTURE_INSTANCE = 50;
+ int ANONYMOUS_CONCEPT_INSTANCE = 47;
/**
* The feature id for the 'Owned Property Values' containment reference list.
@@ -6791,7 +6293,7 @@ public interface OmlPackage extends EPackage {
* @generated
* @ordered
*/
- int STRUCTURE_INSTANCE__OWNED_PROPERTY_VALUES = ANONYMOUS_INSTANCE__OWNED_PROPERTY_VALUES;
+ int ANONYMOUS_CONCEPT_INSTANCE__OWNED_PROPERTY_VALUES = ANONYMOUS_INSTANCE__OWNED_PROPERTY_VALUES;
/**
* The feature id for the 'Owning Assertion' container reference.
@@ -6800,7 +6302,7 @@ public interface OmlPackage extends EPackage {
* @generated
* @ordered
*/
- int STRUCTURE_INSTANCE__OWNING_ASSERTION = ANONYMOUS_INSTANCE__OWNING_ASSERTION;
+ int ANONYMOUS_CONCEPT_INSTANCE__OWNING_ASSERTION = ANONYMOUS_INSTANCE__OWNING_ASSERTION;
/**
* The feature id for the 'Owning Axiom' container reference.
@@ -6809,7 +6311,7 @@ public interface OmlPackage extends EPackage {
* @generated
* @ordered
*/
- int STRUCTURE_INSTANCE__OWNING_AXIOM = ANONYMOUS_INSTANCE__OWNING_AXIOM;
+ int ANONYMOUS_CONCEPT_INSTANCE__OWNING_AXIOM = ANONYMOUS_INSTANCE__OWNING_AXIOM;
/**
* The feature id for the 'Type' reference.
@@ -6818,16 +6320,16 @@ public interface OmlPackage extends EPackage {
* @generated
* @ordered
*/
- int STRUCTURE_INSTANCE__TYPE = ANONYMOUS_INSTANCE_FEATURE_COUNT + 0;
+ int ANONYMOUS_CONCEPT_INSTANCE__TYPE = ANONYMOUS_INSTANCE_FEATURE_COUNT + 0;
/**
- * The number of structural features of the 'Structure Instance' class.
+ * The number of structural features of the 'Anonymous Concept Instance' class.
*
*
* @generated
* @ordered
*/
- int STRUCTURE_INSTANCE_FEATURE_COUNT = ANONYMOUS_INSTANCE_FEATURE_COUNT + 1;
+ int ANONYMOUS_CONCEPT_INSTANCE_FEATURE_COUNT = ANONYMOUS_INSTANCE_FEATURE_COUNT + 1;
/**
* The operation id for the 'Get Ontology' operation.
@@ -6836,7 +6338,7 @@ public interface OmlPackage extends EPackage {
* @generated
* @ordered
*/
- int STRUCTURE_INSTANCE___GET_ONTOLOGY = ANONYMOUS_INSTANCE___GET_ONTOLOGY;
+ int ANONYMOUS_CONCEPT_INSTANCE___GET_ONTOLOGY = ANONYMOUS_INSTANCE___GET_ONTOLOGY;
/**
* The operation id for the 'Extra Validate' operation.
@@ -6845,7 +6347,7 @@ public interface OmlPackage extends EPackage {
* @generated
* @ordered
*/
- int STRUCTURE_INSTANCE___EXTRA_VALIDATE__DIAGNOSTICCHAIN_MAP = ANONYMOUS_INSTANCE___EXTRA_VALIDATE__DIAGNOSTICCHAIN_MAP;
+ int ANONYMOUS_CONCEPT_INSTANCE___EXTRA_VALIDATE__DIAGNOSTICCHAIN_MAP = ANONYMOUS_INSTANCE___EXTRA_VALIDATE__DIAGNOSTICCHAIN_MAP;
/**
* The operation id for the 'Get Is Value Of Property' operation.
@@ -6854,16 +6356,16 @@ public interface OmlPackage extends EPackage {
* @generated
* @ordered
*/
- int STRUCTURE_INSTANCE___GET_IS_VALUE_OF_PROPERTY = ANONYMOUS_INSTANCE___GET_IS_VALUE_OF_PROPERTY;
+ int ANONYMOUS_CONCEPT_INSTANCE___GET_IS_VALUE_OF_PROPERTY = ANONYMOUS_INSTANCE___GET_IS_VALUE_OF_PROPERTY;
/**
- * The operation id for the 'Get Structure' operation.
+ * The operation id for the 'Get Entity' operation.
*
*
* @generated
* @ordered
*/
- int STRUCTURE_INSTANCE___GET_STRUCTURE = ANONYMOUS_INSTANCE_OPERATION_COUNT + 0;
+ int ANONYMOUS_CONCEPT_INSTANCE___GET_ENTITY = ANONYMOUS_INSTANCE_OPERATION_COUNT + 0;
/**
* The operation id for the 'Get Types' operation.
@@ -6872,16 +6374,16 @@ public interface OmlPackage extends EPackage {
* @generated
* @ordered
*/
- int STRUCTURE_INSTANCE___GET_TYPES = ANONYMOUS_INSTANCE_OPERATION_COUNT + 1;
+ int ANONYMOUS_CONCEPT_INSTANCE___GET_TYPES = ANONYMOUS_INSTANCE_OPERATION_COUNT + 1;
/**
- * The number of operations of the 'Structure Instance' class.
+ * The number of operations of the 'Anonymous Concept Instance' class.
*
*
* @generated
* @ordered
*/
- int STRUCTURE_INSTANCE_OPERATION_COUNT = ANONYMOUS_INSTANCE_OPERATION_COUNT + 2;
+ int ANONYMOUS_CONCEPT_INSTANCE_OPERATION_COUNT = ANONYMOUS_INSTANCE_OPERATION_COUNT + 2;
/**
* The meta object id for the '{@link io.opencaesar.oml.impl.AnonymousRelationInstanceImpl Anonymous Relation Instance}' class.
@@ -6891,7 +6393,7 @@ public interface OmlPackage extends EPackage {
* @see io.opencaesar.oml.impl.OmlPackageImpl#getAnonymousRelationInstance()
* @generated
*/
- int ANONYMOUS_RELATION_INSTANCE = 51;
+ int ANONYMOUS_RELATION_INSTANCE = 48;
/**
* The feature id for the 'Owned Property Values' containment reference list.
@@ -7000,7 +6502,7 @@ public interface OmlPackage extends EPackage {
* @see io.opencaesar.oml.impl.OmlPackageImpl#getKeyAxiom()
* @generated
*/
- int KEY_AXIOM = 52;
+ int KEY_AXIOM = 49;
/**
* The feature id for the 'Properties' reference list.
@@ -7082,7 +6584,7 @@ public interface OmlPackage extends EPackage {
* @see io.opencaesar.oml.impl.OmlPackageImpl#getSpecializationAxiom()
* @generated
*/
- int SPECIALIZATION_AXIOM = 53;
+ int SPECIALIZATION_AXIOM = 50;
/**
* The feature id for the 'Super Term' reference.
@@ -7164,7 +6666,7 @@ public interface OmlPackage extends EPackage {
* @see io.opencaesar.oml.impl.OmlPackageImpl#getInstanceEnumerationAxiom()
* @generated
*/
- int INSTANCE_ENUMERATION_AXIOM = 54;
+ int INSTANCE_ENUMERATION_AXIOM = 51;
/**
* The feature id for the 'Instances' reference list.
@@ -7246,7 +6748,7 @@ public interface OmlPackage extends EPackage {
* @see io.opencaesar.oml.impl.OmlPackageImpl#getPropertyRestrictionAxiom()
* @generated
*/
- int PROPERTY_RESTRICTION_AXIOM = 55;
+ int PROPERTY_RESTRICTION_AXIOM = 52;
/**
* The feature id for the 'Property' reference.
@@ -7258,13 +6760,13 @@ public interface OmlPackage extends EPackage {
int PROPERTY_RESTRICTION_AXIOM__PROPERTY = AXIOM_FEATURE_COUNT + 0;
/**
- * The feature id for the 'Owning Classifier' container reference.
+ * The feature id for the 'Owning Entity' container reference.
*
*
* @generated
* @ordered
*/
- int PROPERTY_RESTRICTION_AXIOM__OWNING_CLASSIFIER = AXIOM_FEATURE_COUNT + 1;
+ int PROPERTY_RESTRICTION_AXIOM__OWNING_ENTITY = AXIOM_FEATURE_COUNT + 1;
/**
* The feature id for the 'Owning Axiom' container reference.
@@ -7337,7 +6839,7 @@ public interface OmlPackage extends EPackage {
* @see io.opencaesar.oml.impl.OmlPackageImpl#getLiteralEnumerationAxiom()
* @generated
*/
- int LITERAL_ENUMERATION_AXIOM = 56;
+ int LITERAL_ENUMERATION_AXIOM = 53;
/**
* The feature id for the 'Literals' containment reference list.
@@ -7412,23 +6914,23 @@ public interface OmlPackage extends EPackage {
int LITERAL_ENUMERATION_AXIOM_OPERATION_COUNT = AXIOM_OPERATION_COUNT + 2;
/**
- * The meta object id for the '{@link io.opencaesar.oml.impl.ClassifierEquivalenceAxiomImpl Classifier Equivalence Axiom}' class.
+ * The meta object id for the '{@link io.opencaesar.oml.impl.EntityEquivalenceAxiomImpl Entity Equivalence Axiom}' class.
*
*
- * @see io.opencaesar.oml.impl.ClassifierEquivalenceAxiomImpl
- * @see io.opencaesar.oml.impl.OmlPackageImpl#getClassifierEquivalenceAxiom()
+ * @see io.opencaesar.oml.impl.EntityEquivalenceAxiomImpl
+ * @see io.opencaesar.oml.impl.OmlPackageImpl#getEntityEquivalenceAxiom()
* @generated
*/
- int CLASSIFIER_EQUIVALENCE_AXIOM = 57;
+ int ENTITY_EQUIVALENCE_AXIOM = 54;
/**
- * The feature id for the 'Super Classifiers' reference list.
+ * The feature id for the 'Super Entities' reference list.
*
*
* @generated
* @ordered
*/
- int CLASSIFIER_EQUIVALENCE_AXIOM__SUPER_CLASSIFIERS = AXIOM_FEATURE_COUNT + 0;
+ int ENTITY_EQUIVALENCE_AXIOM__SUPER_ENTITIES = AXIOM_FEATURE_COUNT + 0;
/**
* The feature id for the 'Owned Property Restrictions' containment reference list.
@@ -7437,25 +6939,25 @@ public interface OmlPackage extends EPackage {
* @generated
* @ordered
*/
- int CLASSIFIER_EQUIVALENCE_AXIOM__OWNED_PROPERTY_RESTRICTIONS = AXIOM_FEATURE_COUNT + 1;
+ int ENTITY_EQUIVALENCE_AXIOM__OWNED_PROPERTY_RESTRICTIONS = AXIOM_FEATURE_COUNT + 1;
/**
- * The feature id for the 'Owning Classifier' container reference.
+ * The feature id for the 'Owning Entity' container reference.
*
*
* @generated
* @ordered
*/
- int CLASSIFIER_EQUIVALENCE_AXIOM__OWNING_CLASSIFIER = AXIOM_FEATURE_COUNT + 2;
+ int ENTITY_EQUIVALENCE_AXIOM__OWNING_ENTITY = AXIOM_FEATURE_COUNT + 2;
/**
- * The number of structural features of the 'Classifier Equivalence Axiom' class.
+ * The number of structural features of the 'Entity Equivalence Axiom' class.
*
*
* @generated
* @ordered
*/
- int CLASSIFIER_EQUIVALENCE_AXIOM_FEATURE_COUNT = AXIOM_FEATURE_COUNT + 3;
+ int ENTITY_EQUIVALENCE_AXIOM_FEATURE_COUNT = AXIOM_FEATURE_COUNT + 3;
/**
* The operation id for the 'Get Ontology' operation.
@@ -7464,7 +6966,7 @@ public interface OmlPackage extends EPackage {
* @generated
* @ordered
*/
- int CLASSIFIER_EQUIVALENCE_AXIOM___GET_ONTOLOGY = AXIOM___GET_ONTOLOGY;
+ int ENTITY_EQUIVALENCE_AXIOM___GET_ONTOLOGY = AXIOM___GET_ONTOLOGY;
/**
* The operation id for the 'Extra Validate' operation.
@@ -7473,16 +6975,16 @@ public interface OmlPackage extends EPackage {
* @generated
* @ordered
*/
- int CLASSIFIER_EQUIVALENCE_AXIOM___EXTRA_VALIDATE__DIAGNOSTICCHAIN_MAP = AXIOM___EXTRA_VALIDATE__DIAGNOSTICCHAIN_MAP;
+ int ENTITY_EQUIVALENCE_AXIOM___EXTRA_VALIDATE__DIAGNOSTICCHAIN_MAP = AXIOM___EXTRA_VALIDATE__DIAGNOSTICCHAIN_MAP;
/**
- * The operation id for the 'Get Sub Classifier' operation.
+ * The operation id for the 'Get Sub Entity' operation.
*
*
* @generated
* @ordered
*/
- int CLASSIFIER_EQUIVALENCE_AXIOM___GET_SUB_CLASSIFIER = AXIOM_OPERATION_COUNT + 0;
+ int ENTITY_EQUIVALENCE_AXIOM___GET_SUB_ENTITY = AXIOM_OPERATION_COUNT + 0;
/**
* The operation id for the 'Get Characterized Term' operation.
@@ -7491,16 +6993,16 @@ public interface OmlPackage extends EPackage {
* @generated
* @ordered
*/
- int CLASSIFIER_EQUIVALENCE_AXIOM___GET_CHARACTERIZED_TERM = AXIOM_OPERATION_COUNT + 1;
+ int ENTITY_EQUIVALENCE_AXIOM___GET_CHARACTERIZED_TERM = AXIOM_OPERATION_COUNT + 1;
/**
- * The number of operations of the 'Classifier Equivalence Axiom' class.
+ * The number of operations of the 'Entity Equivalence Axiom' class.
*
*
* @generated
* @ordered
*/
- int CLASSIFIER_EQUIVALENCE_AXIOM_OPERATION_COUNT = AXIOM_OPERATION_COUNT + 2;
+ int ENTITY_EQUIVALENCE_AXIOM_OPERATION_COUNT = AXIOM_OPERATION_COUNT + 2;
/**
* The meta object id for the '{@link io.opencaesar.oml.impl.ScalarEquivalenceAxiomImpl Scalar Equivalence Axiom}' class.
@@ -7510,7 +7012,7 @@ public interface OmlPackage extends EPackage {
* @see io.opencaesar.oml.impl.OmlPackageImpl#getScalarEquivalenceAxiom()
* @generated
*/
- int SCALAR_EQUIVALENCE_AXIOM = 58;
+ int SCALAR_EQUIVALENCE_AXIOM = 55;
/**
* The feature id for the 'Super Scalar' reference.
@@ -7673,7 +7175,7 @@ public interface OmlPackage extends EPackage {
* @see io.opencaesar.oml.impl.OmlPackageImpl#getPropertyEquivalenceAxiom()
* @generated
*/
- int PROPERTY_EQUIVALENCE_AXIOM = 59;
+ int PROPERTY_EQUIVALENCE_AXIOM = 56;
/**
* The feature id for the 'Super Property' reference.
@@ -7755,7 +7257,7 @@ public interface OmlPackage extends EPackage {
* @see io.opencaesar.oml.impl.OmlPackageImpl#getPropertyRangeRestrictionAxiom()
* @generated
*/
- int PROPERTY_RANGE_RESTRICTION_AXIOM = 60;
+ int PROPERTY_RANGE_RESTRICTION_AXIOM = 57;
/**
* The feature id for the 'Property' reference.
@@ -7767,13 +7269,13 @@ public interface OmlPackage extends EPackage {
int PROPERTY_RANGE_RESTRICTION_AXIOM__PROPERTY = PROPERTY_RESTRICTION_AXIOM__PROPERTY;
/**
- * The feature id for the 'Owning Classifier' container reference.
+ * The feature id for the 'Owning Entity' container reference.
*
*
* @generated
* @ordered
*/
- int PROPERTY_RANGE_RESTRICTION_AXIOM__OWNING_CLASSIFIER = PROPERTY_RESTRICTION_AXIOM__OWNING_CLASSIFIER;
+ int PROPERTY_RANGE_RESTRICTION_AXIOM__OWNING_ENTITY = PROPERTY_RESTRICTION_AXIOM__OWNING_ENTITY;
/**
* The feature id for the 'Owning Axiom' container reference.
@@ -7864,7 +7366,7 @@ public interface OmlPackage extends EPackage {
* @see io.opencaesar.oml.impl.OmlPackageImpl#getPropertyCardinalityRestrictionAxiom()
* @generated
*/
- int PROPERTY_CARDINALITY_RESTRICTION_AXIOM = 61;
+ int PROPERTY_CARDINALITY_RESTRICTION_AXIOM = 58;
/**
* The feature id for the 'Property' reference.
@@ -7876,13 +7378,13 @@ public interface OmlPackage extends EPackage {
int PROPERTY_CARDINALITY_RESTRICTION_AXIOM__PROPERTY = PROPERTY_RESTRICTION_AXIOM__PROPERTY;
/**
- * The feature id for the 'Owning Classifier' container reference.
+ * The feature id for the 'Owning Entity' container reference.
*
*
* @generated
* @ordered
*/
- int PROPERTY_CARDINALITY_RESTRICTION_AXIOM__OWNING_CLASSIFIER = PROPERTY_RESTRICTION_AXIOM__OWNING_CLASSIFIER;
+ int PROPERTY_CARDINALITY_RESTRICTION_AXIOM__OWNING_ENTITY = PROPERTY_RESTRICTION_AXIOM__OWNING_ENTITY;
/**
* The feature id for the 'Owning Axiom' container reference.
@@ -7982,7 +7484,7 @@ public interface OmlPackage extends EPackage {
* @see io.opencaesar.oml.impl.OmlPackageImpl#getPropertyValueRestrictionAxiom()
* @generated
*/
- int PROPERTY_VALUE_RESTRICTION_AXIOM = 62;
+ int PROPERTY_VALUE_RESTRICTION_AXIOM = 59;
/**
* The feature id for the 'Property' reference.
@@ -7994,13 +7496,13 @@ public interface OmlPackage extends EPackage {
int PROPERTY_VALUE_RESTRICTION_AXIOM__PROPERTY = PROPERTY_RESTRICTION_AXIOM__PROPERTY;
/**
- * The feature id for the 'Owning Classifier' container reference.
+ * The feature id for the 'Owning Entity' container reference.
*
*
* @generated
* @ordered
*/
- int PROPERTY_VALUE_RESTRICTION_AXIOM__OWNING_CLASSIFIER = PROPERTY_RESTRICTION_AXIOM__OWNING_CLASSIFIER;
+ int PROPERTY_VALUE_RESTRICTION_AXIOM__OWNING_ENTITY = PROPERTY_RESTRICTION_AXIOM__OWNING_ENTITY;
/**
* The feature id for the 'Owning Axiom' container reference.
@@ -8109,7 +7611,7 @@ public interface OmlPackage extends EPackage {
* @see io.opencaesar.oml.impl.OmlPackageImpl#getPropertySelfRestrictionAxiom()
* @generated
*/
- int PROPERTY_SELF_RESTRICTION_AXIOM = 63;
+ int PROPERTY_SELF_RESTRICTION_AXIOM = 60;
/**
* The feature id for the 'Property' reference.
@@ -8121,13 +7623,13 @@ public interface OmlPackage extends EPackage {
int PROPERTY_SELF_RESTRICTION_AXIOM__PROPERTY = PROPERTY_RESTRICTION_AXIOM__PROPERTY;
/**
- * The feature id for the 'Owning Classifier' container reference.
+ * The feature id for the 'Owning Entity' container reference.
*
*
* @generated
* @ordered
*/
- int PROPERTY_SELF_RESTRICTION_AXIOM__OWNING_CLASSIFIER = PROPERTY_RESTRICTION_AXIOM__OWNING_CLASSIFIER;
+ int PROPERTY_SELF_RESTRICTION_AXIOM__OWNING_ENTITY = PROPERTY_RESTRICTION_AXIOM__OWNING_ENTITY;
/**
* The feature id for the 'Owning Axiom' container reference.
@@ -8200,7 +7702,7 @@ public interface OmlPackage extends EPackage {
* @see io.opencaesar.oml.impl.OmlPackageImpl#getTypeAssertion()
* @generated
*/
- int TYPE_ASSERTION = 64;
+ int TYPE_ASSERTION = 61;
/**
* The feature id for the 'Type' reference.
@@ -8291,7 +7793,7 @@ public interface OmlPackage extends EPackage {
* @see io.opencaesar.oml.impl.OmlPackageImpl#getPropertyValueAssertion()
* @generated
*/
- int PROPERTY_VALUE_ASSERTION = 65;
+ int PROPERTY_VALUE_ASSERTION = 62;
/**
* The feature id for the 'Property' reference.
@@ -8409,7 +7911,7 @@ public interface OmlPackage extends EPackage {
* @see io.opencaesar.oml.impl.OmlPackageImpl#getUnaryPredicate()
* @generated
*/
- int UNARY_PREDICATE = 66;
+ int UNARY_PREDICATE = 63;
/**
* The feature id for the 'Antecedent Rule' container reference.
@@ -8482,7 +7984,7 @@ public interface OmlPackage extends EPackage {
* @see io.opencaesar.oml.impl.OmlPackageImpl#getBinaryPredicate()
* @generated
*/
- int BINARY_PREDICATE = 67;
+ int BINARY_PREDICATE = 64;
/**
* The feature id for the 'Antecedent Rule' container reference.
@@ -8564,7 +8066,7 @@ public interface OmlPackage extends EPackage {
* @see io.opencaesar.oml.impl.OmlPackageImpl#getBuiltInPredicate()
* @generated
*/
- int BUILT_IN_PREDICATE = 68;
+ int BUILT_IN_PREDICATE = 65;
/**
* The feature id for the 'Antecedent Rule' container reference.
@@ -8646,7 +8148,7 @@ public interface OmlPackage extends EPackage {
* @see io.opencaesar.oml.impl.OmlPackageImpl#getTypePredicate()
* @generated
*/
- int TYPE_PREDICATE = 69;
+ int TYPE_PREDICATE = 66;
/**
* The feature id for the 'Antecedent Rule' container reference.
@@ -8728,7 +8230,7 @@ public interface OmlPackage extends EPackage {
* @see io.opencaesar.oml.impl.OmlPackageImpl#getRelationEntityPredicate()
* @generated
*/
- int RELATION_ENTITY_PREDICATE = 70;
+ int RELATION_ENTITY_PREDICATE = 67;
/**
* The feature id for the 'Antecedent Rule' container reference.
@@ -8828,7 +8330,7 @@ public interface OmlPackage extends EPackage {
* @see io.opencaesar.oml.impl.OmlPackageImpl#getPropertyPredicate()
* @generated
*/
- int PROPERTY_PREDICATE = 71;
+ int PROPERTY_PREDICATE = 68;
/**
* The feature id for the 'Antecedent Rule' container reference.
@@ -8919,7 +8421,7 @@ public interface OmlPackage extends EPackage {
* @see io.opencaesar.oml.impl.OmlPackageImpl#getSameAsPredicate()
* @generated
*/
- int SAME_AS_PREDICATE = 72;
+ int SAME_AS_PREDICATE = 69;
/**
* The feature id for the 'Antecedent Rule' container reference.
@@ -9001,7 +8503,7 @@ public interface OmlPackage extends EPackage {
* @see io.opencaesar.oml.impl.OmlPackageImpl#getDifferentFromPredicate()
* @generated
*/
- int DIFFERENT_FROM_PREDICATE = 73;
+ int DIFFERENT_FROM_PREDICATE = 70;
/**
* The feature id for the 'Antecedent Rule' container reference.
@@ -9083,7 +8585,7 @@ public interface OmlPackage extends EPackage {
* @see io.opencaesar.oml.impl.OmlPackageImpl#getQuotedLiteral()
* @generated
*/
- int QUOTED_LITERAL = 74;
+ int QUOTED_LITERAL = 71;
/**
* The feature id for the 'Value' attribute.
@@ -9192,7 +8694,7 @@ public interface OmlPackage extends EPackage {
* @see io.opencaesar.oml.impl.OmlPackageImpl#getIntegerLiteral()
* @generated
*/
- int INTEGER_LITERAL = 75;
+ int INTEGER_LITERAL = 72;
/**
* The feature id for the 'Value' attribute.
@@ -9283,7 +8785,7 @@ public interface OmlPackage extends EPackage {
* @see io.opencaesar.oml.impl.OmlPackageImpl#getDecimalLiteral()
* @generated
*/
- int DECIMAL_LITERAL = 76;
+ int DECIMAL_LITERAL = 73;
/**
* The feature id for the 'Value' attribute.
@@ -9374,7 +8876,7 @@ public interface OmlPackage extends EPackage {
* @see io.opencaesar.oml.impl.OmlPackageImpl#getDoubleLiteral()
* @generated
*/
- int DOUBLE_LITERAL = 77;
+ int DOUBLE_LITERAL = 74;
/**
* The feature id for the 'Value' attribute.
@@ -9465,7 +8967,7 @@ public interface OmlPackage extends EPackage {
* @see io.opencaesar.oml.impl.OmlPackageImpl#getBooleanLiteral()
* @generated
*/
- int BOOLEAN_LITERAL = 78;
+ int BOOLEAN_LITERAL = 75;
/**
* The feature id for the 'Value' attribute.
@@ -9565,7 +9067,7 @@ public interface OmlPackage extends EPackage {
* @see io.opencaesar.oml.impl.OmlPackageImpl#getSeparatorKind()
* @generated
*/
- int SEPARATOR_KIND = 79;
+ int SEPARATOR_KIND = 76;
/**
* The meta object id for the '{@link io.opencaesar.oml.RangeRestrictionKind Range Restriction Kind}' enum.
@@ -9575,7 +9077,7 @@ public interface OmlPackage extends EPackage {
* @see io.opencaesar.oml.impl.OmlPackageImpl#getRangeRestrictionKind()
* @generated
*/
- int RANGE_RESTRICTION_KIND = 80;
+ int RANGE_RESTRICTION_KIND = 77;
/**
* The meta object id for the '{@link io.opencaesar.oml.CardinalityRestrictionKind Cardinality Restriction Kind}' enum.
@@ -9585,7 +9087,7 @@ public interface OmlPackage extends EPackage {
* @see io.opencaesar.oml.impl.OmlPackageImpl#getCardinalityRestrictionKind()
* @generated
*/
- int CARDINALITY_RESTRICTION_KIND = 81;
+ int CARDINALITY_RESTRICTION_KIND = 78;
/**
* The meta object id for the '{@link io.opencaesar.oml.ImportKind Import Kind}' enum.
@@ -9595,7 +9097,7 @@ public interface OmlPackage extends EPackage {
* @see io.opencaesar.oml.impl.OmlPackageImpl#getImportKind()
* @generated
*/
- int IMPORT_KIND = 82;
+ int IMPORT_KIND = 79;
/**
* The meta object id for the 'Unsigned Int' data type.
@@ -9604,7 +9106,7 @@ public interface OmlPackage extends EPackage {
* @see io.opencaesar.oml.impl.OmlPackageImpl#getUnsignedInt()
* @generated
*/
- int UNSIGNED_INT = 83;
+ int UNSIGNED_INT = 80;
/**
* The meta object id for the 'Unsigned Integer' data type.
@@ -9614,7 +9116,7 @@ public interface OmlPackage extends EPackage {
* @see io.opencaesar.oml.impl.OmlPackageImpl#getUnsignedInteger()
* @generated
*/
- int UNSIGNED_INTEGER = 84;
+ int UNSIGNED_INTEGER = 81;
/**
* The meta object id for the 'Decimal' data type.
@@ -9624,7 +9126,7 @@ public interface OmlPackage extends EPackage {
* @see io.opencaesar.oml.impl.OmlPackageImpl#getDecimal()
* @generated
*/
- int DECIMAL = 85;
+ int DECIMAL = 82;
/**
* The meta object id for the 'Double' data type.
@@ -9634,7 +9136,7 @@ public interface OmlPackage extends EPackage {
* @see io.opencaesar.oml.impl.OmlPackageImpl#getDouble()
* @generated
*/
- int DOUBLE = 86;
+ int DOUBLE = 83;
/**
* The meta object id for the 'ID' data type.
@@ -9644,7 +9146,7 @@ public interface OmlPackage extends EPackage {
* @see io.opencaesar.oml.impl.OmlPackageImpl#getID()
* @generated
*/
- int ID = 87;
+ int ID = 84;
/**
* The meta object id for the 'Namespace' data type.
@@ -9654,7 +9156,7 @@ public interface OmlPackage extends EPackage {
* @see io.opencaesar.oml.impl.OmlPackageImpl#getNamespace()
* @generated
*/
- int NAMESPACE = 88;
+ int NAMESPACE = 85;
/**
@@ -10626,38 +10128,6 @@ public interface OmlPackage extends EPackage {
*/
EReference getSpecializableProperty_OwnedEquivalences();
- /**
- * Returns the meta object for class '{@link io.opencaesar.oml.Classifier Classifier}'.
- *
- *
- * @return the meta object for class 'Classifier'.
- * @see io.opencaesar.oml.Classifier
- * @generated
- */
- EClass getClassifier();
-
- /**
- * Returns the meta object for the containment reference list '{@link io.opencaesar.oml.Classifier#getOwnedEquivalences Owned Equivalences}'.
- *
- *
- * @return the meta object for the containment reference list 'Owned Equivalences'.
- * @see io.opencaesar.oml.Classifier#getOwnedEquivalences()
- * @see #getClassifier()
- * @generated
- */
- EReference getClassifier_OwnedEquivalences();
-
- /**
- * Returns the meta object for the containment reference list '{@link io.opencaesar.oml.Classifier#getOwnedPropertyRestrictions Owned Property Restrictions}'.
- *
- *
- * @return the meta object for the containment reference list 'Owned Property Restrictions'.
- * @see io.opencaesar.oml.Classifier#getOwnedPropertyRestrictions()
- * @see #getClassifier()
- * @generated
- */
- EReference getClassifier_OwnedPropertyRestrictions();
-
/**
* Returns the meta object for class '{@link io.opencaesar.oml.Scalar Scalar}'.
*
@@ -10712,36 +10182,37 @@ public interface OmlPackage extends EPackage {
EClass getEntity();
/**
- * Returns the meta object for the containment reference list '{@link io.opencaesar.oml.Entity#getOwnedKeys Owned Keys}'.
+ * Returns the meta object for the containment reference list '{@link io.opencaesar.oml.Entity#getOwnedEquivalences Owned Equivalences}'.
*
*
- * @return the meta object for the containment reference list 'Owned Keys'.
- * @see io.opencaesar.oml.Entity#getOwnedKeys()
+ * @return the meta object for the containment reference list 'Owned Equivalences'.
+ * @see io.opencaesar.oml.Entity#getOwnedEquivalences()
* @see #getEntity()
* @generated
*/
- EReference getEntity_OwnedKeys();
+ EReference getEntity_OwnedEquivalences();
/**
- * Returns the meta object for class '{@link io.opencaesar.oml.Structure Structure}'.
+ * Returns the meta object for the containment reference list '{@link io.opencaesar.oml.Entity#getOwnedPropertyRestrictions Owned Property Restrictions}'.
*
*
- * @return the meta object for class 'Structure'.
- * @see io.opencaesar.oml.Structure
+ * @return the meta object for the containment reference list 'Owned Property Restrictions'.
+ * @see io.opencaesar.oml.Entity#getOwnedPropertyRestrictions()
+ * @see #getEntity()
* @generated
*/
- EClass getStructure();
+ EReference getEntity_OwnedPropertyRestrictions();
/**
- * Returns the meta object for the reference '{@link io.opencaesar.oml.Structure#getRef Ref}'.
+ * Returns the meta object for the containment reference list '{@link io.opencaesar.oml.Entity#getOwnedKeys Owned Keys}'.
*
*
- * @return the meta object for the reference 'Ref'.
- * @see io.opencaesar.oml.Structure#getRef()
- * @see #getStructure()
+ * @return the meta object for the containment reference list 'Owned Keys'.
+ * @see io.opencaesar.oml.Entity#getOwnedKeys()
+ * @see #getEntity()
* @generated
*/
- EReference getStructure_Ref();
+ EReference getEntity_OwnedKeys();
/**
* Returns the meta object for class '{@link io.opencaesar.oml.Aspect Aspect}'.
@@ -10963,80 +10434,6 @@ public interface OmlPackage extends EPackage {
*/
EOperation getScalarProperty__GetRangeList();
- /**
- * Returns the meta object for class '{@link io.opencaesar.oml.StructuredProperty Structured Property}'.
- *
- *
- * @return the meta object for class 'Structured Property'.
- * @see io.opencaesar.oml.StructuredProperty
- * @generated
- */
- EClass getStructuredProperty();
-
- /**
- * Returns the meta object for the reference '{@link io.opencaesar.oml.StructuredProperty#getRef Ref}'.
- *
- *
- * @return the meta object for the reference 'Ref'.
- * @see io.opencaesar.oml.StructuredProperty#getRef()
- * @see #getStructuredProperty()
- * @generated
- */
- EReference getStructuredProperty_Ref();
-
- /**
- * Returns the meta object for the attribute '{@link io.opencaesar.oml.StructuredProperty#isFunctional Functional}'.
- *
- *
- * @return the meta object for the attribute 'Functional'.
- * @see io.opencaesar.oml.StructuredProperty#isFunctional()
- * @see #getStructuredProperty()
- * @generated
- */
- EAttribute getStructuredProperty_Functional();
-
- /**
- * Returns the meta object for the reference list '{@link io.opencaesar.oml.StructuredProperty#getDomains Domains}'.
- *
- *
- * @return the meta object for the reference list 'Domains'.
- * @see io.opencaesar.oml.StructuredProperty#getDomains()
- * @see #getStructuredProperty()
- * @generated
- */
- EReference getStructuredProperty_Domains();
-
- /**
- * Returns the meta object for the reference list '{@link io.opencaesar.oml.StructuredProperty#getRanges Ranges}'.
- *
- *
- * @return the meta object for the reference list 'Ranges'.
- * @see io.opencaesar.oml.StructuredProperty#getRanges()
- * @see #getStructuredProperty()
- * @generated
- */
- EReference getStructuredProperty_Ranges();
-
- /**
- * Returns the meta object for the '{@link io.opencaesar.oml.StructuredProperty#getDomainList() Get Domain List}' operation.
- *
- *
- * @return the meta object for the 'Get Domain List' operation.
- * @see io.opencaesar.oml.StructuredProperty#getDomainList()
- * @generated
- */
- EOperation getStructuredProperty__GetDomainList();
-
- /**
- * Returns the meta object for the '{@link io.opencaesar.oml.StructuredProperty#getRangeList() Get Range List}' operation.
- *
- *
- * @return the meta object for the 'Get Range List' operation.
- * @see io.opencaesar.oml.StructuredProperty#getRangeList()
- * @generated
- */
- EOperation getStructuredProperty__GetRangeList();
-
/**
* Returns the meta object for class '{@link io.opencaesar.oml.Relation Relation}'.
*
@@ -11618,45 +11015,45 @@ public interface OmlPackage extends EPackage {
EReference getRelationInstance_Targets();
/**
- * Returns the meta object for class '{@link io.opencaesar.oml.StructureInstance Structure Instance}'.
+ * Returns the meta object for class '{@link io.opencaesar.oml.AnonymousConceptInstance Anonymous Concept Instance}'.
*
*
- * @return the meta object for class 'Structure Instance'.
- * @see io.opencaesar.oml.StructureInstance
+ * @return the meta object for class 'Anonymous Concept Instance'.
+ * @see io.opencaesar.oml.AnonymousConceptInstance
* @generated
*/
- EClass getStructureInstance();
+ EClass getAnonymousConceptInstance();
/**
- * Returns the meta object for the reference '{@link io.opencaesar.oml.StructureInstance#getType Type}'.
+ * Returns the meta object for the reference '{@link io.opencaesar.oml.AnonymousConceptInstance#getType Type}'.
*
*
* @return the meta object for the reference 'Type'.
- * @see io.opencaesar.oml.StructureInstance#getType()
- * @see #getStructureInstance()
+ * @see io.opencaesar.oml.AnonymousConceptInstance#getType()
+ * @see #getAnonymousConceptInstance()
* @generated
*/
- EReference getStructureInstance_Type();
+ EReference getAnonymousConceptInstance_Type();
/**
- * Returns the meta object for the '{@link io.opencaesar.oml.StructureInstance#getStructure() Get Structure}' operation.
+ * Returns the meta object for the '{@link io.opencaesar.oml.AnonymousConceptInstance#getEntity() Get Entity}' operation.
*
*
- * @return the meta object for the 'Get Structure' operation.
- * @see io.opencaesar.oml.StructureInstance#getStructure()
+ * @return the meta object for the 'Get Entity' operation.
+ * @see io.opencaesar.oml.AnonymousConceptInstance#getEntity()
* @generated
*/
- EOperation getStructureInstance__GetStructure();
+ EOperation getAnonymousConceptInstance__GetEntity();
/**
- * Returns the meta object for the '{@link io.opencaesar.oml.StructureInstance#getTypes() Get Types}' operation.
+ * Returns the meta object for the '{@link io.opencaesar.oml.AnonymousConceptInstance#getTypes() Get Types}' operation.
*
*
* @return the meta object for the 'Get Types' operation.
- * @see io.opencaesar.oml.StructureInstance#getTypes()
+ * @see io.opencaesar.oml.AnonymousConceptInstance#getTypes()
* @generated
*/
- EOperation getStructureInstance__GetTypes();
+ EOperation getAnonymousConceptInstance__GetTypes();
/**
* Returns the meta object for class '{@link io.opencaesar.oml.AnonymousRelationInstance Anonymous Relation Instance}'.
@@ -11877,15 +11274,15 @@ public interface OmlPackage extends EPackage {
EReference getPropertyRestrictionAxiom_Property();
/**
- * Returns the meta object for the container reference '{@link io.opencaesar.oml.PropertyRestrictionAxiom#getOwningClassifier Owning Classifier}'.
+ * Returns the meta object for the container reference '{@link io.opencaesar.oml.PropertyRestrictionAxiom#getOwningEntity Owning Entity}'.
*
*
- * @return the meta object for the container reference 'Owning Classifier'.
- * @see io.opencaesar.oml.PropertyRestrictionAxiom#getOwningClassifier()
+ * @return the meta object for the container reference 'Owning Entity'.
+ * @see io.opencaesar.oml.PropertyRestrictionAxiom#getOwningEntity()
* @see #getPropertyRestrictionAxiom()
* @generated
*/
- EReference getPropertyRestrictionAxiom_OwningClassifier();
+ EReference getPropertyRestrictionAxiom_OwningEntity();
/**
* Returns the meta object for the container reference '{@link io.opencaesar.oml.PropertyRestrictionAxiom#getOwningAxiom Owning Axiom}'.
@@ -11971,67 +11368,67 @@ public interface OmlPackage extends EPackage {
EOperation getLiteralEnumerationAxiom__GetCharacterizedTerm();
/**
- * Returns the meta object for class '{@link io.opencaesar.oml.ClassifierEquivalenceAxiom Classifier Equivalence Axiom}'.
+ * Returns the meta object for class '{@link io.opencaesar.oml.EntityEquivalenceAxiom Entity Equivalence Axiom}'.
*
*
- * @return the meta object for class 'Classifier Equivalence Axiom'.
- * @see io.opencaesar.oml.ClassifierEquivalenceAxiom
+ * @return the meta object for class 'Entity Equivalence Axiom'.
+ * @see io.opencaesar.oml.EntityEquivalenceAxiom
* @generated
*/
- EClass getClassifierEquivalenceAxiom();
+ EClass getEntityEquivalenceAxiom();
/**
- * Returns the meta object for the reference list '{@link io.opencaesar.oml.ClassifierEquivalenceAxiom#getSuperClassifiers Super Classifiers}'.
+ * Returns the meta object for the reference list '{@link io.opencaesar.oml.EntityEquivalenceAxiom#getSuperEntities Super Entities}'.
*
*
- * @return the meta object for the reference list 'Super Classifiers'.
- * @see io.opencaesar.oml.ClassifierEquivalenceAxiom#getSuperClassifiers()
- * @see #getClassifierEquivalenceAxiom()
+ * @return the meta object for the reference list 'Super Entities'.
+ * @see io.opencaesar.oml.EntityEquivalenceAxiom#getSuperEntities()
+ * @see #getEntityEquivalenceAxiom()
* @generated
*/
- EReference getClassifierEquivalenceAxiom_SuperClassifiers();
+ EReference getEntityEquivalenceAxiom_SuperEntities();
/**
- * Returns the meta object for the containment reference list '{@link io.opencaesar.oml.ClassifierEquivalenceAxiom#getOwnedPropertyRestrictions Owned Property Restrictions}'.
+ * Returns the meta object for the containment reference list '{@link io.opencaesar.oml.EntityEquivalenceAxiom#getOwnedPropertyRestrictions Owned Property Restrictions}'.
*
*
* @return the meta object for the containment reference list 'Owned Property Restrictions'.
- * @see io.opencaesar.oml.ClassifierEquivalenceAxiom#getOwnedPropertyRestrictions()
- * @see #getClassifierEquivalenceAxiom()
+ * @see io.opencaesar.oml.EntityEquivalenceAxiom#getOwnedPropertyRestrictions()
+ * @see #getEntityEquivalenceAxiom()
* @generated
*/
- EReference getClassifierEquivalenceAxiom_OwnedPropertyRestrictions();
+ EReference getEntityEquivalenceAxiom_OwnedPropertyRestrictions();
/**
- * Returns the meta object for the container reference '{@link io.opencaesar.oml.ClassifierEquivalenceAxiom#getOwningClassifier Owning Classifier}'.
+ * Returns the meta object for the container reference '{@link io.opencaesar.oml.EntityEquivalenceAxiom#getOwningEntity Owning Entity}'.
*
*
- * @return the meta object for the container reference 'Owning Classifier'.
- * @see io.opencaesar.oml.ClassifierEquivalenceAxiom#getOwningClassifier()
- * @see #getClassifierEquivalenceAxiom()
+ * @return the meta object for the container reference 'Owning Entity'.
+ * @see io.opencaesar.oml.EntityEquivalenceAxiom#getOwningEntity()
+ * @see #getEntityEquivalenceAxiom()
* @generated
*/
- EReference getClassifierEquivalenceAxiom_OwningClassifier();
+ EReference getEntityEquivalenceAxiom_OwningEntity();
/**
- * Returns the meta object for the '{@link io.opencaesar.oml.ClassifierEquivalenceAxiom#getSubClassifier() Get Sub Classifier}' operation.
+ * Returns the meta object for the '{@link io.opencaesar.oml.EntityEquivalenceAxiom#getSubEntity() Get Sub Entity}' operation.
*
*
- * @return the meta object for the 'Get Sub Classifier' operation.
- * @see io.opencaesar.oml.ClassifierEquivalenceAxiom#getSubClassifier()
+ * @return the meta object for the 'Get Sub Entity' operation.
+ * @see io.opencaesar.oml.EntityEquivalenceAxiom#getSubEntity()
* @generated
*/
- EOperation getClassifierEquivalenceAxiom__GetSubClassifier();
+ EOperation getEntityEquivalenceAxiom__GetSubEntity();
/**
- * Returns the meta object for the '{@link io.opencaesar.oml.ClassifierEquivalenceAxiom#getCharacterizedTerm() Get Characterized Term}' operation.
+ * Returns the meta object for the '{@link io.opencaesar.oml.EntityEquivalenceAxiom#getCharacterizedTerm() Get Characterized Term}' operation.
*
*
* @return the meta object for the 'Get Characterized Term' operation.
- * @see io.opencaesar.oml.ClassifierEquivalenceAxiom#getCharacterizedTerm()
+ * @see io.opencaesar.oml.EntityEquivalenceAxiom#getCharacterizedTerm()
* @generated
*/
- EOperation getClassifierEquivalenceAxiom__GetCharacterizedTerm();
+ EOperation getEntityEquivalenceAxiom__GetCharacterizedTerm();
/**
* Returns the meta object for class '{@link io.opencaesar.oml.ScalarEquivalenceAxiom Scalar Equivalence Axiom}'.
@@ -13825,32 +13222,6 @@ interface Literals {
*/
EReference SPECIALIZABLE_PROPERTY__OWNED_EQUIVALENCES = eINSTANCE.getSpecializableProperty_OwnedEquivalences();
- /**
- * The meta object literal for the '{@link io.opencaesar.oml.impl.ClassifierImpl Classifier}' class.
- *
- *
- * @see io.opencaesar.oml.impl.ClassifierImpl
- * @see io.opencaesar.oml.impl.OmlPackageImpl#getClassifier()
- * @generated
- */
- EClass CLASSIFIER = eINSTANCE.getClassifier();
-
- /**
- * The meta object literal for the 'Owned Equivalences' containment reference list feature.
- *
- *
- * @generated
- */
- EReference CLASSIFIER__OWNED_EQUIVALENCES = eINSTANCE.getClassifier_OwnedEquivalences();
-
- /**
- * The meta object literal for the 'Owned Property Restrictions' containment reference list feature.
- *
- *
- * @generated
- */
- EReference CLASSIFIER__OWNED_PROPERTY_RESTRICTIONS = eINSTANCE.getClassifier_OwnedPropertyRestrictions();
-
/**
* The meta object literal for the '{@link io.opencaesar.oml.impl.ScalarImpl Scalar}' class.
*
@@ -13896,30 +13267,28 @@ interface Literals {
EClass ENTITY = eINSTANCE.getEntity();
/**
- * The meta object literal for the 'Owned Keys' containment reference list feature.
+ * The meta object literal for the 'Owned Equivalences' containment reference list feature.
*
*
* @generated
*/
- EReference ENTITY__OWNED_KEYS = eINSTANCE.getEntity_OwnedKeys();
+ EReference ENTITY__OWNED_EQUIVALENCES = eINSTANCE.getEntity_OwnedEquivalences();
/**
- * The meta object literal for the '{@link io.opencaesar.oml.impl.StructureImpl Structure}' class.
+ * The meta object literal for the 'Owned Property Restrictions' containment reference list feature.
*
*
- * @see io.opencaesar.oml.impl.StructureImpl
- * @see io.opencaesar.oml.impl.OmlPackageImpl#getStructure()
* @generated
*/
- EClass STRUCTURE = eINSTANCE.getStructure();
+ EReference ENTITY__OWNED_PROPERTY_RESTRICTIONS = eINSTANCE.getEntity_OwnedPropertyRestrictions();
/**
- * The meta object literal for the 'Ref' reference feature.
+ * The meta object literal for the 'Owned Keys' containment reference list feature.
*
*
* @generated
*/
- EReference STRUCTURE__REF = eINSTANCE.getStructure_Ref();
+ EReference ENTITY__OWNED_KEYS = eINSTANCE.getEntity_OwnedKeys();
/**
* The meta object literal for the '{@link io.opencaesar.oml.impl.AspectImpl Aspect}' class.
@@ -14101,64 +13470,6 @@ interface Literals {
*/
EOperation SCALAR_PROPERTY___GET_RANGE_LIST = eINSTANCE.getScalarProperty__GetRangeList();
- /**
- * The meta object literal for the '{@link io.opencaesar.oml.impl.StructuredPropertyImpl Structured Property}' class.
- *
- *
- * @see io.opencaesar.oml.impl.StructuredPropertyImpl
- * @see io.opencaesar.oml.impl.OmlPackageImpl#getStructuredProperty()
- * @generated
- */
- EClass STRUCTURED_PROPERTY = eINSTANCE.getStructuredProperty();
-
- /**
- * The meta object literal for the 'Ref' reference feature.
- *
- *
- * @generated
- */
- EReference STRUCTURED_PROPERTY__REF = eINSTANCE.getStructuredProperty_Ref();
-
- /**
- * The meta object literal for the 'Functional' attribute feature.
- *
- *
- * @generated
- */
- EAttribute STRUCTURED_PROPERTY__FUNCTIONAL = eINSTANCE.getStructuredProperty_Functional();
-
- /**
- * The meta object literal for the 'Domains' reference list feature.
- *
- *
- * @generated
- */
- EReference STRUCTURED_PROPERTY__DOMAINS = eINSTANCE.getStructuredProperty_Domains();
-
- /**
- * The meta object literal for the 'Ranges' reference list feature.
- *
- *
- * @generated
- */
- EReference STRUCTURED_PROPERTY__RANGES = eINSTANCE.getStructuredProperty_Ranges();
-
- /**
- * The meta object literal for the 'Get Domain List' operation.
- *
- *
- * @generated
- */
- EOperation STRUCTURED_PROPERTY___GET_DOMAIN_LIST = eINSTANCE.getStructuredProperty__GetDomainList();
-
- /**
- * The meta object literal for the 'Get Range List' operation.
- *
- *
- * @generated
- */
- EOperation STRUCTURED_PROPERTY___GET_RANGE_LIST = eINSTANCE.getStructuredProperty__GetRangeList();
-
/**
* The meta object literal for the '{@link io.opencaesar.oml.impl.RelationImpl Relation}' class.
*
@@ -14632,14 +13943,14 @@ interface Literals {
EReference RELATION_INSTANCE__TARGETS = eINSTANCE.getRelationInstance_Targets();
/**
- * The meta object literal for the '{@link io.opencaesar.oml.impl.StructureInstanceImpl Structure Instance}' class.
+ * The meta object literal for the '{@link io.opencaesar.oml.impl.AnonymousConceptInstanceImpl Anonymous Concept Instance}' class.
*
*
- * @see io.opencaesar.oml.impl.StructureInstanceImpl
- * @see io.opencaesar.oml.impl.OmlPackageImpl#getStructureInstance()
+ * @see io.opencaesar.oml.impl.AnonymousConceptInstanceImpl
+ * @see io.opencaesar.oml.impl.OmlPackageImpl#getAnonymousConceptInstance()
* @generated
*/
- EClass STRUCTURE_INSTANCE = eINSTANCE.getStructureInstance();
+ EClass ANONYMOUS_CONCEPT_INSTANCE = eINSTANCE.getAnonymousConceptInstance();
/**
* The meta object literal for the 'Type' reference feature.
@@ -14647,15 +13958,15 @@ interface Literals {
*
* @generated
*/
- EReference STRUCTURE_INSTANCE__TYPE = eINSTANCE.getStructureInstance_Type();
+ EReference ANONYMOUS_CONCEPT_INSTANCE__TYPE = eINSTANCE.getAnonymousConceptInstance_Type();
/**
- * The meta object literal for the 'Get Structure' operation.
+ * The meta object literal for the 'Get Entity' operation.
*
*
* @generated
*/
- EOperation STRUCTURE_INSTANCE___GET_STRUCTURE = eINSTANCE.getStructureInstance__GetStructure();
+ EOperation ANONYMOUS_CONCEPT_INSTANCE___GET_ENTITY = eINSTANCE.getAnonymousConceptInstance__GetEntity();
/**
* The meta object literal for the 'Get Types' operation.
@@ -14663,7 +13974,7 @@ interface Literals {
*
* @generated
*/
- EOperation STRUCTURE_INSTANCE___GET_TYPES = eINSTANCE.getStructureInstance__GetTypes();
+ EOperation ANONYMOUS_CONCEPT_INSTANCE___GET_TYPES = eINSTANCE.getAnonymousConceptInstance__GetTypes();
/**
* The meta object literal for the '{@link io.opencaesar.oml.impl.AnonymousRelationInstanceImpl Anonymous Relation Instance}' class.
@@ -14844,12 +14155,12 @@ interface Literals {
EReference PROPERTY_RESTRICTION_AXIOM__PROPERTY = eINSTANCE.getPropertyRestrictionAxiom_Property();
/**
- * The meta object literal for the 'Owning Classifier' container reference feature.
+ * The meta object literal for the 'Owning Entity' container reference feature.
*
*
* @generated
*/
- EReference PROPERTY_RESTRICTION_AXIOM__OWNING_CLASSIFIER = eINSTANCE.getPropertyRestrictionAxiom_OwningClassifier();
+ EReference PROPERTY_RESTRICTION_AXIOM__OWNING_ENTITY = eINSTANCE.getPropertyRestrictionAxiom_OwningEntity();
/**
* The meta object literal for the 'Owning Axiom' container reference feature.
@@ -14918,22 +14229,22 @@ interface Literals {
EOperation LITERAL_ENUMERATION_AXIOM___GET_CHARACTERIZED_TERM = eINSTANCE.getLiteralEnumerationAxiom__GetCharacterizedTerm();
/**
- * The meta object literal for the '{@link io.opencaesar.oml.impl.ClassifierEquivalenceAxiomImpl Classifier Equivalence Axiom}' class.
+ * The meta object literal for the '{@link io.opencaesar.oml.impl.EntityEquivalenceAxiomImpl Entity Equivalence Axiom}' class.
*
*
- * @see io.opencaesar.oml.impl.ClassifierEquivalenceAxiomImpl
- * @see io.opencaesar.oml.impl.OmlPackageImpl#getClassifierEquivalenceAxiom()
+ * @see io.opencaesar.oml.impl.EntityEquivalenceAxiomImpl
+ * @see io.opencaesar.oml.impl.OmlPackageImpl#getEntityEquivalenceAxiom()
* @generated
*/
- EClass CLASSIFIER_EQUIVALENCE_AXIOM = eINSTANCE.getClassifierEquivalenceAxiom();
+ EClass ENTITY_EQUIVALENCE_AXIOM = eINSTANCE.getEntityEquivalenceAxiom();
/**
- * The meta object literal for the 'Super Classifiers' reference list feature.
+ * The meta object literal for the 'Super Entities' reference list feature.
*
*
* @generated
*/
- EReference CLASSIFIER_EQUIVALENCE_AXIOM__SUPER_CLASSIFIERS = eINSTANCE.getClassifierEquivalenceAxiom_SuperClassifiers();
+ EReference ENTITY_EQUIVALENCE_AXIOM__SUPER_ENTITIES = eINSTANCE.getEntityEquivalenceAxiom_SuperEntities();
/**
* The meta object literal for the 'Owned Property Restrictions' containment reference list feature.
@@ -14941,23 +14252,23 @@ interface Literals {
*
* @generated
*/
- EReference CLASSIFIER_EQUIVALENCE_AXIOM__OWNED_PROPERTY_RESTRICTIONS = eINSTANCE.getClassifierEquivalenceAxiom_OwnedPropertyRestrictions();
+ EReference ENTITY_EQUIVALENCE_AXIOM__OWNED_PROPERTY_RESTRICTIONS = eINSTANCE.getEntityEquivalenceAxiom_OwnedPropertyRestrictions();
/**
- * The meta object literal for the 'Owning Classifier' container reference feature.
+ * The meta object literal for the 'Owning Entity' container reference feature.
*
*
* @generated
*/
- EReference CLASSIFIER_EQUIVALENCE_AXIOM__OWNING_CLASSIFIER = eINSTANCE.getClassifierEquivalenceAxiom_OwningClassifier();
+ EReference ENTITY_EQUIVALENCE_AXIOM__OWNING_ENTITY = eINSTANCE.getEntityEquivalenceAxiom_OwningEntity();
/**
- * The meta object literal for the 'Get Sub Classifier' operation.
+ * The meta object literal for the 'Get Sub Entity' operation.
*
*
* @generated
*/
- EOperation CLASSIFIER_EQUIVALENCE_AXIOM___GET_SUB_CLASSIFIER = eINSTANCE.getClassifierEquivalenceAxiom__GetSubClassifier();
+ EOperation ENTITY_EQUIVALENCE_AXIOM___GET_SUB_ENTITY = eINSTANCE.getEntityEquivalenceAxiom__GetSubEntity();
/**
* The meta object literal for the 'Get Characterized Term' operation.
@@ -14965,7 +14276,7 @@ interface Literals {
*
* @generated
*/
- EOperation CLASSIFIER_EQUIVALENCE_AXIOM___GET_CHARACTERIZED_TERM = eINSTANCE.getClassifierEquivalenceAxiom__GetCharacterizedTerm();
+ EOperation ENTITY_EQUIVALENCE_AXIOM___GET_CHARACTERIZED_TERM = eINSTANCE.getEntityEquivalenceAxiom__GetCharacterizedTerm();
/**
* The meta object literal for the '{@link io.opencaesar.oml.impl.ScalarEquivalenceAxiomImpl Scalar Equivalence Axiom}' class.
diff --git a/io.opencaesar.oml/src-gen/io/opencaesar/oml/PropertyCardinalityRestrictionAxiom.java b/io.opencaesar.oml/src-gen/io/opencaesar/oml/PropertyCardinalityRestrictionAxiom.java
index 6e8823d1..3190557e 100644
--- a/io.opencaesar.oml/src-gen/io/opencaesar/oml/PropertyCardinalityRestrictionAxiom.java
+++ b/io.opencaesar.oml/src-gen/io/opencaesar/oml/PropertyCardinalityRestrictionAxiom.java
@@ -27,7 +27,7 @@
*
* PropertyCardinalityRestrictionAxiom is a [=PropertyRestrictionAxiom=] that restricts the cardinality of a [=property=]
* to an exact value, a minimum value or a maximum value. This restrictions can apply either to all values of the property
- * in the restricting [=classifier=], or only to those values classified by a specific subtype of the range.
+ * in the restricting [=Entity=], or only to those values classified by a specific subtype of the range.
*
*
*
diff --git a/io.opencaesar.oml/src-gen/io/opencaesar/oml/PropertyRangeRestrictionAxiom.java b/io.opencaesar.oml/src-gen/io/opencaesar/oml/PropertyRangeRestrictionAxiom.java
index 66b57fa0..a5fbc972 100644
--- a/io.opencaesar.oml/src-gen/io/opencaesar/oml/PropertyRangeRestrictionAxiom.java
+++ b/io.opencaesar.oml/src-gen/io/opencaesar/oml/PropertyRangeRestrictionAxiom.java
@@ -27,7 +27,7 @@
*
* PropertyRangeRestrictionAxiom is a [=PropertyRestrictionAxiom=] that restricts the range of a [=property=] to
* a [=type=] that specializes the original range. This restrictions may apply to `all` or to `some` values of the property
- * that have the restricting [=classifier=] as a domain.
+ * that have the restricting [=Entity=] as a domain.
*
*
*
diff --git a/io.opencaesar.oml/src-gen/io/opencaesar/oml/PropertyRestrictionAxiom.java b/io.opencaesar.oml/src-gen/io/opencaesar/oml/PropertyRestrictionAxiom.java
index 26077513..0eafe528 100644
--- a/io.opencaesar.oml/src-gen/io/opencaesar/oml/PropertyRestrictionAxiom.java
+++ b/io.opencaesar.oml/src-gen/io/opencaesar/oml/PropertyRestrictionAxiom.java
@@ -25,8 +25,8 @@
*
*
*
- * PropertyRestrictionAxiom is an [=Axiom=] specified on a [=Classifier=] that places some restriction on the value of a [=SemanticProperty=]
- * in the context of the classifier.
+ * PropertyRestrictionAxiom is an [=Axiom=] specified on a [=Entity=] that places some restriction on the value of a [=SemanticProperty=]
+ * in the context of the entity.
*
*
*
*
@@ -70,48 +70,48 @@ public interface PropertyRestrictionAxiom extends Axiom {
void setProperty(SemanticProperty value);
/**
- * Returns the value of the 'Owning Classifier' container reference.
- * It is bidirectional and its opposite is '{@link io.opencaesar.oml.Classifier#getOwnedPropertyRestrictions Owned Property Restrictions}'.
+ * Returns the value of the 'Owning Entity' container reference.
+ * It is bidirectional and its opposite is '{@link io.opencaesar.oml.Entity#getOwnedPropertyRestrictions Owned Property Restrictions}'.
*
*
*
- * The owning classifier specified by this axiom
+ * The owning entity specified by this axiom
*
- * @return the value of the 'Owning Classifier' container reference.
- * @see #setOwningClassifier(Classifier)
- * @see io.opencaesar.oml.OmlPackage#getPropertyRestrictionAxiom_OwningClassifier()
- * @see io.opencaesar.oml.Classifier#getOwnedPropertyRestrictions
+ * @return the value of the 'Owning Entity' container reference.
+ * @see #setOwningEntity(Entity)
+ * @see io.opencaesar.oml.OmlPackage#getPropertyRestrictionAxiom_OwningEntity()
+ * @see io.opencaesar.oml.Entity#getOwnedPropertyRestrictions
* @model opposite="ownedPropertyRestrictions" transient="false"
* @generated
*/
- Classifier getOwningClassifier();
+ Entity getOwningEntity();
/**
- * Sets the value of the '{@link io.opencaesar.oml.PropertyRestrictionAxiom#getOwningClassifier Owning Classifier}' container reference.
+ * Sets the value of the '{@link io.opencaesar.oml.PropertyRestrictionAxiom#getOwningEntity Owning Entity}' container reference.
*
*
- * @param value the new value of the 'Owning Classifier' container reference.
- * @see #getOwningClassifier()
+ * @param value the new value of the 'Owning Entity' container reference.
+ * @see #getOwningEntity()
* @generated
*/
- void setOwningClassifier(Classifier value);
+ void setOwningEntity(Entity value);
/**
* Returns the value of the 'Owning Axiom' container reference.
- * It is bidirectional and its opposite is '{@link io.opencaesar.oml.ClassifierEquivalenceAxiom#getOwnedPropertyRestrictions Owned Property Restrictions}'.
+ * It is bidirectional and its opposite is '{@link io.opencaesar.oml.EntityEquivalenceAxiom#getOwnedPropertyRestrictions Owned Property Restrictions}'.
*
*
*
- * The owning classifier equivalence axiom specified by this axiom
+ * The owning entity equivalence axiom specified by this axiom
*
* @return the value of the 'Owning Axiom' container reference.
- * @see #setOwningAxiom(ClassifierEquivalenceAxiom)
+ * @see #setOwningAxiom(EntityEquivalenceAxiom)
* @see io.opencaesar.oml.OmlPackage#getPropertyRestrictionAxiom_OwningAxiom()
- * @see io.opencaesar.oml.ClassifierEquivalenceAxiom#getOwnedPropertyRestrictions
+ * @see io.opencaesar.oml.EntityEquivalenceAxiom#getOwnedPropertyRestrictions
* @model opposite="ownedPropertyRestrictions" transient="false"
* @generated
*/
- ClassifierEquivalenceAxiom getOwningAxiom();
+ EntityEquivalenceAxiom getOwningAxiom();
/**
* Sets the value of the '{@link io.opencaesar.oml.PropertyRestrictionAxiom#getOwningAxiom Owning Axiom}' container reference.
@@ -121,7 +121,7 @@ public interface PropertyRestrictionAxiom extends Axiom {
* @see #getOwningAxiom()
* @generated
*/
- void setOwningAxiom(ClassifierEquivalenceAxiom value);
+ void setOwningAxiom(EntityEquivalenceAxiom value);
/**
*
@@ -132,7 +132,7 @@ public interface PropertyRestrictionAxiom extends Axiom {
* @model kind="operation" unique="false"
* @generated
*/
- Classifier getRestrictingDomain();
+ Entity getRestrictingDomain();
/**
*
@@ -140,6 +140,6 @@ public interface PropertyRestrictionAxiom extends Axiom {
* @model kind="operation" unique="false"
* @generated
*/
- Classifier getCharacterizedTerm();
+ Entity getCharacterizedTerm();
} // PropertyRestrictionAxiom
diff --git a/io.opencaesar.oml/src-gen/io/opencaesar/oml/Relation.java b/io.opencaesar.oml/src-gen/io/opencaesar/oml/Relation.java
index 6c9d8c84..ff260f78 100644
--- a/io.opencaesar.oml/src-gen/io/opencaesar/oml/Relation.java
+++ b/io.opencaesar.oml/src-gen/io/opencaesar/oml/Relation.java
@@ -142,7 +142,7 @@ public interface Relation extends SemanticProperty {
* @model kind="operation" unique="false"
* @generated
*/
- EList getDomainList();
+ EList getDomainList();
/**
*
diff --git a/io.opencaesar.oml/src-gen/io/opencaesar/oml/ScalarProperty.java b/io.opencaesar.oml/src-gen/io/opencaesar/oml/ScalarProperty.java
index 26dfa61f..47d55402 100644
--- a/io.opencaesar.oml/src-gen/io/opencaesar/oml/ScalarProperty.java
+++ b/io.opencaesar.oml/src-gen/io/opencaesar/oml/ScalarProperty.java
@@ -96,18 +96,18 @@ public interface ScalarProperty extends SemanticProperty, SpecializableProperty
/**
* Returns the value of the 'Domains' reference list.
- * The list contents are of type {@link io.opencaesar.oml.Classifier}.
+ * The list contents are of type {@link io.opencaesar.oml.Entity}.
*
*
*
- * The classifier that is the domain of this property
+ * The entity that is the domain of this property
*
* @return the value of the 'Domains' reference list.
* @see io.opencaesar.oml.OmlPackage#getScalarProperty_Domains()
* @model
* @generated
*/
- EList getDomains();
+ EList getDomains();
/**
* Returns the value of the 'Ranges' reference list.
@@ -130,7 +130,7 @@ public interface ScalarProperty extends SemanticProperty, SpecializableProperty
* @model kind="operation" unique="false"
* @generated
*/
- EList getDomainList();
+ EList getDomainList();
/**
*
diff --git a/io.opencaesar.oml/src-gen/io/opencaesar/oml/SemanticProperty.java b/io.opencaesar.oml/src-gen/io/opencaesar/oml/SemanticProperty.java
index dd47c403..08fb691b 100644
--- a/io.opencaesar.oml/src-gen/io/opencaesar/oml/SemanticProperty.java
+++ b/io.opencaesar.oml/src-gen/io/opencaesar/oml/SemanticProperty.java
@@ -26,7 +26,7 @@
*
*
*
- * SemanticProperty is a [=property=] with DL semantics that relates a [=classifier=] acting as its
+ * SemanticProperty is a [=property=] with DL semantics that relates a [=entity=] acting as its
* domain to a [=type=] acting as its range.
*
*
@@ -57,7 +57,7 @@ public interface SemanticProperty extends Property {
* @model kind="operation" unique="false"
* @generated
*/
- EList getDomainList();
+ EList getDomainList();
/**
*
diff --git a/io.opencaesar.oml/src-gen/io/opencaesar/oml/Structure.java b/io.opencaesar.oml/src-gen/io/opencaesar/oml/Structure.java
deleted file mode 100644
index 21d197a9..00000000
--- a/io.opencaesar.oml/src-gen/io/opencaesar/oml/Structure.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/**
- *
- * Copyright 2019-2022 California Institute of Technology ("Caltech").
- * U.S. Government sponsorship acknowledged.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-package io.opencaesar.oml;
-
-
-/**
- *
- * A representation of the model object 'Structure'.
- *
- *
- *
- * Structure is a [=classifier=] whose [=instances=] are anonymous and assignable as values to [=StructuredProperties=].
- *
- *
- *
- * The following features are supported:
- *
- *
- *
{@link io.opencaesar.oml.Structure#getRef Ref}
- *
- *
- * @see io.opencaesar.oml.OmlPackage#getStructure()
- * @model annotation="https://tabatkins.github.io/bikeshed heading='Types'"
- * @generated
- */
-public interface Structure extends Classifier {
- /**
- * Returns the value of the 'Ref' reference.
- *
- *
- *
- * A ref to another structure
- *
- * @return the value of the 'Ref' reference.
- * @see #setRef(Structure)
- * @see io.opencaesar.oml.OmlPackage#getStructure_Ref()
- * @model
- * @generated
- */
- Structure getRef();
-
- /**
- * Sets the value of the '{@link io.opencaesar.oml.Structure#getRef Ref}' reference.
- *
- *
- * @param value the new value of the 'Ref' reference.
- * @see #getRef()
- * @generated
- */
- void setRef(Structure value);
-
-} // Structure
diff --git a/io.opencaesar.oml/src-gen/io/opencaesar/oml/StructuredProperty.java b/io.opencaesar.oml/src-gen/io/opencaesar/oml/StructuredProperty.java
deleted file mode 100644
index a00908c8..00000000
--- a/io.opencaesar.oml/src-gen/io/opencaesar/oml/StructuredProperty.java
+++ /dev/null
@@ -1,143 +0,0 @@
-/**
- *
- * Copyright 2019-2022 California Institute of Technology ("Caltech").
- * U.S. Government sponsorship acknowledged.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-package io.opencaesar.oml;
-
-import org.eclipse.emf.common.util.EList;
-
-/**
- *
- * A representation of the model object 'Structured Property'.
- *
- *
- *
- * StructuredProperty is a [=SemanticProperty=] whose range is a [=Structure=]. It can specialize other [=StructuredProperties=].
- *
- *
- *
- *
- * @see io.opencaesar.oml.OmlPackage#getStructuredProperty()
- * @model annotation="https://tabatkins.github.io/bikeshed heading='Properties'"
- * @generated
- */
-public interface StructuredProperty extends SemanticProperty, SpecializableProperty {
- /**
- * Returns the value of the 'Ref' reference.
- *
- *
- *
- * A ref to another structured property
- *
- * @return the value of the 'Ref' reference.
- * @see #setRef(StructuredProperty)
- * @see io.opencaesar.oml.OmlPackage#getStructuredProperty_Ref()
- * @model
- * @generated
- */
- StructuredProperty getRef();
-
- /**
- * Sets the value of the '{@link io.opencaesar.oml.StructuredProperty#getRef Ref}' reference.
- *
- *
- * @param value the new value of the 'Ref' reference.
- * @see #getRef()
- * @generated
- */
- void setRef(StructuredProperty value);
-
- /**
- * Returns the value of the 'Functional' attribute.
- *
- *
- *
- * Whether this property is functional (has a max of one value per instance)
- *
- * @return the value of the 'Functional' attribute.
- * @see #setFunctional(boolean)
- * @see io.opencaesar.oml.OmlPackage#getStructuredProperty_Functional()
- * @model unique="false"
- * @generated
- */
- boolean isFunctional();
-
- /**
- * Sets the value of the '{@link io.opencaesar.oml.StructuredProperty#isFunctional Functional}' attribute.
- *
- *
- * @param value the new value of the 'Functional' attribute.
- * @see #isFunctional()
- * @generated
- */
- void setFunctional(boolean value);
-
- /**
- * Returns the value of the 'Domains' reference list.
- * The list contents are of type {@link io.opencaesar.oml.Classifier}.
- *
- *
- *
- * The classifiers that are the domains of this property
- *
- * @return the value of the 'Domains' reference list.
- * @see io.opencaesar.oml.OmlPackage#getStructuredProperty_Domains()
- * @model
- * @generated
- */
- EList getDomains();
-
- /**
- * Returns the value of the 'Ranges' reference list.
- * The list contents are of type {@link io.opencaesar.oml.Structure}.
- *
- *
- *
- * The structures that are the range of this property
- *
- * @return the value of the 'Ranges' reference list.
- * @see io.opencaesar.oml.OmlPackage#getStructuredProperty_Ranges()
- * @model
- * @generated
- */
- EList getRanges();
-
- /**
- *
- *
- * @model kind="operation" unique="false"
- * @generated
- */
- EList getDomainList();
-
- /**
- *
- *
- * @model kind="operation" unique="false"
- * @generated
- */
- EList getRangeList();
-
-} // StructuredProperty
diff --git a/io.opencaesar.oml/src-gen/io/opencaesar/oml/impl/StructureInstanceImpl.java b/io.opencaesar.oml/src-gen/io/opencaesar/oml/impl/AnonymousConceptInstanceImpl.java
similarity index 66%
rename from io.opencaesar.oml/src-gen/io/opencaesar/oml/impl/StructureInstanceImpl.java
rename to io.opencaesar.oml/src-gen/io/opencaesar/oml/impl/AnonymousConceptInstanceImpl.java
index 074d6611..0b957db8 100644
--- a/io.opencaesar.oml/src-gen/io/opencaesar/oml/impl/StructureInstanceImpl.java
+++ b/io.opencaesar.oml/src-gen/io/opencaesar/oml/impl/AnonymousConceptInstanceImpl.java
@@ -18,12 +18,11 @@
*/
package io.opencaesar.oml.impl;
-import io.opencaesar.oml.Classifier;
+import io.opencaesar.oml.AnonymousConceptInstance;
+import io.opencaesar.oml.Entity;
import io.opencaesar.oml.OmlPackage;
+import io.opencaesar.oml.Relation;
import io.opencaesar.oml.SemanticProperty;
-import io.opencaesar.oml.Structure;
-import io.opencaesar.oml.StructureInstance;
-import io.opencaesar.oml.StructuredProperty;
import java.lang.reflect.InvocationTargetException;
@@ -37,20 +36,22 @@
import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.xtext.xbase.lib.IterableExtensions;
+
/**
*
- * An implementation of the model object 'Structure Instance'.
+ * An implementation of the model object 'Anonymous Concept Instance'.
*
*
- *
- * @generated
- */
-public class StructuredPropertyImpl extends SemanticPropertyImpl implements StructuredProperty {
- /**
- * The cached value of the '{@link #getOwnedSpecializations() Owned Specializations}' containment reference list.
- *
- *
- * @see #getOwnedSpecializations()
- * @generated
- * @ordered
- */
- protected EList ownedSpecializations;
-
- /**
- * The cached value of the '{@link #getOwnedEquivalences() Owned Equivalences}' containment reference list.
- *
- *
- * @see #getOwnedEquivalences()
- * @generated
- * @ordered
- */
- protected EList ownedEquivalences;
-
- /**
- * The cached value of the '{@link #getRef() Ref}' reference.
- *
- *
- * @see #getRef()
- * @generated
- * @ordered
- */
- protected StructuredProperty ref;
-
- /**
- * The default value of the '{@link #isFunctional() Functional}' attribute.
- *
- *
- * @see #isFunctional()
- * @generated
- * @ordered
- */
- protected static final boolean FUNCTIONAL_EDEFAULT = false;
-
- /**
- * The cached value of the '{@link #isFunctional() Functional}' attribute.
- *
- *
- * @see #isFunctional()
- * @generated
- * @ordered
- */
- protected boolean functional = FUNCTIONAL_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getDomains() Domains}' reference list.
- *
- *
- * @see #getDomains()
- * @generated
- * @ordered
- */
- protected EList domains;
-
- /**
- * The cached value of the '{@link #getRanges() Ranges}' reference list.
- *
- *
- * @see #getRanges()
- * @generated
- * @ordered
- */
- protected EList ranges;
-
- /**
- *
- *
- * @generated
- */
- protected StructuredPropertyImpl() {
- super();
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return OmlPackage.Literals.STRUCTURED_PROPERTY;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public Vocabulary getOwningVocabulary() {
- if (eContainerFeatureID() != OmlPackage.STRUCTURED_PROPERTY__OWNING_VOCABULARY) return null;
- return (Vocabulary)eContainer();
- }
-
- /**
- *
- *
- * @generated
- */
- public Vocabulary basicGetOwningVocabulary() {
- if (eContainerFeatureID() != OmlPackage.STRUCTURED_PROPERTY__OWNING_VOCABULARY) return null;
- return (Vocabulary)eInternalContainer();
- }
-
- /**
- *
- *
- * @generated
- */
- public NotificationChain basicSetOwningVocabulary(Vocabulary newOwningVocabulary, NotificationChain msgs) {
- msgs = eBasicSetContainer((InternalEObject)newOwningVocabulary, OmlPackage.STRUCTURED_PROPERTY__OWNING_VOCABULARY, msgs);
- return msgs;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setOwningVocabulary(Vocabulary newOwningVocabulary) {
- if (newOwningVocabulary != eInternalContainer() || (eContainerFeatureID() != OmlPackage.STRUCTURED_PROPERTY__OWNING_VOCABULARY && newOwningVocabulary != null)) {
- if (EcoreUtil.isAncestor(this, newOwningVocabulary))
- throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
- NotificationChain msgs = null;
- if (eInternalContainer() != null)
- msgs = eBasicRemoveFromContainer(msgs);
- if (newOwningVocabulary != null)
- msgs = ((InternalEObject)newOwningVocabulary).eInverseAdd(this, OmlPackage.VOCABULARY__OWNED_STATEMENTS, Vocabulary.class, msgs);
- msgs = basicSetOwningVocabulary(newOwningVocabulary, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OmlPackage.STRUCTURED_PROPERTY__OWNING_VOCABULARY, newOwningVocabulary, newOwningVocabulary));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EList getOwnedSpecializations() {
- if (ownedSpecializations == null) {
- ownedSpecializations = new EObjectContainmentWithInverseEList(SpecializationAxiom.class, this, OmlPackage.STRUCTURED_PROPERTY__OWNED_SPECIALIZATIONS, OmlPackage.SPECIALIZATION_AXIOM__OWNING_TERM);
- }
- return ownedSpecializations;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EList getOwnedEquivalences() {
- if (ownedEquivalences == null) {
- ownedEquivalences = new EObjectContainmentWithInverseEList(PropertyEquivalenceAxiom.class, this, OmlPackage.STRUCTURED_PROPERTY__OWNED_EQUIVALENCES, OmlPackage.PROPERTY_EQUIVALENCE_AXIOM__OWNING_PROPERTY);
- }
- return ownedEquivalences;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public StructuredProperty getRef() {
- if (ref != null && ref.eIsProxy()) {
- InternalEObject oldRef = (InternalEObject)ref;
- ref = (StructuredProperty)eResolveProxy(oldRef);
- if (ref != oldRef) {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, OmlPackage.STRUCTURED_PROPERTY__REF, oldRef, ref));
- }
- }
- return ref;
- }
-
- /**
- *
- *
- * @generated
- */
- public StructuredProperty basicGetRef() {
- return ref;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setRef(StructuredProperty newRef) {
- StructuredProperty oldRef = ref;
- ref = newRef;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OmlPackage.STRUCTURED_PROPERTY__REF, oldRef, ref));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public boolean isFunctional() {
- return functional;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void setFunctional(boolean newFunctional) {
- boolean oldFunctional = functional;
- functional = newFunctional;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, OmlPackage.STRUCTURED_PROPERTY__FUNCTIONAL, oldFunctional, functional));
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EList getDomains() {
- if (domains == null) {
- domains = new EObjectResolvingEList(Classifier.class, this, OmlPackage.STRUCTURED_PROPERTY__DOMAINS);
- }
- return domains;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EList getRanges() {
- if (ranges == null) {
- ranges = new EObjectResolvingEList(Structure.class, this, OmlPackage.STRUCTURED_PROPERTY__RANGES);
- }
- return ranges;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EList getDomainList() {
- return this.getDomains();
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public EList getRangeList() {
- return ECollections.toEList(this.getRanges());
- }
-
- /**
- *
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case OmlPackage.STRUCTURED_PROPERTY__OWNING_VOCABULARY:
- if (eInternalContainer() != null)
- msgs = eBasicRemoveFromContainer(msgs);
- return basicSetOwningVocabulary((Vocabulary)otherEnd, msgs);
- case OmlPackage.STRUCTURED_PROPERTY__OWNED_SPECIALIZATIONS:
- return ((InternalEList)(InternalEList>)getOwnedSpecializations()).basicAdd(otherEnd, msgs);
- case OmlPackage.STRUCTURED_PROPERTY__OWNED_EQUIVALENCES:
- return ((InternalEList)(InternalEList>)getOwnedEquivalences()).basicAdd(otherEnd, msgs);
- }
- return super.eInverseAdd(otherEnd, featureID, msgs);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case OmlPackage.STRUCTURED_PROPERTY__OWNING_VOCABULARY:
- return basicSetOwningVocabulary(null, msgs);
- case OmlPackage.STRUCTURED_PROPERTY__OWNED_SPECIALIZATIONS:
- return ((InternalEList>)getOwnedSpecializations()).basicRemove(otherEnd, msgs);
- case OmlPackage.STRUCTURED_PROPERTY__OWNED_EQUIVALENCES:
- return ((InternalEList>)getOwnedEquivalences()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) {
- switch (eContainerFeatureID()) {
- case OmlPackage.STRUCTURED_PROPERTY__OWNING_VOCABULARY:
- return eInternalContainer().eInverseRemove(this, OmlPackage.VOCABULARY__OWNED_STATEMENTS, Vocabulary.class, msgs);
- }
- return super.eBasicRemoveFromContainerFeature(msgs);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case OmlPackage.STRUCTURED_PROPERTY__OWNING_VOCABULARY:
- if (resolve) return getOwningVocabulary();
- return basicGetOwningVocabulary();
- case OmlPackage.STRUCTURED_PROPERTY__OWNED_SPECIALIZATIONS:
- return getOwnedSpecializations();
- case OmlPackage.STRUCTURED_PROPERTY__OWNED_EQUIVALENCES:
- return getOwnedEquivalences();
- case OmlPackage.STRUCTURED_PROPERTY__REF:
- if (resolve) return getRef();
- return basicGetRef();
- case OmlPackage.STRUCTURED_PROPERTY__FUNCTIONAL:
- return isFunctional();
- case OmlPackage.STRUCTURED_PROPERTY__DOMAINS:
- return getDomains();
- case OmlPackage.STRUCTURED_PROPERTY__RANGES:
- return getRanges();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- *
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case OmlPackage.STRUCTURED_PROPERTY__OWNING_VOCABULARY:
- setOwningVocabulary((Vocabulary)newValue);
- return;
- case OmlPackage.STRUCTURED_PROPERTY__OWNED_SPECIALIZATIONS:
- getOwnedSpecializations().clear();
- getOwnedSpecializations().addAll((Collection extends SpecializationAxiom>)newValue);
- return;
- case OmlPackage.STRUCTURED_PROPERTY__OWNED_EQUIVALENCES:
- getOwnedEquivalences().clear();
- getOwnedEquivalences().addAll((Collection extends PropertyEquivalenceAxiom>)newValue);
- return;
- case OmlPackage.STRUCTURED_PROPERTY__REF:
- setRef((StructuredProperty)newValue);
- return;
- case OmlPackage.STRUCTURED_PROPERTY__FUNCTIONAL:
- setFunctional((Boolean)newValue);
- return;
- case OmlPackage.STRUCTURED_PROPERTY__DOMAINS:
- getDomains().clear();
- getDomains().addAll((Collection extends Classifier>)newValue);
- return;
- case OmlPackage.STRUCTURED_PROPERTY__RANGES:
- getRanges().clear();
- getRanges().addAll((Collection extends Structure>)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case OmlPackage.STRUCTURED_PROPERTY__OWNING_VOCABULARY:
- setOwningVocabulary((Vocabulary)null);
- return;
- case OmlPackage.STRUCTURED_PROPERTY__OWNED_SPECIALIZATIONS:
- getOwnedSpecializations().clear();
- return;
- case OmlPackage.STRUCTURED_PROPERTY__OWNED_EQUIVALENCES:
- getOwnedEquivalences().clear();
- return;
- case OmlPackage.STRUCTURED_PROPERTY__REF:
- setRef((StructuredProperty)null);
- return;
- case OmlPackage.STRUCTURED_PROPERTY__FUNCTIONAL:
- setFunctional(FUNCTIONAL_EDEFAULT);
- return;
- case OmlPackage.STRUCTURED_PROPERTY__DOMAINS:
- getDomains().clear();
- return;
- case OmlPackage.STRUCTURED_PROPERTY__RANGES:
- getRanges().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case OmlPackage.STRUCTURED_PROPERTY__OWNING_VOCABULARY:
- return basicGetOwningVocabulary() != null;
- case OmlPackage.STRUCTURED_PROPERTY__OWNED_SPECIALIZATIONS:
- return ownedSpecializations != null && !ownedSpecializations.isEmpty();
- case OmlPackage.STRUCTURED_PROPERTY__OWNED_EQUIVALENCES:
- return ownedEquivalences != null && !ownedEquivalences.isEmpty();
- case OmlPackage.STRUCTURED_PROPERTY__REF:
- return ref != null;
- case OmlPackage.STRUCTURED_PROPERTY__FUNCTIONAL:
- return functional != FUNCTIONAL_EDEFAULT;
- case OmlPackage.STRUCTURED_PROPERTY__DOMAINS:
- return domains != null && !domains.isEmpty();
- case OmlPackage.STRUCTURED_PROPERTY__RANGES:
- return ranges != null && !ranges.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public int eBaseStructuralFeatureID(int derivedFeatureID, Class> baseClass) {
- if (baseClass == Statement.class) {
- switch (derivedFeatureID) {
- default: return -1;
- }
- }
- if (baseClass == VocabularyStatement.class) {
- switch (derivedFeatureID) {
- case OmlPackage.STRUCTURED_PROPERTY__OWNING_VOCABULARY: return OmlPackage.VOCABULARY_STATEMENT__OWNING_VOCABULARY;
- default: return -1;
- }
- }
- if (baseClass == SpecializableTerm.class) {
- switch (derivedFeatureID) {
- case OmlPackage.STRUCTURED_PROPERTY__OWNED_SPECIALIZATIONS: return OmlPackage.SPECIALIZABLE_TERM__OWNED_SPECIALIZATIONS;
- default: return -1;
- }
- }
- if (baseClass == SpecializableProperty.class) {
- switch (derivedFeatureID) {
- case OmlPackage.STRUCTURED_PROPERTY__OWNED_EQUIVALENCES: return OmlPackage.SPECIALIZABLE_PROPERTY__OWNED_EQUIVALENCES;
- default: return -1;
- }
- }
- return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public int eDerivedStructuralFeatureID(int baseFeatureID, Class> baseClass) {
- if (baseClass == Statement.class) {
- switch (baseFeatureID) {
- default: return -1;
- }
- }
- if (baseClass == VocabularyStatement.class) {
- switch (baseFeatureID) {
- case OmlPackage.VOCABULARY_STATEMENT__OWNING_VOCABULARY: return OmlPackage.STRUCTURED_PROPERTY__OWNING_VOCABULARY;
- default: return -1;
- }
- }
- if (baseClass == SpecializableTerm.class) {
- switch (baseFeatureID) {
- case OmlPackage.SPECIALIZABLE_TERM__OWNED_SPECIALIZATIONS: return OmlPackage.STRUCTURED_PROPERTY__OWNED_SPECIALIZATIONS;
- default: return -1;
- }
- }
- if (baseClass == SpecializableProperty.class) {
- switch (baseFeatureID) {
- case OmlPackage.SPECIALIZABLE_PROPERTY__OWNED_EQUIVALENCES: return OmlPackage.STRUCTURED_PROPERTY__OWNED_EQUIVALENCES;
- default: return -1;
- }
- }
- return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public Object eInvoke(int operationID, EList> arguments) throws InvocationTargetException {
- switch (operationID) {
- case OmlPackage.STRUCTURED_PROPERTY___GET_DOMAIN_LIST:
- return getDomainList();
- case OmlPackage.STRUCTURED_PROPERTY___GET_RANGE_LIST:
- return getRangeList();
- }
- return super.eInvoke(operationID, arguments);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuilder result = new StringBuilder(super.toString());
- result.append(" (functional: ");
- result.append(functional);
- result.append(')');
- return result.toString();
- }
-
-} //StructuredPropertyImpl
diff --git a/io.opencaesar.oml/src-gen/io/opencaesar/oml/util/OmlAdapterFactory.java b/io.opencaesar.oml/src-gen/io/opencaesar/oml/util/OmlAdapterFactory.java
index 422062fe..9797c071 100644
--- a/io.opencaesar.oml/src-gen/io/opencaesar/oml/util/OmlAdapterFactory.java
+++ b/io.opencaesar.oml/src-gen/io/opencaesar/oml/util/OmlAdapterFactory.java
@@ -208,10 +208,6 @@ public Adapter caseSpecializableProperty(SpecializableProperty object) {
return createSpecializablePropertyAdapter();
}
@Override
- public Adapter caseClassifier(Classifier object) {
- return createClassifierAdapter();
- }
- @Override
public Adapter caseScalar(Scalar object) {
return createScalarAdapter();
}
@@ -220,10 +216,6 @@ public Adapter caseEntity(Entity object) {
return createEntityAdapter();
}
@Override
- public Adapter caseStructure(Structure object) {
- return createStructureAdapter();
- }
- @Override
public Adapter caseAspect(Aspect object) {
return createAspectAdapter();
}
@@ -248,10 +240,6 @@ public Adapter caseScalarProperty(ScalarProperty object) {
return createScalarPropertyAdapter();
}
@Override
- public Adapter caseStructuredProperty(StructuredProperty object) {
- return createStructuredPropertyAdapter();
- }
- @Override
public Adapter caseRelation(Relation object) {
return createRelationAdapter();
}
@@ -284,8 +272,8 @@ public Adapter caseRelationInstance(RelationInstance object) {
return createRelationInstanceAdapter();
}
@Override
- public Adapter caseStructureInstance(StructureInstance object) {
- return createStructureInstanceAdapter();
+ public Adapter caseAnonymousConceptInstance(AnonymousConceptInstance object) {
+ return createAnonymousConceptInstanceAdapter();
}
@Override
public Adapter caseAnonymousRelationInstance(AnonymousRelationInstance object) {
@@ -312,8 +300,8 @@ public Adapter caseLiteralEnumerationAxiom(LiteralEnumerationAxiom object) {
return createLiteralEnumerationAxiomAdapter();
}
@Override
- public Adapter caseClassifierEquivalenceAxiom(ClassifierEquivalenceAxiom object) {
- return createClassifierEquivalenceAxiomAdapter();
+ public Adapter caseEntityEquivalenceAxiom(EntityEquivalenceAxiom object) {
+ return createEntityEquivalenceAxiomAdapter();
}
@Override
public Adapter caseScalarEquivalenceAxiom(ScalarEquivalenceAxiom object) {
@@ -853,20 +841,6 @@ public Adapter createSpecializablePropertyAdapter() {
return null;
}
- /**
- * Creates a new adapter for an object of class '{@link io.opencaesar.oml.Classifier Classifier}'.
- *
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- *
- * @return the new adapter.
- * @see io.opencaesar.oml.Classifier
- * @generated
- */
- public Adapter createClassifierAdapter() {
- return null;
- }
-
/**
* Creates a new adapter for an object of class '{@link io.opencaesar.oml.Scalar Scalar}'.
*
@@ -895,20 +869,6 @@ public Adapter createEntityAdapter() {
return null;
}
- /**
- * Creates a new adapter for an object of class '{@link io.opencaesar.oml.Structure Structure}'.
- *
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- *
- * @return the new adapter.
- * @see io.opencaesar.oml.Structure
- * @generated
- */
- public Adapter createStructureAdapter() {
- return null;
- }
-
/**
* Creates a new adapter for an object of class '{@link io.opencaesar.oml.Aspect Aspect}'.
*
@@ -993,20 +953,6 @@ public Adapter createScalarPropertyAdapter() {
return null;
}
- /**
- * Creates a new adapter for an object of class '{@link io.opencaesar.oml.StructuredProperty Structured Property}'.
- *
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- *
- * @return the new adapter.
- * @see io.opencaesar.oml.StructuredProperty
- * @generated
- */
- public Adapter createStructuredPropertyAdapter() {
- return null;
- }
-
/**
* Creates a new adapter for an object of class '{@link io.opencaesar.oml.Relation Relation}'.
*
@@ -1120,16 +1066,16 @@ public Adapter createRelationInstanceAdapter() {
}
/**
- * Creates a new adapter for an object of class '{@link io.opencaesar.oml.StructureInstance Structure Instance}'.
+ * Creates a new adapter for an object of class '{@link io.opencaesar.oml.AnonymousConceptInstance Anonymous Concept Instance}'.
*
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
*
* @return the new adapter.
- * @see io.opencaesar.oml.StructureInstance
+ * @see io.opencaesar.oml.AnonymousConceptInstance
* @generated
*/
- public Adapter createStructureInstanceAdapter() {
+ public Adapter createAnonymousConceptInstanceAdapter() {
return null;
}
@@ -1218,16 +1164,16 @@ public Adapter createLiteralEnumerationAxiomAdapter() {
}
/**
- * Creates a new adapter for an object of class '{@link io.opencaesar.oml.ClassifierEquivalenceAxiom Classifier Equivalence Axiom}'.
+ * Creates a new adapter for an object of class '{@link io.opencaesar.oml.EntityEquivalenceAxiom Entity Equivalence Axiom}'.
*
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
*
* @return the new adapter.
- * @see io.opencaesar.oml.ClassifierEquivalenceAxiom
+ * @see io.opencaesar.oml.EntityEquivalenceAxiom
* @generated
*/
- public Adapter createClassifierEquivalenceAxiomAdapter() {
+ public Adapter createEntityEquivalenceAxiomAdapter() {
return null;
}
diff --git a/io.opencaesar.oml/src-gen/io/opencaesar/oml/util/OmlSwitch.java b/io.opencaesar.oml/src-gen/io/opencaesar/oml/util/OmlSwitch.java
index dcc6ef4c..4941e1c1 100644
--- a/io.opencaesar.oml/src-gen/io/opencaesar/oml/util/OmlSwitch.java
+++ b/io.opencaesar.oml/src-gen/io/opencaesar/oml/util/OmlSwitch.java
@@ -375,21 +375,6 @@ protected T doSwitch(int classifierID, EObject theEObject) {
if (result == null) result = defaultCase(theEObject);
return result;
}
- case OmlPackage.CLASSIFIER: {
- Classifier classifier = (Classifier)theEObject;
- T result = caseClassifier(classifier);
- if (result == null) result = caseType(classifier);
- if (result == null) result = caseSpecializableTerm(classifier);
- if (result == null) result = caseTerm(classifier);
- if (result == null) result = caseVocabularyStatement(classifier);
- if (result == null) result = caseVocabularyMember(classifier);
- if (result == null) result = caseStatement(classifier);
- if (result == null) result = caseMember(classifier);
- if (result == null) result = caseIdentifiedElement(classifier);
- if (result == null) result = caseElement(classifier);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
case OmlPackage.SCALAR: {
Scalar scalar = (Scalar)theEObject;
T result = caseScalar(scalar);
@@ -408,7 +393,6 @@ protected T doSwitch(int classifierID, EObject theEObject) {
case OmlPackage.ENTITY: {
Entity entity = (Entity)theEObject;
T result = caseEntity(entity);
- if (result == null) result = caseClassifier(entity);
if (result == null) result = caseType(entity);
if (result == null) result = caseSpecializableTerm(entity);
if (result == null) result = caseTerm(entity);
@@ -421,27 +405,10 @@ protected T doSwitch(int classifierID, EObject theEObject) {
if (result == null) result = defaultCase(theEObject);
return result;
}
- case OmlPackage.STRUCTURE: {
- Structure structure = (Structure)theEObject;
- T result = caseStructure(structure);
- if (result == null) result = caseClassifier(structure);
- if (result == null) result = caseType(structure);
- if (result == null) result = caseSpecializableTerm(structure);
- if (result == null) result = caseTerm(structure);
- if (result == null) result = caseVocabularyStatement(structure);
- if (result == null) result = caseVocabularyMember(structure);
- if (result == null) result = caseStatement(structure);
- if (result == null) result = caseMember(structure);
- if (result == null) result = caseIdentifiedElement(structure);
- if (result == null) result = caseElement(structure);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
case OmlPackage.ASPECT: {
Aspect aspect = (Aspect)theEObject;
T result = caseAspect(aspect);
if (result == null) result = caseEntity(aspect);
- if (result == null) result = caseClassifier(aspect);
if (result == null) result = caseType(aspect);
if (result == null) result = caseSpecializableTerm(aspect);
if (result == null) result = caseTerm(aspect);
@@ -458,7 +425,6 @@ protected T doSwitch(int classifierID, EObject theEObject) {
Concept concept = (Concept)theEObject;
T result = caseConcept(concept);
if (result == null) result = caseEntity(concept);
- if (result == null) result = caseClassifier(concept);
if (result == null) result = caseType(concept);
if (result == null) result = caseSpecializableTerm(concept);
if (result == null) result = caseTerm(concept);
@@ -476,7 +442,6 @@ protected T doSwitch(int classifierID, EObject theEObject) {
T result = caseRelationEntity(relationEntity);
if (result == null) result = caseEntity(relationEntity);
if (result == null) result = caseRelationBase(relationEntity);
- if (result == null) result = caseClassifier(relationEntity);
if (result == null) result = caseType(relationEntity);
if (result == null) result = caseSpecializableTerm(relationEntity);
if (result == null) result = caseTerm(relationEntity);
@@ -534,23 +499,6 @@ protected T doSwitch(int classifierID, EObject theEObject) {
if (result == null) result = defaultCase(theEObject);
return result;
}
- case OmlPackage.STRUCTURED_PROPERTY: {
- StructuredProperty structuredProperty = (StructuredProperty)theEObject;
- T result = caseStructuredProperty(structuredProperty);
- if (result == null) result = caseSemanticProperty(structuredProperty);
- if (result == null) result = caseSpecializableProperty(structuredProperty);
- if (result == null) result = caseProperty(structuredProperty);
- if (result == null) result = caseSpecializableTerm(structuredProperty);
- if (result == null) result = caseTerm(structuredProperty);
- if (result == null) result = caseVocabularyStatement(structuredProperty);
- if (result == null) result = caseVocabularyMember(structuredProperty);
- if (result == null) result = caseStatement(structuredProperty);
- if (result == null) result = caseMember(structuredProperty);
- if (result == null) result = caseIdentifiedElement(structuredProperty);
- if (result == null) result = caseElement(structuredProperty);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
case OmlPackage.RELATION: {
Relation relation = (Relation)theEObject;
T result = caseRelation(relation);
@@ -660,12 +608,12 @@ protected T doSwitch(int classifierID, EObject theEObject) {
if (result == null) result = defaultCase(theEObject);
return result;
}
- case OmlPackage.STRUCTURE_INSTANCE: {
- StructureInstance structureInstance = (StructureInstance)theEObject;
- T result = caseStructureInstance(structureInstance);
- if (result == null) result = caseAnonymousInstance(structureInstance);
- if (result == null) result = caseInstance(structureInstance);
- if (result == null) result = caseElement(structureInstance);
+ case OmlPackage.ANONYMOUS_CONCEPT_INSTANCE: {
+ AnonymousConceptInstance anonymousConceptInstance = (AnonymousConceptInstance)theEObject;
+ T result = caseAnonymousConceptInstance(anonymousConceptInstance);
+ if (result == null) result = caseAnonymousInstance(anonymousConceptInstance);
+ if (result == null) result = caseInstance(anonymousConceptInstance);
+ if (result == null) result = caseElement(anonymousConceptInstance);
if (result == null) result = defaultCase(theEObject);
return result;
}
@@ -718,11 +666,11 @@ protected T doSwitch(int classifierID, EObject theEObject) {
if (result == null) result = defaultCase(theEObject);
return result;
}
- case OmlPackage.CLASSIFIER_EQUIVALENCE_AXIOM: {
- ClassifierEquivalenceAxiom classifierEquivalenceAxiom = (ClassifierEquivalenceAxiom)theEObject;
- T result = caseClassifierEquivalenceAxiom(classifierEquivalenceAxiom);
- if (result == null) result = caseAxiom(classifierEquivalenceAxiom);
- if (result == null) result = caseElement(classifierEquivalenceAxiom);
+ case OmlPackage.ENTITY_EQUIVALENCE_AXIOM: {
+ EntityEquivalenceAxiom entityEquivalenceAxiom = (EntityEquivalenceAxiom)theEObject;
+ T result = caseEntityEquivalenceAxiom(entityEquivalenceAxiom);
+ if (result == null) result = caseAxiom(entityEquivalenceAxiom);
+ if (result == null) result = caseElement(entityEquivalenceAxiom);
if (result == null) result = defaultCase(theEObject);
return result;
}
@@ -1373,21 +1321,6 @@ public T caseSpecializableProperty(SpecializableProperty object) {
return null;
}
- /**
- * Returns the result of interpreting the object as an instance of 'Classifier'.
- *
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- *
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'Classifier'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseClassifier(Classifier object) {
- return null;
- }
-
/**
* Returns the result of interpreting the object as an instance of 'Scalar'.
*
@@ -1418,21 +1351,6 @@ public T caseEntity(Entity object) {
return null;
}
- /**
- * Returns the result of interpreting the object as an instance of 'Structure'.
- *
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- *
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'Structure'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseStructure(Structure object) {
- return null;
- }
-
/**
* Returns the result of interpreting the object as an instance of 'Aspect'.
*
@@ -1523,21 +1441,6 @@ public T caseScalarProperty(ScalarProperty object) {
return null;
}
- /**
- * Returns the result of interpreting the object as an instance of 'Structured Property'.
- *
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- *
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'Structured Property'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseStructuredProperty(StructuredProperty object) {
- return null;
- }
-
/**
* Returns the result of interpreting the object as an instance of 'Relation'.
*
@@ -1659,17 +1562,17 @@ public T caseRelationInstance(RelationInstance object) {
}
/**
- * Returns the result of interpreting the object as an instance of 'Structure Instance'.
+ * Returns the result of interpreting the object as an instance of 'Anonymous Concept Instance'.
*
* This implementation returns null;
* returning a non-null result will terminate the switch.
*
* @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'Structure Instance'.
+ * @return the result of interpreting the object as an instance of 'Anonymous Concept Instance'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
- public T caseStructureInstance(StructureInstance object) {
+ public T caseAnonymousConceptInstance(AnonymousConceptInstance object) {
return null;
}
@@ -1764,17 +1667,17 @@ public T caseLiteralEnumerationAxiom(LiteralEnumerationAxiom object) {
}
/**
- * Returns the result of interpreting the object as an instance of 'Classifier Equivalence Axiom'.
+ * Returns the result of interpreting the object as an instance of 'Entity Equivalence Axiom'.
*
* This implementation returns null;
* returning a non-null result will terminate the switch.
*
* @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'Classifier Equivalence Axiom'.
+ * @return the result of interpreting the object as an instance of 'Entity Equivalence Axiom'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
- public T caseClassifierEquivalenceAxiom(ClassifierEquivalenceAxiom object) {
+ public T caseEntityEquivalenceAxiom(EntityEquivalenceAxiom object) {
return null;
}
diff --git a/io.opencaesar.oml/src-gen/io/opencaesar/oml/util/OmlValidator.java b/io.opencaesar.oml/src-gen/io/opencaesar/oml/util/OmlValidator.java
index d43777a3..e7b9a369 100644
--- a/io.opencaesar.oml/src-gen/io/opencaesar/oml/util/OmlValidator.java
+++ b/io.opencaesar.oml/src-gen/io/opencaesar/oml/util/OmlValidator.java
@@ -185,14 +185,10 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn
return validateRelationBase((RelationBase)value, diagnostics, context);
case OmlPackage.SPECIALIZABLE_PROPERTY:
return validateSpecializableProperty((SpecializableProperty)value, diagnostics, context);
- case OmlPackage.CLASSIFIER:
- return validateClassifier((Classifier)value, diagnostics, context);
case OmlPackage.SCALAR:
return validateScalar((Scalar)value, diagnostics, context);
case OmlPackage.ENTITY:
return validateEntity((Entity)value, diagnostics, context);
- case OmlPackage.STRUCTURE:
- return validateStructure((Structure)value, diagnostics, context);
case OmlPackage.ASPECT:
return validateAspect((Aspect)value, diagnostics, context);
case OmlPackage.CONCEPT:
@@ -205,8 +201,6 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn
return validateSemanticProperty((SemanticProperty)value, diagnostics, context);
case OmlPackage.SCALAR_PROPERTY:
return validateScalarProperty((ScalarProperty)value, diagnostics, context);
- case OmlPackage.STRUCTURED_PROPERTY:
- return validateStructuredProperty((StructuredProperty)value, diagnostics, context);
case OmlPackage.RELATION:
return validateRelation((Relation)value, diagnostics, context);
case OmlPackage.FORWARD_RELATION:
@@ -223,8 +217,8 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn
return validateConceptInstance((ConceptInstance)value, diagnostics, context);
case OmlPackage.RELATION_INSTANCE:
return validateRelationInstance((RelationInstance)value, diagnostics, context);
- case OmlPackage.STRUCTURE_INSTANCE:
- return validateStructureInstance((StructureInstance)value, diagnostics, context);
+ case OmlPackage.ANONYMOUS_CONCEPT_INSTANCE:
+ return validateAnonymousConceptInstance((AnonymousConceptInstance)value, diagnostics, context);
case OmlPackage.ANONYMOUS_RELATION_INSTANCE:
return validateAnonymousRelationInstance((AnonymousRelationInstance)value, diagnostics, context);
case OmlPackage.KEY_AXIOM:
@@ -237,8 +231,8 @@ protected boolean validate(int classifierID, Object value, DiagnosticChain diagn
return validatePropertyRestrictionAxiom((PropertyRestrictionAxiom)value, diagnostics, context);
case OmlPackage.LITERAL_ENUMERATION_AXIOM:
return validateLiteralEnumerationAxiom((LiteralEnumerationAxiom)value, diagnostics, context);
- case OmlPackage.CLASSIFIER_EQUIVALENCE_AXIOM:
- return validateClassifierEquivalenceAxiom((ClassifierEquivalenceAxiom)value, diagnostics, context);
+ case OmlPackage.ENTITY_EQUIVALENCE_AXIOM:
+ return validateEntityEquivalenceAxiom((EntityEquivalenceAxiom)value, diagnostics, context);
case OmlPackage.SCALAR_EQUIVALENCE_AXIOM:
return validateScalarEquivalenceAxiom((ScalarEquivalenceAxiom)value, diagnostics, context);
case OmlPackage.PROPERTY_EQUIVALENCE_AXIOM:
@@ -905,25 +899,6 @@ public boolean validateSpecializableProperty(SpecializableProperty specializable
return result;
}
- /**
- *
- *
- * @generated
- */
- public boolean validateClassifier(Classifier classifier, DiagnosticChain diagnostics, Map context) {
- if (!validate_NoCircularContainment(classifier, diagnostics, context)) return false;
- boolean result = validate_EveryMultiplicityConforms(classifier, diagnostics, context);
- if (result || diagnostics != null) result &= validate_EveryDataValueConforms(classifier, diagnostics, context);
- if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(classifier, diagnostics, context);
- if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(classifier, diagnostics, context);
- if (result || diagnostics != null) result &= validate_EveryProxyResolves(classifier, diagnostics, context);
- if (result || diagnostics != null) result &= validate_UniqueID(classifier, diagnostics, context);
- if (result || diagnostics != null) result &= validate_EveryKeyUnique(classifier, diagnostics, context);
- if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(classifier, diagnostics, context);
- if (result || diagnostics != null) result &= validateElement_extraValidate(classifier, diagnostics, context);
- return result;
- }
-
/**
*
*
@@ -962,25 +937,6 @@ public boolean validateEntity(Entity entity, DiagnosticChain diagnostics, Map
- *
- * @generated
- */
- public boolean validateStructure(Structure structure, DiagnosticChain diagnostics, Map context) {
- if (!validate_NoCircularContainment(structure, diagnostics, context)) return false;
- boolean result = validate_EveryMultiplicityConforms(structure, diagnostics, context);
- if (result || diagnostics != null) result &= validate_EveryDataValueConforms(structure, diagnostics, context);
- if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(structure, diagnostics, context);
- if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(structure, diagnostics, context);
- if (result || diagnostics != null) result &= validate_EveryProxyResolves(structure, diagnostics, context);
- if (result || diagnostics != null) result &= validate_UniqueID(structure, diagnostics, context);
- if (result || diagnostics != null) result &= validate_EveryKeyUnique(structure, diagnostics, context);
- if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(structure, diagnostics, context);
- if (result || diagnostics != null) result &= validateElement_extraValidate(structure, diagnostics, context);
- return result;
- }
-
/**
*
*
@@ -1095,25 +1051,6 @@ public boolean validateScalarProperty(ScalarProperty scalarProperty, DiagnosticC
return result;
}
- /**
- *
- *
- * @generated
- */
- public boolean validateStructuredProperty(StructuredProperty structuredProperty, DiagnosticChain diagnostics, Map context) {
- if (!validate_NoCircularContainment(structuredProperty, diagnostics, context)) return false;
- boolean result = validate_EveryMultiplicityConforms(structuredProperty, diagnostics, context);
- if (result || diagnostics != null) result &= validate_EveryDataValueConforms(structuredProperty, diagnostics, context);
- if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(structuredProperty, diagnostics, context);
- if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(structuredProperty, diagnostics, context);
- if (result || diagnostics != null) result &= validate_EveryProxyResolves(structuredProperty, diagnostics, context);
- if (result || diagnostics != null) result &= validate_UniqueID(structuredProperty, diagnostics, context);
- if (result || diagnostics != null) result &= validate_EveryKeyUnique(structuredProperty, diagnostics, context);
- if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(structuredProperty, diagnostics, context);
- if (result || diagnostics != null) result &= validateElement_extraValidate(structuredProperty, diagnostics, context);
- return result;
- }
-
/**
*
*
@@ -1271,17 +1208,17 @@ public boolean validateRelationInstance(RelationInstance relationInstance, Diagn
*
* @generated
*/
- public boolean validateStructureInstance(StructureInstance structureInstance, DiagnosticChain diagnostics, Map context) {
- if (!validate_NoCircularContainment(structureInstance, diagnostics, context)) return false;
- boolean result = validate_EveryMultiplicityConforms(structureInstance, diagnostics, context);
- if (result || diagnostics != null) result &= validate_EveryDataValueConforms(structureInstance, diagnostics, context);
- if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(structureInstance, diagnostics, context);
- if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(structureInstance, diagnostics, context);
- if (result || diagnostics != null) result &= validate_EveryProxyResolves(structureInstance, diagnostics, context);
- if (result || diagnostics != null) result &= validate_UniqueID(structureInstance, diagnostics, context);
- if (result || diagnostics != null) result &= validate_EveryKeyUnique(structureInstance, diagnostics, context);
- if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(structureInstance, diagnostics, context);
- if (result || diagnostics != null) result &= validateElement_extraValidate(structureInstance, diagnostics, context);
+ public boolean validateAnonymousConceptInstance(AnonymousConceptInstance anonymousConceptInstance, DiagnosticChain diagnostics, Map context) {
+ if (!validate_NoCircularContainment(anonymousConceptInstance, diagnostics, context)) return false;
+ boolean result = validate_EveryMultiplicityConforms(anonymousConceptInstance, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryDataValueConforms(anonymousConceptInstance, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(anonymousConceptInstance, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(anonymousConceptInstance, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryProxyResolves(anonymousConceptInstance, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_UniqueID(anonymousConceptInstance, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryKeyUnique(anonymousConceptInstance, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(anonymousConceptInstance, diagnostics, context);
+ if (result || diagnostics != null) result &= validateElement_extraValidate(anonymousConceptInstance, diagnostics, context);
return result;
}
@@ -1404,17 +1341,17 @@ public boolean validateLiteralEnumerationAxiom(LiteralEnumerationAxiom literalEn
*
* @generated
*/
- public boolean validateClassifierEquivalenceAxiom(ClassifierEquivalenceAxiom classifierEquivalenceAxiom, DiagnosticChain diagnostics, Map context) {
- if (!validate_NoCircularContainment(classifierEquivalenceAxiom, diagnostics, context)) return false;
- boolean result = validate_EveryMultiplicityConforms(classifierEquivalenceAxiom, diagnostics, context);
- if (result || diagnostics != null) result &= validate_EveryDataValueConforms(classifierEquivalenceAxiom, diagnostics, context);
- if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(classifierEquivalenceAxiom, diagnostics, context);
- if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(classifierEquivalenceAxiom, diagnostics, context);
- if (result || diagnostics != null) result &= validate_EveryProxyResolves(classifierEquivalenceAxiom, diagnostics, context);
- if (result || diagnostics != null) result &= validate_UniqueID(classifierEquivalenceAxiom, diagnostics, context);
- if (result || diagnostics != null) result &= validate_EveryKeyUnique(classifierEquivalenceAxiom, diagnostics, context);
- if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(classifierEquivalenceAxiom, diagnostics, context);
- if (result || diagnostics != null) result &= validateElement_extraValidate(classifierEquivalenceAxiom, diagnostics, context);
+ public boolean validateEntityEquivalenceAxiom(EntityEquivalenceAxiom entityEquivalenceAxiom, DiagnosticChain diagnostics, Map context) {
+ if (!validate_NoCircularContainment(entityEquivalenceAxiom, diagnostics, context)) return false;
+ boolean result = validate_EveryMultiplicityConforms(entityEquivalenceAxiom, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryDataValueConforms(entityEquivalenceAxiom, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(entityEquivalenceAxiom, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(entityEquivalenceAxiom, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryProxyResolves(entityEquivalenceAxiom, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_UniqueID(entityEquivalenceAxiom, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryKeyUnique(entityEquivalenceAxiom, diagnostics, context);
+ if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(entityEquivalenceAxiom, diagnostics, context);
+ if (result || diagnostics != null) result &= validateElement_extraValidate(entityEquivalenceAxiom, diagnostics, context);
return result;
}
diff --git a/io.opencaesar.oml/src/io/opencaesar/oml/Oml.xcore b/io.opencaesar.oml/src/io/opencaesar/oml/Oml.xcore
index 9f0ce165..29811daa 100644
--- a/io.opencaesar.oml/src/io/opencaesar/oml/Oml.xcore
+++ b/io.opencaesar.oml/src/io/opencaesar/oml/Oml.xcore
@@ -199,8 +199,8 @@ class Import extends Element {
}
/*
- * Instance is an element that represents a instance of one or more [=classifiers=].
- * It can assert a set of values for those classifiers' [=properties=].
+ * Instance is an element that represents a instance of one or more [=Entities=].
+ * It can assert a set of values for those entities' [=properties=].
*/
@Bikeshed(heading="Instances")
abstract class Instance extends Element {
@@ -211,7 +211,7 @@ abstract class Instance extends Element {
/*
* Gets the instance's types
*/
- op Classifier[] getTypes()
+ op Entity[] getTypes()
}
/*
@@ -679,23 +679,6 @@ abstract class SpecializableProperty extends SpecializableTerm, Property {
// Types
////////////////////////////////////////
-/*
- * Classifier is a [=type=] that classifies a set of [=instances=] and characterizes them with [=properties=]
- * (where it becomes a domain of these properties). it can also own a set of [=PropertyRestrictionAxioms=] as well as
- * set of [=ClassifierEquivalenceAxioms=].
- */
-@Bikeshed(heading="Types")
-abstract class Classifier extends Type {
- /*
- * The set of classifier equivalence axioms of this classifier
- */
- contains ClassifierEquivalenceAxiom[*] ownedEquivalences opposite owningClassifier
- /*
- * The set of property restriction axioms of this classifier
- */
- contains PropertyRestrictionAxiom[*] ownedPropertyRestrictions opposite owningClassifier
-}
-
/*
* Scalar is a primitive [=type=] that represents a set of [=literals=]. Some scalars are considered standard (see below).
*
@@ -768,32 +751,26 @@ class Scalar extends Type {
contains ScalarEquivalenceAxiom[*] ownedEquivalences opposite owningScalar
}
-////////////////////////////////////////
-// Classifiers
-////////////////////////////////////////
-
/*
- * Entity is a [=classifier=] whose instances are [=NamedInstances=]. It can also specify a set of [=KeyAxioms=].
+ * Entity is a structured [=type=] that represent a set of [=Instances=]. it can specify a set of [=PropertyRestrictionAxioms=],
+ * set of [=EntityEquivalenceAxioms=], and a set of [=KeyAxioms=].
*/
@Bikeshed(heading="Types")
-abstract class Entity extends Classifier {
+abstract class Entity extends Type {
+ /*
+ * The set of entity equivalence axioms of this entity
+ */
+ contains EntityEquivalenceAxiom[*] ownedEquivalences opposite owningEntity
+ /*
+ * The set of property restriction axioms of this entity
+ */
+ contains PropertyRestrictionAxiom[*] ownedPropertyRestrictions opposite owningEntity
/*
* The unique keys of this entity
*/
contains KeyAxiom[*] ownedKeys opposite owningEntity
}
-/*
- * Structure is a [=classifier=] whose [=instances=] are anonymous and assignable as values to [=StructuredProperties=].
- */
-@Bikeshed(heading="Types")
-class Structure extends Classifier {
- /*
- * A ref to another structure
- */
- refers Structure ref
-}
-
////////////////////////////////////////
// Entities
////////////////////////////////////////
@@ -861,7 +838,7 @@ class AnnotationProperty extends SpecializableProperty {
}
/*
- * SemanticProperty is a [=property=] with DL semantics that relates a [=classifier=] acting as its
+ * SemanticProperty is a [=property=] with DL semantics that relates a [=entity=] acting as its
* domain to a [=type=] acting as its range.
*/
@Bikeshed(heading="Properties")
@@ -873,7 +850,7 @@ abstract class SemanticProperty extends Property {
/*
* Gets the domains of this property
*/
- op Classifier[] getDomainList()
+ op Entity[] getDomainList()
/*
* Gets the ranges of this property
*/
@@ -898,45 +875,15 @@ class ScalarProperty extends SemanticProperty, SpecializableProperty {
*/
boolean functional
/*
- * The classifier that is the domain of this property
+ * The entity that is the domain of this property
*/
- refers Classifier[*] domains
+ refers Entity[*] domains
/*
* The scalar that is the range of this property
*/
refers Scalar[*] ranges
- op Classifier[] getDomainList() {
- domains
- }
- op Type[] getRangeList() {
- ranges.toEList
- }
-}
-
-/*
- * StructuredProperty is a [=SemanticProperty=] whose range is a [=Structure=]. It can specialize other [=StructuredProperties=].
- */
-@Bikeshed(heading="Properties")
-class StructuredProperty extends SemanticProperty, SpecializableProperty {
- /*
- * A ref to another structured property
- */
- refers StructuredProperty ref
- /*
- * Whether this property is functional (has a max of one value per instance)
- */
- boolean functional
- /*
- * The classifiers that are the domains of this property
- */
- refers Classifier[*] domains
- /*
- * The structures that are the range of this property
- */
- refers Structure[*] ranges
-
- op Classifier[] getDomainList() {
+ op Entity[] getDomainList() {
domains
}
op Type[] getRangeList() {
@@ -987,7 +934,7 @@ abstract class Relation extends SemanticProperty {
*/
op Relation[?] getInverse()
- op Classifier[] getDomainList() {
+ op Entity[] getDomainList() {
getDomains().toEList
}
op Type[] getRangeList() {
@@ -1137,7 +1084,7 @@ abstract class NamedInstance extends DescriptionStatement, Instance {
return ownedTypes.map[^type]
}
- op Classifier[] getTypes() {
+ op Entity[] getTypes() {
return ownedTypes.map[^type]
}
}
@@ -1206,33 +1153,30 @@ class RelationInstance extends NamedInstance {
////////////////////////////////////////
/*
- * StructureInstance is an [=AnonymousInstance=] that can be typed by a [=Structure=].
+ * AnonymousConceptInstance is an [=AnonymousInstance=] that is typed by a [=Concept=] or an [=Aspect=].
*/
@Bikeshed(heading="Instances")
-class StructureInstance extends AnonymousInstance {
+class AnonymousConceptInstance extends AnonymousInstance {
/*
* The type of this instance
*/
- refers Structure[?] ^type
+ refers Entity[?] ^type
- op Structure getStructure() {
+ op Entity getEntity() {
if (^type !== null)
return ^type
else {
var property = getIsValueOfProperty()
- if (property instanceof StructuredProperty) {
- if (!property.ranges.isEmpty)
- property.ranges.get(0)
- else
- null
+ if (property instanceof Relation) {
+ property.ranges.head
}
}
}
- op Classifier[] getTypes() {
- var structure = getStructure()
- if (structure !== null)
- return structure.singletonEList()
+ op Entity[] getTypes() {
+ var entity = getEntity()
+ if (entity !== null)
+ return entity.singletonEList()
else
return ECollections.emptyEList
}
@@ -1265,7 +1209,7 @@ class AnonymousRelationInstance extends AnonymousInstance {
}
}
- op Classifier[] getTypes() {
+ op Entity[] getTypes() {
var entity = getRelationEntity()
if (entity !== null)
return entity.singletonEList()
@@ -1355,8 +1299,8 @@ class InstanceEnumerationAxiom extends Axiom {
}
/*
- * PropertyRestrictionAxiom is an [=Axiom=] specified on a [=Classifier=] that places some restriction on the value of a [=SemanticProperty=]
- * in the context of the classifier.
+ * PropertyRestrictionAxiom is an [=Axiom=] specified on a [=Entity=] that places some restriction on the value of a [=SemanticProperty=]
+ * in the context of the entity.
*/
@Bikeshed(heading="Axioms")
abstract class PropertyRestrictionAxiom extends Axiom {
@@ -1365,24 +1309,24 @@ abstract class PropertyRestrictionAxiom extends Axiom {
*/
refers SemanticProperty[1] property
/*
- * The owning classifier specified by this axiom
+ * The owning entity specified by this axiom
*/
- container Classifier[?] owningClassifier opposite ownedPropertyRestrictions
+ container Entity[?] owningEntity opposite ownedPropertyRestrictions
/*
- * The owning classifier equivalence axiom specified by this axiom
+ * The owning entity equivalence axiom specified by this axiom
*/
- container ClassifierEquivalenceAxiom[?] owningAxiom opposite ownedPropertyRestrictions
+ container EntityEquivalenceAxiom[?] owningAxiom opposite ownedPropertyRestrictions
/*
* Gets the restricting domain of the given property restriction axiom
*/
- op Classifier getRestrictingDomain() {
+ op Entity getRestrictingDomain() {
if (owningAxiom !== null) {
- return owningAxiom.subClassifier
+ return owningAxiom.subEntity
}
- return owningClassifier.resolve() as Classifier
+ return owningEntity.resolve() as Entity
}
- op Classifier getCharacterizedTerm() {
+ op Entity getCharacterizedTerm() {
getRestrictingDomain()
}
}
@@ -1413,35 +1357,35 @@ class LiteralEnumerationAxiom extends Axiom {
}
/*
- * ClassifierEquivalenceAxiom is an [=Axiom=] specified on a subject [=Classifier=] that states that it is equivalent to the intersection
- * of [=Classifiers=] and/or [=PropertyRestrictionAxioms=]. This axiom implies that the [=classifiers=] are super types of the subject classifier.
+ * EntityEquivalenceAxiom is an [=Axiom=] specified on a subject [=Entity=] that states that it is equivalent to the intersection
+ * of [=Entities=] and/or [=PropertyRestrictionAxioms=]. This axiom implies that the [=entities=] are super types of the subject entity.
* It also implies that when an instance is classified by this intersection, then it follows that it is also classified by the
- * subject classifier. Conversely, when an instance is classified by the subject classifier, then it follows that it is also classified
+ * subject entity. Conversely, when an instance is classified by the subject entity, then it follows that it is also classified
* by the intersection. In other words, this axiom enables bi-directional (or two-way) inferencing.
*/
@Bikeshed(heading="Axioms")
-class ClassifierEquivalenceAxiom extends Axiom {
+class EntityEquivalenceAxiom extends Axiom {
/*
- * The super classifiers specified by this axiom
+ * The super entity specified by this axiom
*/
- refers Classifier[*] superClassifiers
+ refers Entity[*] superEntities
/*
* The property restrictions specified by this axiom
*/
contains PropertyRestrictionAxiom[*] ownedPropertyRestrictions opposite owningAxiom
/*
- * The owning classifier specified by this axiom
+ * The owning entity specified by this axiom
*/
- container Classifier[?] owningClassifier opposite ownedEquivalences
+ container Entity[?] owningEntity opposite ownedEquivalences
/*
- * Gets the sub classifier of this axiom
+ * Gets the sub entity of this axiom
*/
- op Classifier getSubClassifier() {
- return owningClassifier.resolve() as Classifier
+ op Entity getSubEntity() {
+ return owningEntity.resolve() as Entity
}
- op Classifier getCharacterizedTerm() {
- getSubClassifier()
+ op Entity getCharacterizedTerm() {
+ getSubEntity()
}
}
@@ -1555,7 +1499,7 @@ class PropertyEquivalenceAxiom extends Axiom {
/*
* PropertyRangeRestrictionAxiom is a [=PropertyRestrictionAxiom=] that restricts the range of a [=property=] to
* a [=type=] that specializes the original range. This restrictions may apply to `all` or to `some` values of the property
- * that have the restricting [=classifier=] as a domain.
+ * that have the restricting [=Entity=] as a domain.
*/
@Bikeshed(heading="Axioms")
class PropertyRangeRestrictionAxiom extends PropertyRestrictionAxiom {
@@ -1572,7 +1516,7 @@ class PropertyRangeRestrictionAxiom extends PropertyRestrictionAxiom {
/*
* PropertyCardinalityRestrictionAxiom is a [=PropertyRestrictionAxiom=] that restricts the cardinality of a [=property=]
* to an exact value, a minimum value or a maximum value. This restrictions can apply either to all values of the property
- * in the restricting [=classifier=], or only to those values classified by a specific subtype of the range.
+ * in the restricting [=Entity=], or only to those values classified by a specific subtype of the range.
*/
@Bikeshed(heading="Axioms")
class PropertyCardinalityRestrictionAxiom extends PropertyRestrictionAxiom {
diff --git a/io.opencaesar.oml/src/io/opencaesar/oml/util/OmlBuilder.java b/io.opencaesar.oml/src/io/opencaesar/oml/util/OmlBuilder.java
index 09c1000d..0bc162d6 100644
--- a/io.opencaesar.oml/src/io/opencaesar/oml/util/OmlBuilder.java
+++ b/io.opencaesar.oml/src/io/opencaesar/oml/util/OmlBuilder.java
@@ -39,6 +39,7 @@
import io.opencaesar.oml.Annotation;
import io.opencaesar.oml.AnnotationProperty;
+import io.opencaesar.oml.AnonymousConceptInstance;
import io.opencaesar.oml.AnonymousInstance;
import io.opencaesar.oml.AnonymousRelationInstance;
import io.opencaesar.oml.Argument;
@@ -47,8 +48,6 @@
import io.opencaesar.oml.BuiltIn;
import io.opencaesar.oml.BuiltInPredicate;
import io.opencaesar.oml.CardinalityRestrictionKind;
-import io.opencaesar.oml.Classifier;
-import io.opencaesar.oml.ClassifierEquivalenceAxiom;
import io.opencaesar.oml.Concept;
import io.opencaesar.oml.ConceptInstance;
import io.opencaesar.oml.DecimalLiteral;
@@ -58,6 +57,7 @@
import io.opencaesar.oml.DoubleLiteral;
import io.opencaesar.oml.Element;
import io.opencaesar.oml.Entity;
+import io.opencaesar.oml.EntityEquivalenceAxiom;
import io.opencaesar.oml.ForwardRelation;
import io.opencaesar.oml.IdentifiedElement;
import io.opencaesar.oml.Import;
@@ -92,9 +92,6 @@
import io.opencaesar.oml.ScalarEquivalenceAxiom;
import io.opencaesar.oml.ScalarProperty;
import io.opencaesar.oml.SpecializationAxiom;
-import io.opencaesar.oml.Structure;
-import io.opencaesar.oml.StructureInstance;
-import io.opencaesar.oml.StructuredProperty;
import io.opencaesar.oml.TypeAssertion;
import io.opencaesar.oml.TypePredicate;
import io.opencaesar.oml.UnreifiedRelation;
@@ -515,20 +512,6 @@ public RelationEntity addRelationEntity(Vocabulary vocabulary, String name, List
return relationEntity;
}
- // Structure
-
- /**
- * Creates a new structure and adds it to the given vocabulary
- *
- * @param vocabulary the context vocabulary
- * @param name the name of the new structure
- * @return a new structure that is added to the given vocabulary
- */
- public Structure addStructure(Vocabulary vocabulary, String name) {
- final Structure structure = OmlWrite.addStructure(vocabulary, name);
- return structure;
- }
-
// AnnotationProperty
/**
@@ -550,7 +533,7 @@ public AnnotationProperty addAnnotationProperty(Vocabulary vocabulary, String na
*
* @param vocabulary the context vocabulary
* @param name the name of the new scalar property
- * @param domainIris the iris of the domain classifiers
+ * @param domainIris the iris of the domain entities
* @param rangeIris the iris of the range scalars
* @param functional whether the scalar property is functional
* @return a new scalar property that is added to the given vocabulary
@@ -568,7 +551,7 @@ public ScalarProperty addScalarProperty(Vocabulary vocabulary, String name,
*
* @param vocabulary the context vocabulary
* @param propertyIri the iri of the scalar property
- * @param domainIri the iri of a domain classifier
+ * @param domainIri the iri of a domain entity
* @param rangeIri the iri of a range scalar
* @param functional whether the scalar property is functional (can be null)
*/
@@ -580,7 +563,7 @@ public void setScalarProperty(Vocabulary vocabulary, String propertyIri,
property = (ScalarProperty) OmlWrite.getOrAddRef(vocabulary, property);
}
if (domainIri != null) {
- property.getDomains().add(resolve(Classifier.class, vocabulary, domainIri));
+ property.getDomains().add(resolve(Entity.class, vocabulary, domainIri));
}
if (rangeIri != null) {
property.getRanges().add(resolve(Scalar.class, vocabulary, rangeIri));
@@ -591,54 +574,6 @@ public void setScalarProperty(Vocabulary vocabulary, String propertyIri,
});
}
- // StructuredProperty
-
- /**
- * Creates a new structured property and adds it to the given vocabulary
- *
- * @param vocabulary the context vocabulary
- * @param name the name of the new structured property
- * @param domainIris the iris of the domain classifiers
- * @param rangeIris the iris of the range structures
- * @param functional whether the structured property is functional
- * @return a new structured property that is added to the given vocabulary
- */
- public StructuredProperty addStructuredProperty(Vocabulary vocabulary, String name,
- List domainIris, List rangeIris, boolean functional) {
- final StructuredProperty property = OmlWrite.addStructuredProperty(vocabulary, name, Collections.emptyList(), Collections.emptyList(), functional);
- setCrossReferences(vocabulary, property, OmlPackage.Literals.STRUCTURED_PROPERTY__DOMAINS, domainIris);
- setCrossReferences(vocabulary, property, OmlPackage.Literals.STRUCTURED_PROPERTY__RANGES, rangeIris);
- return property;
- }
-
- /**
- * Sets structured property details in the given vocabulary
- *
- * @param vocabulary the context vocabulary
- * @param propertyIri the iri of the structured property
- * @param domainIri the iri of a domain classifiers
- * @param rangeIri the iri of a range structures
- * @param functional whether the structured property is functional
- */
- public void setStructuredProperty(Vocabulary vocabulary, String propertyIri,
- String domainIri, String rangeIri, Boolean functional) {
- defer.add(() -> {
- StructuredProperty property = resolve(StructuredProperty.class, vocabulary, propertyIri);
- if (property.getOntology() != vocabulary) {
- property = (StructuredProperty) OmlWrite.getOrAddRef(vocabulary, property);
- }
- if (domainIri != null) {
- property.getDomains().add(resolve(Classifier.class, vocabulary, domainIri));
- }
- if (rangeIri != null) {
- property.getRanges().add(resolve(Structure.class, vocabulary, rangeIri));
- }
- if (functional != null) {
- property.setFunctional(functional);
- }
- });
- }
-
// Scalar
/**
@@ -791,18 +726,18 @@ public BuiltIn addBuiltIn(Vocabulary vocabulary, String name) {
return builtIn;
}
- // StructureInstance
+ // AnonymousConceptInstance
/**
- * Creates a structure instance and adds it to the given ontology
+ * Creates a entity instance and adds it to the given ontology
*
* @param ontology the context ontology
- * @param structureIri the iri of a structure that is the type of the structure instance
- * @return a structure instance that is added to the given ontology
+ * @param entityIri the iri of a entity that is the type of the entity instance
+ * @return a entity instance that is added to the given ontology
*/
- public StructureInstance createStructureInstance(Ontology ontology, String structureIri) {
- final StructureInstance instance = OmlWrite.createStructureInstance(ontology, null);
- setCrossReference(ontology, instance, OmlPackage.Literals.STRUCTURE_INSTANCE__TYPE, structureIri);
+ public AnonymousConceptInstance createAnonymousConceptInstance(Ontology ontology, String entityIri) {
+ final AnonymousConceptInstance instance = OmlWrite.createAnonymousConceptInstance(ontology, null);
+ setCrossReference(ontology, instance, OmlPackage.Literals.ANONYMOUS_CONCEPT_INSTANCE__TYPE, entityIri);
return instance;
}
@@ -909,20 +844,20 @@ public SpecializationAxiom addSpecializationAxiom(Vocabulary vocabulary, String
return axiom;
}
- // ClassifierEquivalenceAxiom
+ // EntityEquivalenceAxiom
/**
- * Creates a classifier equivalence axiom between the sub classifier and super classifiers and adds it to the given vocabulary
+ * Creates a entity equivalence axiom between the sub entity and super entities and adds it to the given vocabulary
*
* @param vocabulary the context vocabulary
- * @param subClassifierIri the given iri of sub classifier
- * @param superClassifierIris the given iris of super classifiers
- * @return a classifier equivalence axiom that is added to the vocabulary
- */
- public ClassifierEquivalenceAxiom addClassifierEquivalenceAxiom(Vocabulary vocabulary, String subClassifierIri, List superClassifierIris) {
- final ClassifierEquivalenceAxiom axiom = OmlWrite.addClassifierEquivalenceAxiom(vocabulary, null, Collections.emptyList());
- setCrossReferences(vocabulary, axiom, OmlPackage.Literals.CLASSIFIER_EQUIVALENCE_AXIOM__SUPER_CLASSIFIERS, superClassifierIris);
- setContainmentReference(vocabulary, subClassifierIri, OmlPackage.Literals.CLASSIFIER__OWNED_EQUIVALENCES, axiom);
+ * @param subEntityIri the given iri of sub entity
+ * @param superEntityIris the given iris of super entities
+ * @return a entity equivalence axiom that is added to the vocabulary
+ */
+ public EntityEquivalenceAxiom addEntityEquivalenceAxiom(Vocabulary vocabulary, String subEntityIri, List superEntityIris) {
+ final EntityEquivalenceAxiom axiom = OmlWrite.addEntityEquivalenceAxiom(vocabulary, null, Collections.emptyList());
+ setCrossReferences(vocabulary, axiom, OmlPackage.Literals.ENTITY_EQUIVALENCE_AXIOM__SUPER_ENTITIES, superEntityIris);
+ setContainmentReference(vocabulary, subEntityIri, OmlPackage.Literals.ENTITY__OWNED_EQUIVALENCES, axiom);
return axiom;
}
@@ -976,7 +911,7 @@ public PropertyEquivalenceAxiom addPropertyEquivalenceAxiom(Vocabulary vocabular
* Creates a property range restriction axiom and adds it to the given vocabulary
*
* @param vocabulary the context vocabulary
- * @param owner the owner (either a String representing the iri of the owning classifier, or the owning classifier equivalence axiom object)
+ * @param owner the owner (either a String representing the iri of the owning entity, or the owning entity equivalence axiom object)
* @param propertyIri the iri of the restricted property
* @param rangeIri the iri of the restricted range
* @param restrictionKind the kind of the restriction
@@ -987,9 +922,9 @@ public PropertyRangeRestrictionAxiom addPropertyRangeRestrictionAxiom(Vocabulary
setCrossReference(vocabulary, axiom, OmlPackage.Literals.PROPERTY_RESTRICTION_AXIOM__PROPERTY, propertyIri);
setCrossReference(vocabulary, axiom, OmlPackage.Literals.PROPERTY_RANGE_RESTRICTION_AXIOM__RANGE, rangeIri);
if (owner instanceof String) {
- setContainmentReference(vocabulary, (String)owner, OmlPackage.Literals.CLASSIFIER__OWNED_PROPERTY_RESTRICTIONS, axiom);
- } else if (owner instanceof ClassifierEquivalenceAxiom) {
- ((ClassifierEquivalenceAxiom)owner).getOwnedPropertyRestrictions().add(axiom);
+ setContainmentReference(vocabulary, (String)owner, OmlPackage.Literals.ENTITY__OWNED_PROPERTY_RESTRICTIONS, axiom);
+ } else if (owner instanceof EntityEquivalenceAxiom) {
+ ((EntityEquivalenceAxiom)owner).getOwnedPropertyRestrictions().add(axiom);
}
return axiom;
}
@@ -1000,7 +935,7 @@ public PropertyRangeRestrictionAxiom addPropertyRangeRestrictionAxiom(Vocabulary
* Creates a property cardinality restriction axiom and adds it to the given vocabulary
*
* @param vocabulary the context vocabulary
- * @param owner the owner (either a String representing the iri of the owning classifier, or the owning classifier equivalence axiom object)
+ * @param owner the owner (either a String representing the iri of the owning entity, or the owning entity equivalence axiom object)
* @param propertyIri the iri of the restricted property
* @param cardinality the restricted cardinality
* @param rangeIri the iri of the restricted range (optional)
@@ -1012,9 +947,9 @@ public PropertyCardinalityRestrictionAxiom addPropertyCardinalityRestrictionAxio
setCrossReference(vocabulary, axiom, OmlPackage.Literals.PROPERTY_RESTRICTION_AXIOM__PROPERTY, propertyIri);
setCrossReference(vocabulary, axiom, OmlPackage.Literals.PROPERTY_CARDINALITY_RESTRICTION_AXIOM__RANGE, rangeIri);
if (owner instanceof String) {
- setContainmentReference(vocabulary, (String)owner, OmlPackage.Literals.CLASSIFIER__OWNED_PROPERTY_RESTRICTIONS, axiom);
- } else if (owner instanceof ClassifierEquivalenceAxiom) {
- ((ClassifierEquivalenceAxiom)owner).getOwnedPropertyRestrictions().add(axiom);
+ setContainmentReference(vocabulary, (String)owner, OmlPackage.Literals.ENTITY__OWNED_PROPERTY_RESTRICTIONS, axiom);
+ } else if (owner instanceof EntityEquivalenceAxiom) {
+ ((EntityEquivalenceAxiom)owner).getOwnedPropertyRestrictions().add(axiom);
}
return axiom;
}
@@ -1025,7 +960,7 @@ public PropertyCardinalityRestrictionAxiom addPropertyCardinalityRestrictionAxio
* Creates a property value restriction axiom for a scalar property and adds it to the given vocabulary
*
* @param vocabulary the context vocabulary
- * @param owner the owner (either a String representing the iri of the owning classifier, or the owning classifier equivalence axiom object)
+ * @param owner the owner (either a String representing the iri of the owning entity, or the owning entity equivalence axiom object)
* @param propertyIri the iri of the restricted scalar property
* @param literal the (literal) value of the restriction
* @return a property value restriction axiom that is added to the given vocabulary
@@ -1034,19 +969,19 @@ public PropertyValueRestrictionAxiom addPropertyValueRestrictionAxiom(Vocabulary
final PropertyValueRestrictionAxiom axiom = OmlWrite.addPropertyValueRestrictionAxiom(vocabulary, null, null, literal);
setCrossReference(vocabulary, axiom, OmlPackage.Literals.PROPERTY_RESTRICTION_AXIOM__PROPERTY, propertyIri);
if (owner instanceof String) {
- setContainmentReference(vocabulary, (String)owner, OmlPackage.Literals.CLASSIFIER__OWNED_PROPERTY_RESTRICTIONS, axiom);
- } else if (owner instanceof ClassifierEquivalenceAxiom) {
- ((ClassifierEquivalenceAxiom)owner).getOwnedPropertyRestrictions().add(axiom);
+ setContainmentReference(vocabulary, (String)owner, OmlPackage.Literals.ENTITY__OWNED_PROPERTY_RESTRICTIONS, axiom);
+ } else if (owner instanceof EntityEquivalenceAxiom) {
+ ((EntityEquivalenceAxiom)owner).getOwnedPropertyRestrictions().add(axiom);
}
return axiom;
}
/**
- * Creates a property value restriction axiom for a structured property and adds it to the given vocabulary
+ * Creates a property value restriction axiom for a property and adds it to the given vocabulary
*
* @param vocabulary the context vocabulary
- * @param owner the owner (either a String representing the iri of the owning classifier, or the owning classifier equivalence axiom object)
- * @param propertyIri the iri of the restricted structured property
+ * @param owner the owner (either a String representing the iri of the owning entity, or the owning entity equivalence axiom object)
+ * @param propertyIri the iri of the restricted property
* @param containedValue the contained value of the restriction
* @return a property value restriction axiom that is added to the given vocabulary
*/
@@ -1054,9 +989,9 @@ public PropertyValueRestrictionAxiom addPropertyValueRestrictionAxiom(Vocabulary
final PropertyValueRestrictionAxiom axiom = OmlWrite.addPropertyValueRestrictionAxiom(vocabulary, null, null, containedValue);
setCrossReference(vocabulary, axiom, OmlPackage.Literals.PROPERTY_RESTRICTION_AXIOM__PROPERTY, propertyIri);
if (owner instanceof String) {
- setContainmentReference(vocabulary, (String)owner, OmlPackage.Literals.CLASSIFIER__OWNED_PROPERTY_RESTRICTIONS, axiom);
- } else if (owner instanceof ClassifierEquivalenceAxiom) {
- ((ClassifierEquivalenceAxiom)owner).getOwnedPropertyRestrictions().add(axiom);
+ setContainmentReference(vocabulary, (String)owner, OmlPackage.Literals.ENTITY__OWNED_PROPERTY_RESTRICTIONS, axiom);
+ } else if (owner instanceof EntityEquivalenceAxiom) {
+ ((EntityEquivalenceAxiom)owner).getOwnedPropertyRestrictions().add(axiom);
}
return axiom;
}
@@ -1065,7 +1000,7 @@ public PropertyValueRestrictionAxiom addPropertyValueRestrictionAxiom(Vocabulary
* Creates a property value restriction axiom for a relation and adds it to the given vocabulary
*
* @param vocabulary the context vocabulary
- * @param owner the owner (either a String representing the iri of the owning classifier, or the owning classifier equivalence axiom object)
+ * @param owner the owner (either a String representing the iri of the owning entity, or the owning entity equivalence axiom object)
* @param relationIri the iri of the restricted relation
* @param referencedValueIri the Iri of a referenced value of the restriction
* @return a property value restriction axiom that is added to the given vocabulary
@@ -1075,9 +1010,9 @@ public PropertyValueRestrictionAxiom addPropertyValueRestrictionAxiom(Vocabulary
setCrossReference(vocabulary, axiom, OmlPackage.Literals.PROPERTY_VALUE_RESTRICTION_AXIOM__REFERENCED_VALUE, referencedValueIri);
setCrossReference(vocabulary, axiom, OmlPackage.Literals.PROPERTY_RESTRICTION_AXIOM__PROPERTY, relationIri);
if (owner instanceof String) {
- setContainmentReference(vocabulary, (String)owner, OmlPackage.Literals.CLASSIFIER__OWNED_PROPERTY_RESTRICTIONS, axiom);
- } else if (owner instanceof ClassifierEquivalenceAxiom) {
- ((ClassifierEquivalenceAxiom)owner).getOwnedPropertyRestrictions().add(axiom);
+ setContainmentReference(vocabulary, (String)owner, OmlPackage.Literals.ENTITY__OWNED_PROPERTY_RESTRICTIONS, axiom);
+ } else if (owner instanceof EntityEquivalenceAxiom) {
+ ((EntityEquivalenceAxiom)owner).getOwnedPropertyRestrictions().add(axiom);
}
return axiom;
}
@@ -1086,7 +1021,7 @@ public PropertyValueRestrictionAxiom addPropertyValueRestrictionAxiom(Vocabulary
* Creates a property value restriction axiom for a forward relation and adds it to the given vocabulary
*
* @param vocabulary the context vocabulary
- * @param owner the owner (either a String representing the iri of the owning classifier, or the owning classifier equivalence axiom object)
+ * @param owner the owner (either a String representing the iri of the owning entity, or the owning entity equivalence axiom object)
* @param relationEntityIri the iri of the relation entity that owns the restricted forward relation
* @param containedValue the contained value of the restriction
* @return a property value restriction axiom that is added to the given vocabulary
@@ -1095,9 +1030,9 @@ public PropertyValueRestrictionAxiom addForwardRelationValueRestrictionAxiom(Voc
final PropertyValueRestrictionAxiom axiom = OmlWrite.addPropertyValueRestrictionAxiom(vocabulary, null, null, containedValue);
defer.add(() -> axiom.setProperty(resolve(RelationEntity.class, vocabulary, relationEntityIri).getForwardRelation()));
if (owner instanceof String) {
- setContainmentReference(vocabulary, (String)owner, OmlPackage.Literals.CLASSIFIER__OWNED_PROPERTY_RESTRICTIONS, axiom);
- } else if (owner instanceof ClassifierEquivalenceAxiom) {
- ((ClassifierEquivalenceAxiom)owner).getOwnedPropertyRestrictions().add(axiom);
+ setContainmentReference(vocabulary, (String)owner, OmlPackage.Literals.ENTITY__OWNED_PROPERTY_RESTRICTIONS, axiom);
+ } else if (owner instanceof EntityEquivalenceAxiom) {
+ ((EntityEquivalenceAxiom)owner).getOwnedPropertyRestrictions().add(axiom);
}
return axiom;
}
@@ -1106,7 +1041,7 @@ public PropertyValueRestrictionAxiom addForwardRelationValueRestrictionAxiom(Voc
* Creates a property value restriction axiom for a reverse relation and adds it to the given vocabulary
*
* @param vocabulary the context vocabulary
- * @param owner the owner (either a String representing the iri of the owning classifier, or the owning classifier equivalence axiom object)
+ * @param owner the owner (either a String representing the iri of the owning entity, or the owning entity equivalence axiom object)
* @param relationBaseri the iri of the relation base that owns the restricted reverse relation
* @param containedValue the contained value of the restriction
* @return a property value restriction axiom that is added to the given vocabulary
@@ -1115,9 +1050,9 @@ public PropertyValueRestrictionAxiom addReverseRelationValueRestrictionAxiom(Voc
final PropertyValueRestrictionAxiom axiom = OmlWrite.addPropertyValueRestrictionAxiom(vocabulary, null, null, containedValue);
defer.add(() -> axiom.setProperty(resolve(RelationBase.class, vocabulary, relationBaseri).getReverseRelation()));
if (owner instanceof String) {
- setContainmentReference(vocabulary, (String)owner, OmlPackage.Literals.CLASSIFIER__OWNED_PROPERTY_RESTRICTIONS, axiom);
- } else if (owner instanceof ClassifierEquivalenceAxiom) {
- ((ClassifierEquivalenceAxiom)owner).getOwnedPropertyRestrictions().add(axiom);
+ setContainmentReference(vocabulary, (String)owner, OmlPackage.Literals.ENTITY__OWNED_PROPERTY_RESTRICTIONS, axiom);
+ } else if (owner instanceof EntityEquivalenceAxiom) {
+ ((EntityEquivalenceAxiom)owner).getOwnedPropertyRestrictions().add(axiom);
}
return axiom;
}
@@ -1128,7 +1063,7 @@ public PropertyValueRestrictionAxiom addReverseRelationValueRestrictionAxiom(Voc
* Creates a self restriction axiom on a relation and adds it to the given vocabulary
*
* @param vocabulary the context vocabulary
- * @param owner the given restricting owner (classifier or classifier equivalence axiom)
+ * @param owner the given restricting owner (entity or entity equivalence axiom)
* @param relationIri the iri of the restricted relation
* @return a property value restriction axiom that is added to the given vocabulary
*/
@@ -1136,9 +1071,9 @@ public PropertySelfRestrictionAxiom addPropertySelfRestrictionAxiom(Vocabulary v
final PropertySelfRestrictionAxiom axiom = OmlWrite.addPropertySelfRestrictionAxiom(vocabulary, null, null);
setCrossReference(vocabulary, axiom, OmlPackage.Literals.PROPERTY_RESTRICTION_AXIOM__PROPERTY, relationIri);
if (owner instanceof String) {
- setContainmentReference(vocabulary, (String)owner, OmlPackage.Literals.CLASSIFIER__OWNED_PROPERTY_RESTRICTIONS, axiom);
- } else if (owner instanceof ClassifierEquivalenceAxiom) {
- ((ClassifierEquivalenceAxiom)owner).getOwnedPropertyRestrictions().add(axiom);
+ setContainmentReference(vocabulary, (String)owner, OmlPackage.Literals.ENTITY__OWNED_PROPERTY_RESTRICTIONS, axiom);
+ } else if (owner instanceof EntityEquivalenceAxiom) {
+ ((EntityEquivalenceAxiom)owner).getOwnedPropertyRestrictions().add(axiom);
}
return axiom;
}
@@ -1237,7 +1172,7 @@ public PropertyValueAssertion addPropertyValueAssertion(Ontology ontology, Objec
*
* @param ontology the context ontology
* @param owner either an anonymous instance or the iri of a named instance
- * @param propertyIri the iri of the structured property
+ * @param propertyIri the iri of the property
* @param containedValues the asserted contained values of the property
* @return a property value assertion that is added to the given description
*/
diff --git a/io.opencaesar.oml/src/io/opencaesar/oml/util/OmlConstants.java b/io.opencaesar.oml/src/io/opencaesar/oml/util/OmlConstants.java
index 16a27c35..08adb34f 100644
--- a/io.opencaesar.oml/src/io/opencaesar/oml/util/OmlConstants.java
+++ b/io.opencaesar.oml/src/io/opencaesar/oml/util/OmlConstants.java
@@ -161,11 +161,6 @@ public interface OmlConstants {
*/
public static final String RelationEntity = OML_NS + "RelationEntity";
- /**
- * The oml:Structure IRI
- */
- public static final String Structure = OML_NS + "Structure";
-
/**
* The oml:Scalar IRI
*/
@@ -196,11 +191,6 @@ public interface OmlConstants {
*/
public static final String ScalarProperty = OML_NS + "ScalarProperty";
- /**
- * The oml:StructuredProperty IRI
- */
- public static final String StructuredProperty = OML_NS + "StructuredProperty";
-
/**
* The oml:Rule IRI
*/
@@ -217,9 +207,9 @@ public interface OmlConstants {
public static final String RelationInstance = OML_NS + "RelationInstance";
/**
- * The oml:StructureInstance IRI
+ * The oml:AnonymousConceptInstance IRI
*/
- public static final String StructureInstance = OML_NS + "StructureInstance";
+ public static final String AnonymousConceptInstance = OML_NS + "AnonymousConceptInstance";
/**
* The oml:AnonymousRelationInstance IRI
diff --git a/io.opencaesar.oml/src/io/opencaesar/oml/util/OmlIndex.java b/io.opencaesar.oml/src/io/opencaesar/oml/util/OmlIndex.java
index 7013a3a6..0d86818b 100644
--- a/io.opencaesar.oml/src/io/opencaesar/oml/util/OmlIndex.java
+++ b/io.opencaesar.oml/src/io/opencaesar/oml/util/OmlIndex.java
@@ -34,16 +34,16 @@
import io.opencaesar.oml.Annotation;
import io.opencaesar.oml.AnnotationProperty;
+import io.opencaesar.oml.AnonymousConceptInstance;
import io.opencaesar.oml.AnonymousRelationInstance;
import io.opencaesar.oml.Argument;
import io.opencaesar.oml.Aspect;
import io.opencaesar.oml.BuiltIn;
import io.opencaesar.oml.BuiltInPredicate;
-import io.opencaesar.oml.Classifier;
-import io.opencaesar.oml.ClassifierEquivalenceAxiom;
import io.opencaesar.oml.Concept;
import io.opencaesar.oml.ConceptInstance;
import io.opencaesar.oml.Entity;
+import io.opencaesar.oml.EntityEquivalenceAxiom;
import io.opencaesar.oml.InstanceEnumerationAxiom;
import io.opencaesar.oml.KeyAxiom;
import io.opencaesar.oml.Member;
@@ -69,9 +69,6 @@
import io.opencaesar.oml.ScalarProperty;
import io.opencaesar.oml.SemanticProperty;
import io.opencaesar.oml.SpecializationAxiom;
-import io.opencaesar.oml.Structure;
-import io.opencaesar.oml.StructureInstance;
-import io.opencaesar.oml.StructuredProperty;
import io.opencaesar.oml.Term;
import io.opencaesar.oml.Type;
import io.opencaesar.oml.TypeAssertion;
@@ -309,25 +306,25 @@ public static Set findRelationBasesWithTarget(Entity target) {
// ScalarProperty
/**
- * Finds scalar properties referencing the given classifier as domain
+ * Finds scalar properties referencing the given entity as domain
*
- * @param domain The referenced classifier
+ * @param domain The referenced entity
* @param scope The scope of the search (can be null)
* @return A set of referencing scalar properties
*/
- public static Set findScalarPropertiesWithDomain(Classifier domain, Set scope) {
+ public static Set findScalarPropertiesWithDomain(Entity domain, Set scope) {
return findInverseReferencers(domain, OmlPackage.Literals.SCALAR_PROPERTY__DOMAINS, ScalarProperty.class, scope);
}
/**
- * Finds scalar properties referencing the given classifier as domain
+ * Finds scalar properties referencing the given entity as domain
*
- * @param domain The referenced classifier
+ * @param domain The referenced entity
* @return A set of referencing scalar properties
- * @deprecated As of 2.5.0. Use {{@link #findScalarPropertiesWithDomain(Classifier, Set)} instead
+ * @deprecated As of 2.5.0. Use {{@link #findScalarPropertiesWithDomain(Entity, Set)} instead
*/
@Deprecated
- public static Set findScalarPropertiesWithDomain(Classifier domain) {
+ public static Set findScalarPropertiesWithDomain(Entity domain) {
return findScalarPropertiesWithDomain(domain, null);
}
@@ -354,77 +351,29 @@ public static Set findScalarPropertiesWithRange( Scalar range) {
return findScalarPropertiesWithRange(range, null);
}
- // StructuredProperty
+ // AnonymousConceptInstance
/**
- * Finds structured properties referencing the given classifier as domain
+ * Finds anonymous concept instances referencing the given entity as type
*
- * @param domain The referenced classifier
+ * @param type The referenced entity
* @param scope The scope of the search (can be null)
- * @return A set of referencing scalar properties
- */
- public static Set findStructuredPropertiesWithDomain(Classifier domain, Set scope) {
- return findInverseReferencers(domain, OmlPackage.Literals.STRUCTURED_PROPERTY__DOMAINS, StructuredProperty.class, scope);
- }
-
- /**
- * Finds structured properties referencing the given classifier as domain
- *
- * @param domain The referenced classifier
- * @return A set of referencing scalar properties
- * @deprecated As of 2.5.0. Use {{@link #findStructuredPropertiesWithDomain(Classifier, Set)} instead
- */
- @Deprecated
- public static Set findStructuredPropertiesWithDomain(Classifier domain) {
- return findStructuredPropertiesWithDomain(domain, null);
- }
-
- /**
- * Finds structured properties referencing the given structure as range
- *
- * @param range The referenced structure
- * @param scope The scope of the search (can be null)
- * @return A set of referencing structured properties
- */
- public static Set findStructuredPropertiesWithRange(Structure range, Set scope) {
- return findInverseReferencers(range, OmlPackage.Literals.STRUCTURED_PROPERTY__RANGES, StructuredProperty.class, scope);
- }
-
- /**
- * Finds structured properties referencing the given structure as range
- *
- * @param range The referenced structure
- * @return A set of referencing structured properties
- * @deprecated As of 2.5.0. Use {{@link #findStructuredPropertiesWithRange(Structure, Set)} instead
- */
- @Deprecated
- public static Set findStructuredPropertiesWithRange(Structure range) {
- return findStructuredPropertiesWithRange(range, null);
- }
-
- // StructureInstance
-
- /**
- * Finds structure instances referencing the given structure as type
- *
- * @param type The referenced structure
- * @param scope The scope of the search (can be null)
- * @return A set of referencing structure instances
+ * @return A set of referencing anonymous concept instances
*/
- public static Set findStructureInstancesWithType(Structure type, Set scope) {
- return findInverseReferencers(type, OmlPackage.Literals.STRUCTURE_INSTANCE__TYPE, StructureInstance.class, scope);
+ public static Set findAnonymousConceptInstancesWithType(Entity type, Set scope) {
+ return findInverseReferencers(type, OmlPackage.Literals.ANONYMOUS_CONCEPT_INSTANCE__TYPE, AnonymousConceptInstance.class, scope);
}
/**
- * Finds structure instances referencing the given structure as type
+ * Finds anonymous concept instances referencing the given entity as type
*
- * @param type The referenced structure
- * @return A set of referencing structure instances
- * @deprecated As of 2.5.0. Use {{@link #findStructureInstancesWithType(Structure, Set)} instead
+ * @param type The referenced entity
+ * @return A set of referencing anonymous concept instances
+ * @deprecated As of 2.5.0. Use {{@link #findAnonymousConceptInstancesWithType(Entity, Set)} instead
*/
@Deprecated
- public static Set findStructureInstancesWithType(Structure type) {
- return findStructureInstancesWithType(type, null);
+ public static Set findAnonymousConceptInstancesWithType(Entity type) {
+ return findAnonymousConceptInstancesWithType(type, null);
}
// AnonymousRelationInstance
@@ -575,31 +524,6 @@ public static Set findRelationEntitiesWithRef(RelationEntity ent
return findRelationEntitiesWithRef(entity, null);
}
- // Structure
-
- /**
- * Finds structure referencing the given structure
- *
- * @param structure The referenced structure
- * @param scope The scope of the search (can be null)
- * @return A set of referencing structures
- */
- public static Set findStructuresWithRef(Structure structure, Set scope) {
- return findInverseReferencers(structure, OmlPackage.Literals.STRUCTURE__REF, Structure.class, scope);
- }
-
- /**
- * Finds structure referencing the given structure
- *
- * @param structure The referenced structure
- * @return A set of referencing structures
- * @deprecated As of 2.5.0. Use {{@link #findStructuresWithRef(Structure, Set)} instead
- */
- @Deprecated
- public static Set findStructuresWithRef(Structure structure) {
- return findStructuresWithRef(structure, null);
- }
-
// AnnotationProperty
/**
@@ -650,31 +574,6 @@ public static Set findScalarPropertiesWithRef(ScalarProperty pro
return findScalarPropertiesWithRef(property, null);
}
- // StructuredProperty
-
- /**
- * Finds structured property referencing the given structured property
- *
- * @param property The referenced structured property
- * @param scope The scope of the search (can be null)
- * @return A set of referencing structured properties
- */
- public static Set findStructuredPropertiesWithRef(StructuredProperty property, Set scope) {
- return findInverseReferencers(property, OmlPackage.Literals.STRUCTURED_PROPERTY__REF, StructuredProperty.class, scope);
- }
-
- /**
- * Finds structured property referencing the given structured property
- *
- * @param property The referenced structured property
- * @return A set of referencing structured properties
- * @deprecated As of 2.5.0. Use {{@link #findStructuredPropertiesWithRef(StructuredProperty, Set)} instead
- */
- @Deprecated
- public static Set findStructuredPropertiesWithRef(StructuredProperty property) {
- return findStructuredPropertiesWithRef(property, null);
- }
-
// Scalar
/**
@@ -850,29 +749,29 @@ public static Set findSpecializationAxiomsWithSuperTerm(Ter
return findSpecializationAxiomsWithSuperTerm(term, null);
}
- // ClassifierEquivalenceAxiom
+ // EntityEquivalenceAxiom
/**
- * Finds classifier equivalence axioms referencing the given classifier
+ * Finds entity equivalence axioms referencing the given entity
*
- * @param classifier The referenced classifier
+ * @param entity The referenced entity
* @param scope The scope of the search (can be null)
- * @return A set of referencing classifier equivalence axioms
+ * @return A set of referencing entity equivalence axioms
*/
- public static Set findClassifierEquivalenceAxiomsWithSuperClassifier(Classifier classifier, Set scope) {
- return findInverseReferencers(classifier, OmlPackage.Literals.CLASSIFIER_EQUIVALENCE_AXIOM__SUPER_CLASSIFIERS, ClassifierEquivalenceAxiom.class, scope);
+ public static Set findEntityEquivalenceAxiomsWithSuperEntity(Entity entity, Set scope) {
+ return findInverseReferencers(entity, OmlPackage.Literals.ENTITY_EQUIVALENCE_AXIOM__SUPER_ENTITIES, EntityEquivalenceAxiom.class, scope);
}
/**
- * Finds classifier equivalence axioms referencing the given classifier
+ * Finds entity equivalence axioms referencing the given entity
*
- * @param classifier The referenced classifier
- * @return A set of referencing classifier equivalence axioms
- * @deprecated As of 2.5.0. Use {{@link #findClassifierEquivalenceAxiomsWithSuperClassifier(Classifier, Set)} instead
+ * @param entity The referenced entity
+ * @return A set of referencing entity equivalence axioms
+ * @deprecated As of 2.5.0. Use {{@link #findEntityEquivalenceAxiomsWithSuperEntity(Entity, Set)} instead
*/
@Deprecated
- public static Set findClassifierEquivalenceAxiomsWithSuperClassifier(Classifier classifier) {
- return findClassifierEquivalenceAxiomsWithSuperClassifier(classifier, null);
+ public static Set findEntityEquivalenceAxiomsWithSuperEntity(Entity entity) {
+ return findEntityEquivalenceAxiomsWithSuperEntity(entity, null);
}
// ScalarEquivalenceAxiom
diff --git a/io.opencaesar.oml/src/io/opencaesar/oml/util/OmlRead.java b/io.opencaesar.oml/src/io/opencaesar/oml/util/OmlRead.java
index 00bd8a07..997aec37 100644
--- a/io.opencaesar.oml/src/io/opencaesar/oml/util/OmlRead.java
+++ b/io.opencaesar.oml/src/io/opencaesar/oml/util/OmlRead.java
@@ -45,9 +45,9 @@
import io.opencaesar.oml.AnonymousInstance;
import io.opencaesar.oml.Assertion;
import io.opencaesar.oml.Axiom;
-import io.opencaesar.oml.Classifier;
import io.opencaesar.oml.Description;
import io.opencaesar.oml.Element;
+import io.opencaesar.oml.Entity;
import io.opencaesar.oml.ForwardRelation;
import io.opencaesar.oml.IdentifiedElement;
import io.opencaesar.oml.Import;
@@ -822,8 +822,8 @@ public static Member getAnnotationReferencedValue(IdentifiedElement element, Ann
public static List getSuperTerms(Term term) {
var supers = new ArrayList();
supers.addAll(getSpecializationSuperTerms(term));
- if (term instanceof Classifier) {
- supers.addAll(getEquivalenceSuperClassifiers((Classifier)term));
+ if (term instanceof Entity) {
+ supers.addAll(getEquivalenceSuperEntities((Entity)term));
} else if (term instanceof Scalar) {
supers.addAll(getEquivalenceSuperScalars((Scalar)term));
} else if (term instanceof Property) {
@@ -866,14 +866,14 @@ public static List getSpecializationSuperTerms(Term term) {
}
/**
- * Gets the equivalence super classifiers of the given classifier
+ * Gets the equivalence super entities of the given entity
*
- * @param classifier the given classifier
- * @return a list of equivalence super classifiers of the given classifier
+ * @param entity the given entity
+ * @return a list of equivalence super entities of the given entity
*/
- public static List getEquivalenceSuperClassifiers(Classifier classifier) {
- return classifier.getOwnedEquivalences().stream()
- .flatMap(i -> i.getSuperClassifiers().stream())
+ public static List getEquivalenceSuperEntities(Entity entity) {
+ return entity.getOwnedEquivalences().stream()
+ .flatMap(i -> i.getSuperEntities().stream())
.collect(Collectors.toList());
}
@@ -903,7 +903,7 @@ public static List getEquivalenceSuperProperties(Property property) {
.collect(Collectors.toList()));
} else if (property instanceof ForwardRelation) {
var entity = ((ForwardRelation)property).getRelationEntity();
- supers.addAll(getEquivalenceSuperClassifiers(entity).stream()
+ supers.addAll(getEquivalenceSuperEntities(entity).stream()
.filter(i -> i instanceof RelationEntity)
.map(i -> (RelationEntity)i)
.filter(i -> i.getForwardRelation() != null)
@@ -912,7 +912,7 @@ public static List getEquivalenceSuperProperties(Property property) {
} else if (property instanceof ReverseRelation) {
var base = ((ReverseRelation)property).getRelationBase();
if (base instanceof RelationEntity) {
- supers.addAll(getEquivalenceSuperClassifiers((RelationEntity)base).stream()
+ supers.addAll(getEquivalenceSuperEntities((RelationEntity)base).stream()
.filter(i -> i instanceof RelationEntity)
.map(i -> (RelationEntity)i)
.filter(i -> i.getReverseRelation() != null)
@@ -1055,7 +1055,7 @@ public static Literal getPropertyLiteralValue(Instance instance, SemanticPropert
*
* @param instance The given instance
* @param property the given property
- * @return a structure instance representing the property's contained value
+ * @return an anonymous instance representing the property's contained value
*/
public static AnonymousInstance getPropertyContainedValue(Instance instance, SemanticProperty property) {
return getPropertyValues(instance, property).stream()
@@ -1086,8 +1086,8 @@ public static NamedInstance getPropertyReferencedValue(Instance instance, Semant
* @param instance the given instance
* @return a list of types of the given element
*/
- public static List getTypes(Instance instance) {
- var types = new ArrayList();
+ public static List getTypes(Instance instance) {
+ var types = new ArrayList();
if (instance instanceof AnonymousInstance) {
types.addAll(instance.getTypes());
} else if (instance instanceof NamedInstance) {
diff --git a/io.opencaesar.oml/src/io/opencaesar/oml/util/OmlSearch.java b/io.opencaesar.oml/src/io/opencaesar/oml/util/OmlSearch.java
index bd5df6f7..a37c86c9 100644
--- a/io.opencaesar.oml/src/io/opencaesar/oml/util/OmlSearch.java
+++ b/io.opencaesar.oml/src/io/opencaesar/oml/util/OmlSearch.java
@@ -34,12 +34,11 @@
import io.opencaesar.oml.Aspect;
import io.opencaesar.oml.Assertion;
import io.opencaesar.oml.Axiom;
-import io.opencaesar.oml.Classifier;
-import io.opencaesar.oml.ClassifierEquivalenceAxiom;
import io.opencaesar.oml.Concept;
import io.opencaesar.oml.ConceptInstance;
import io.opencaesar.oml.Element;
import io.opencaesar.oml.Entity;
+import io.opencaesar.oml.EntityEquivalenceAxiom;
import io.opencaesar.oml.ForwardRelation;
import io.opencaesar.oml.IdentifiedElement;
import io.opencaesar.oml.Instance;
@@ -66,8 +65,6 @@
import io.opencaesar.oml.SpecializableProperty;
import io.opencaesar.oml.SpecializableTerm;
import io.opencaesar.oml.SpecializationAxiom;
-import io.opencaesar.oml.Structure;
-import io.opencaesar.oml.StructuredProperty;
import io.opencaesar.oml.Term;
import io.opencaesar.oml.Type;
import io.opencaesar.oml.TypeAssertion;
@@ -101,14 +98,10 @@ public static Set findRefs(Member member, Set scope) {
refs.addAll(findConceptsWithRef((Concept)member, scope));
} else if (member instanceof RelationEntity) {
refs.addAll(findRelationEntitiesWithRef((RelationEntity)member, scope));
- } else if (member instanceof Structure) {
- refs.addAll(findStructuresWithRef((Structure)member, scope));
} else if (member instanceof Scalar) {
refs.addAll(findScalarsWithRef((Scalar)member, scope));
} else if (member instanceof Relation) {
refs.addAll(findUnreifiedRelationsWithRef((Relation)member, scope));
- } else if (member instanceof StructuredProperty) {
- refs.addAll(findStructuredPropertiesWithRef((StructuredProperty)member, scope));
} else if (member instanceof ScalarProperty) {
refs.addAll(findScalarPropertiesWithRef((ScalarProperty)member, scope));
} else if (member instanceof Rule) {
@@ -278,11 +271,9 @@ public static Set findAxioms(Term term, Set scope) {
if (term instanceof SpecializableTerm){
axioms.addAll(findSpecializationAxiomsWithSubTerm(((SpecializableTerm)term), scope));
}
- if (term instanceof Classifier) {
- axioms.addAll(findClassifierEquivalenceAxiomsWithSubClassifier(((Classifier)term), scope));
- axioms.addAll(findPropertyRestrictionAxioms(((Classifier)term), scope));
- }
if (term instanceof Entity) {
+ axioms.addAll(findEntityEquivalenceAxiomsWithSubEntity(((Entity)term), scope));
+ axioms.addAll(findPropertyRestrictionAxioms(((Entity)term), scope));
axioms.addAll(findKeyAxioms(((Entity)term), scope));
}
if (term instanceof Concept) {
@@ -407,33 +398,33 @@ public static Set findLiteralEnumerationAxioms(Scalar s
}
/**
- * Find property restriction axioms that are defined on the given classifier
+ * Find property restriction axioms that are defined on the given entity
*
- * @param classifier the given classifier
+ * @param entity the given entity
* @param scope The scope of the search (can be null)
- * @return a set of restriction axioms that are defined on the given classifier
+ * @return a set of restriction axioms that are defined on the given entity
*/
- public static Set findPropertyRestrictionAxioms(Classifier classifier, Set scope) {
+ public static Set findPropertyRestrictionAxioms(Entity entity, Set scope) {
final Set axioms = new LinkedHashSet<>();
- axioms.addAll(classifier.getOwnedPropertyRestrictions());
- axioms.addAll(findRefs(classifier, scope).stream()
- .filter(i -> i instanceof Classifier)
- .map(i -> (Classifier)i)
+ axioms.addAll(entity.getOwnedPropertyRestrictions());
+ axioms.addAll(findRefs(entity, scope).stream()
+ .filter(i -> i instanceof Entity)
+ .map(i -> (Entity)i)
.flatMap(r -> r.getOwnedPropertyRestrictions().stream())
.collect(Collectors.toCollection(LinkedHashSet::new)));
return axioms;
}
/**
- * Find property restriction axioms that are defined on the given classifier
+ * Find property restriction axioms that are defined on the given entity
*
- * @param classifier the given classifier
- * @return a set of restriction axioms that are defined on the given classifier
- * @deprecated As of 2.5.0. Use {{@link #findPropertyRestrictionAxioms(Classifier, Set)} instead
+ * @param entity the given entity
+ * @return a set of restriction axioms that are defined on the given entity
+ * @deprecated As of 2.5.0. Use {{@link #findPropertyRestrictionAxioms(Entity, Set)} instead
*/
@Deprecated
- public static Set findPropertyRestrictionAxioms(Classifier classifier) {
- return findPropertyRestrictionAxioms(classifier, null);
+ public static Set findPropertyRestrictionAxioms(Entity entity) {
+ return findPropertyRestrictionAxioms(entity, null);
}
//-----Beginning-Of-Specialization-and-Equivalence-Axioms-----------------
@@ -471,33 +462,33 @@ public static Set findSpecializationAxiomsWithSubTerm(Term
}
/**
- * Finds classifier equivalence axioms that have the given classifier as a sub
+ * Finds entity equivalence axioms that have the given entity as a sub
*
- * @param classifier the given classifier
+ * @param entity the given entity
* @param scope The scope of the search (can be null)
- * @return a set of classifier equivalence axioms that have the given classifier as a sub
+ * @return a set of entity equivalence axioms that have the given entity as a sub
*/
- public static Set findClassifierEquivalenceAxiomsWithSubClassifier(Classifier classifier, Set scope) {
- final Set axioms = new LinkedHashSet<>();
- axioms.addAll(classifier.getOwnedEquivalences());
- axioms.addAll(findRefs(classifier, scope).stream()
- .filter(i -> i instanceof Classifier)
- .map(i -> (Classifier)i)
+ public static Set findEntityEquivalenceAxiomsWithSubEntity(Entity entity, Set scope) {
+ final Set axioms = new LinkedHashSet<>();
+ axioms.addAll(entity.getOwnedEquivalences());
+ axioms.addAll(findRefs(entity, scope).stream()
+ .filter(i -> i instanceof Entity)
+ .map(i -> (Entity)i)
.flatMap(r -> r.getOwnedEquivalences().stream())
.collect(Collectors.toCollection(LinkedHashSet::new)));
return axioms;
}
/**
- * Finds classifier equivalence axioms that have the given classifier as a sub
+ * Finds entity equivalence axioms that have the given entity as a sub
*
- * @param classifier the given classifier
- * @return a set of classifier equivalence axioms that have the given classifier as a sub
- * @deprecated As of 2.5.0. Use {{@link #findClassifierEquivalenceAxiomsWithSubClassifier(Classifier, Set)} instead
+ * @param entity the given entity
+ * @return a set of entity equivalence axioms that have the given entity as a sub
+ * @deprecated As of 2.5.0. Use {{@link #findEntityEquivalenceAxiomsWithSubEntity(Entity, Set)} instead
*/
@Deprecated
- public static Set findClassifierEquivalenceAxiomsWithSubClassifier(Classifier classifier) {
- return findClassifierEquivalenceAxiomsWithSubClassifier(classifier, null);
+ public static Set findEntityEquivalenceAxiomsWithSubEntity(Entity entity) {
+ return findEntityEquivalenceAxiomsWithSubEntity(entity, null);
}
/**
@@ -572,9 +563,9 @@ public static Set findPropertyEquivalenceAxiomsWithSub
public static Set findSuperTerms(Term term, Set scope) {
final Set supers = new LinkedHashSet<>();
supers.addAll(findSpecializationSuperTerms(term, scope));
- if (term instanceof Classifier) {
- supers.addAll(findEquivalenceSuperClassifiers((Classifier)term, scope));
- supers.addAll(findEquivalentClassifiers((Classifier)term, scope));
+ if (term instanceof Entity) {
+ supers.addAll(findEquivalenceSuperEntitys((Entity)term, scope));
+ supers.addAll(findEquivalentEntitys((Entity)term, scope));
} else if (term instanceof Scalar) {
supers.addAll(findEquivalenceSuperScalars((Scalar)term, scope));
supers.addAll(findEquivalentScalars((Scalar)term, scope));
@@ -606,9 +597,9 @@ public static Set findSuperTerms(Term term) {
public static Set findSubTerms(Term term, Set scope) {
final Set subs = new LinkedHashSet<>();
subs.addAll(findSpecializationSubTerms(term, scope));
- if (term instanceof Classifier) {
- subs.addAll(findEquivalenceSubClassifiers((Classifier)term, scope));
- subs.addAll(findEquivalentClassifiers((Classifier)term, scope));
+ if (term instanceof Entity) {
+ subs.addAll(findEquivalenceSubEntitys((Entity)term, scope));
+ subs.addAll(findEquivalentEntitys((Entity)term, scope));
} else if (term instanceof Scalar) {
subs.addAll(findEquivalenceSubScalars((Scalar)term, scope));
subs.addAll(findEquivalentScalars((Scalar)term, scope));
@@ -796,53 +787,53 @@ public static Set findSpecializationSubTerms(Term term) {
}
/**
- * Finds classifiers that are the direct equivalence super of a given classifier
+ * Finds entities that are the direct equivalence super of a given entity
*
- * @param classifier the given classifier
+ * @param entity the given entity
* @param scope The scope of the search (can be null)
- * @return a set of classifier that are the direct equivalence super of the given classifier
+ * @return a set of entity that are the direct equivalence super of the given entity
*/
- public static Set findEquivalenceSuperClassifiers(Classifier classifier, Set scope) {
- return findClassifierEquivalenceAxiomsWithSubClassifier(classifier, scope).stream()
- .flatMap(i -> i.getSuperClassifiers().stream())
+ public static Set findEquivalenceSuperEntitys(Entity entity, Set scope) {
+ return findEntityEquivalenceAxiomsWithSubEntity(entity, scope).stream()
+ .flatMap(i -> i.getSuperEntities().stream())
.collect(Collectors.toCollection(LinkedHashSet::new));
}
/**
- * Finds classifiers that are the direct equivalence super of a given classifier
+ * Finds entities that are the direct equivalence super of a given entity
*
- * @param classifier the given classifier
- * @return a set of classifier that are the direct equivalence super of the given classifier
- * @deprecated As of 2.5.0. Use {{@link #findEquivalenceSuperClassifiers(Classifier, Set)} instead
+ * @param entity the given entity
+ * @return a set of entity that are the direct equivalence super of the given entity
+ * @deprecated As of 2.5.0. Use {{@link #findEquivalenceSuperEntitys(Entity, Set)} instead
*/
@Deprecated
- public static Set findEquivalenceSuperClassifiers(Classifier classifier) {
- return findEquivalenceSuperClassifiers(classifier, null);
+ public static Set findEquivalenceSuperEntitys(Entity entity) {
+ return findEquivalenceSuperEntitys(entity, null);
}
/**
- * Finds classifiers that are the direct equivalence sub of a given classifier
+ * Finds entities that are the direct equivalence sub of a given entity
*
- * @param classifier the given classifier
+ * @param entity the given entity
* @param scope The scope of the search (can be null)
- * @return a set of classifier that are the direct equivalence sub of the given classifier
+ * @return a set of entity that are the direct equivalence sub of the given entity
*/
- public static Set findEquivalenceSubClassifiers(Classifier classifier, Set scope) {
- return findClassifierEquivalenceAxiomsWithSuperClassifier(classifier, scope).stream()
- .map(i -> i.getSubClassifier())
+ public static Set findEquivalenceSubEntitys(Entity entity, Set scope) {
+ return findEntityEquivalenceAxiomsWithSuperEntity(entity, scope).stream()
+ .map(i -> i.getSubEntity())
.collect(Collectors.toCollection(LinkedHashSet::new));
}
/**
- * Finds classifiers that are the direct equivalence sub of a given classifier
+ * Finds entities that are the direct equivalence sub of a given entity
*
- * @param classifier the given classifier
- * @return a set of classifier that are the direct equivalence sub of the given classifier
- * @deprecated As of 2.5.0. Use {{@link #findEquivalenceSubClassifiers(Classifier, Set)} instead
+ * @param entity the given entity
+ * @return a set of entity that are the direct equivalence sub of the given entity
+ * @deprecated As of 2.5.0. Use {{@link #findEquivalenceSubEntitys(Entity, Set)} instead
*/
@Deprecated
- public static Set findEquivalenceSubClassifiers(Classifier classifier) {
- return findEquivalenceSubClassifiers(classifier, null);
+ public static Set findEquivalenceSubEntitys(Entity entity) {
+ return findEquivalenceSubEntitys(entity, null);
}
/**
@@ -850,7 +841,7 @@ public static Set findEquivalenceSubClassifiers(Classifier classifie
*
* @param scalar the given scalar
* @param scope The scope of the search (can be null)
- * @return a set of classifier that are the direct equivalence super of the given classifier
+ * @return a set of entity that are the direct equivalence super of the given entity
*/
public static Set findEquivalenceSuperScalars(Scalar scalar, Set scope) {
return findScalarEquivalenceAxiomsWithSubScalar(scalar, scope).stream()
@@ -862,7 +853,7 @@ public static Set findEquivalenceSuperScalars(Scalar scalar, Set)} instead
*/
@Deprecated
@@ -909,7 +900,7 @@ public static Set findEquivalenceSuperProperties(Property property, Se
.collect(Collectors.toCollection(LinkedHashSet::new)));
if (property instanceof ForwardRelation) {
var entity = ((ForwardRelation)property).getRelationEntity();
- supers.addAll(findEquivalenceSuperClassifiers(entity, scope).stream()
+ supers.addAll(findEquivalenceSuperEntitys(entity, scope).stream()
.filter(i -> i instanceof RelationEntity)
.map(i -> (RelationEntity)i)
.filter(i -> i.getForwardRelation() != null)
@@ -918,7 +909,7 @@ public static Set findEquivalenceSuperProperties(Property property, Se
} else if (property instanceof ReverseRelation) {
var base = ((ReverseRelation)property).getRelationBase();
if (base instanceof RelationEntity) {
- supers.addAll(findEquivalenceSuperClassifiers((RelationEntity)base, scope).stream()
+ supers.addAll(findEquivalenceSuperEntitys((RelationEntity)base, scope).stream()
.filter(i -> i instanceof RelationEntity)
.map(i -> (RelationEntity)i)
.filter(i -> i.getReverseRelation() != null)
@@ -962,7 +953,7 @@ public static Set findEquivalenceSubProperties(Property property, Set<
.collect(Collectors.toCollection(LinkedHashSet::new)));
if (property instanceof ForwardRelation) {
var entity = ((ForwardRelation)property).getRelationEntity();
- subs.addAll(findEquivalenceSubClassifiers(entity, scope).stream()
+ subs.addAll(findEquivalenceSubEntitys(entity, scope).stream()
.filter(i -> i instanceof RelationEntity)
.map(i -> (RelationEntity)i)
.filter(i -> i.getForwardRelation() != null)
@@ -971,7 +962,7 @@ public static Set findEquivalenceSubProperties(Property property, Set<
} else if (property instanceof ReverseRelation) {
var base = ((ReverseRelation)property).getRelationBase();
if (base instanceof RelationEntity) {
- subs.addAll(findEquivalenceSubClassifiers((RelationEntity)base, scope).stream()
+ subs.addAll(findEquivalenceSubEntitys((RelationEntity)base, scope).stream()
.filter(i -> i instanceof RelationEntity)
.map(i -> (RelationEntity)i)
.filter(i -> i.getReverseRelation() != null)
@@ -1002,37 +993,37 @@ public static Set findEquivalenceSubProperties(Property property) {
}
/**
- * Finds classifiers that are the direct equivalent to a given classifier
+ * Finds entities that are the direct equivalent to a given entity
*
- * @param classifier the given classifier
+ * @param entity the given entity
* @param scope The scope of the search (can be null)
- * @return a set of classifier that are the direct equivalents of the given classifier
+ * @return a set of entity that are the direct equivalents of the given entity
*/
- public static Set findEquivalentClassifiers(Classifier classifier, Set scope) {
- final Set equivalents = new LinkedHashSet<>();
- equivalents.addAll(findClassifierEquivalenceAxiomsWithSubClassifier(classifier, scope).stream()
+ public static Set findEquivalentEntitys(Entity entity, Set scope) {
+ final Set equivalents = new LinkedHashSet<>();
+ equivalents.addAll(findEntityEquivalenceAxiomsWithSubEntity(entity, scope).stream()
.filter(i -> i.getOwnedPropertyRestrictions().size() == 0)
- .filter(i -> i.getSuperClassifiers().size() == 1)
- .map(i -> i.getSuperClassifiers().get(0))
+ .filter(i -> i.getSuperEntities().size() == 1)
+ .map(i -> i.getSuperEntities().get(0))
.collect(Collectors.toCollection(LinkedHashSet::new)));
- equivalents.addAll(findClassifierEquivalenceAxiomsWithSuperClassifier(classifier, scope).stream()
+ equivalents.addAll(findEntityEquivalenceAxiomsWithSuperEntity(entity, scope).stream()
.filter(i -> i.getOwnedPropertyRestrictions().size() == 0)
- .filter(i -> i.getSuperClassifiers().size() == 1)
- .map(i -> i.getSubClassifier())
+ .filter(i -> i.getSuperEntities().size() == 1)
+ .map(i -> i.getSubEntity())
.collect(Collectors.toCollection(LinkedHashSet::new)));
return equivalents;
}
/**
- * Finds classifiers that are the direct equivalent to a given classifier
+ * Finds entities that are the direct equivalent to a given entity
*
- * @param classifier the given classifier
- * @return a set of classifier that are the direct equivalents of the given classifier
- * @deprecated As of 2.5.0. Use {{@link #findEquivalentClassifiers(Classifier, Set)} instead
+ * @param entity the given entity
+ * @return a set of entity that are the direct equivalents of the given entity
+ * @deprecated As of 2.5.0. Use {{@link #findEquivalentEntitys(Entity, Set)} instead
*/
@Deprecated
- public static Set findEquivalentClassifiers(Classifier classifier) {
- return findEquivalentClassifiers(classifier, null);
+ public static Set findEquivalentEntitys(Entity entity) {
+ return findEquivalentEntitys(entity, null);
}
/**
@@ -1176,31 +1167,28 @@ public static Set findTargetRelations(Entity entity) {
}
/**
- * Finds semantic properties referencing the given classifier as domain
+ * Finds semantic properties referencing the given entity as domain
*
- * @param domain The referenced classifier
+ * @param domain The referenced entity
* @param scope The scope of the search (can be null)
* @return A set of referencing semantic properties
*/
- public static Set findSemanticPropertiesWithDomain(Classifier domain, Set scope) {
+ public static Set findSemanticPropertiesWithDomain(Entity domain, Set scope) {
var properties = new LinkedHashSet();
properties.addAll(findScalarPropertiesWithDomain(domain, scope));
- properties.addAll(findStructuredPropertiesWithDomain(domain, scope));
- if (domain instanceof Entity) {
- properties.addAll(findSourceRelations((Entity)domain, scope));
- }
+ properties.addAll(findSourceRelations((Entity)domain, scope));
return properties;
}
/**
- * Finds semantic properties referencing the given classifier as domain
+ * Finds semantic properties referencing the given entity as domain
*
- * @param domain The referenced classifier
+ * @param domain The referenced entity
* @return A set of referencing semantic properties
- * @deprecated As of 2.5.0. Use {{@link #findSemanticPropertiesWithDomain(Classifier, Set)} instead
+ * @deprecated As of 2.5.0. Use {{@link #findSemanticPropertiesWithDomain(Entity, Set)} instead
*/
@Deprecated
- public static Set findSemanticPropertiesWithDomain(Classifier domain) {
+ public static Set findSemanticPropertiesWithDomain(Entity domain) {
return findSemanticPropertiesWithDomain(domain, null);
}
@@ -1215,8 +1203,6 @@ public static Set findSemanticPropertiesWithRange(Type range,
var properties = new LinkedHashSet();
if (range instanceof Scalar) {
properties.addAll(findScalarPropertiesWithRange((Scalar)range, scope));
- } else if (range instanceof Structure) {
- properties.addAll(findStructuredPropertiesWithRange((Structure)range, scope));
} else if (range instanceof Entity) {
properties.addAll(findTargetRelations((Entity)range, scope));
}
@@ -1242,8 +1228,8 @@ public static Set findSemanticPropertiesWithRange(Type range)
* @param scope The scope of the search (can be null)
* @return A set of domains for the given semantic property
*/
- public static Set findDomains(SemanticProperty property, Set scope) {
- var domains = new LinkedHashSet();
+ public static Set findDomains(SemanticProperty property, Set scope) {
+ var domains = new LinkedHashSet();
domains.addAll(property.getDomainList());
domains.addAll(findRefs(property, scope).stream()
.map(i -> (SemanticProperty)i)
@@ -1260,7 +1246,7 @@ public static Set findDomains(SemanticProperty property, Set)} instead
*/
@Deprecated
- public static Set findDomains(SemanticProperty property) {
+ public static Set findDomains(SemanticProperty property) {
return findDomains(property, null);
}
@@ -1271,7 +1257,7 @@ public static Set findDomains(SemanticProperty property) {
* @param scope The scope of the search (can be null)
* @return A set of domains for the given semantic property
*/
- public static Set findAllDomains(SemanticProperty property, Set scope) {
+ public static Set findAllDomains(SemanticProperty property, Set scope) {
return findAllSuperTerms(property, true, scope).stream()
.map(i -> (SemanticProperty)i)
.flatMap(i -> findDomains(i, scope).stream())
@@ -1286,7 +1272,7 @@ public static Set findAllDomains(SemanticProperty property, Set)} instead
*/
@Deprecated
- public static Set findAllDomains(SemanticProperty property) {
+ public static Set findAllDomains(SemanticProperty property) {
return findAllDomains(property, null);
}
@@ -1891,7 +1877,7 @@ public static Literal findPropertyLiteralValue(Instance instance, SemanticProper
* @param instance the given instance
* @param property the given semantic property
* @param scope The scope of the search (can be null)
- * @return a contained value of the given structured property on the given instance
+ * @return a contained value of the given semantic property on the given instance
*/
public static AnonymousInstance findPropertyContainedValue(Instance instance, SemanticProperty property, Set scope) {
return findPropertyValues(instance, property, scope).stream()
@@ -1906,8 +1892,8 @@ public static AnonymousInstance findPropertyContainedValue(Instance instance, Se
*
* @param instance the given instance
* @param property the given semantic property
- * @return a contained value of the given structured property on the given instance
- * @deprecated As of 2.5.0. Use {{@link #findPropertyContainedValue(Instance, StructuredProperty, Set)} instead
+ * @return a contained value of the given semantic property on the given instance
+ * @deprecated As of 2.5.0. Use {{@link #findPropertyContainedValue(Instance, SemanticProperty, Set)} instead
*/
@Deprecated
public static AnonymousInstance findPropertyContainedValue(Instance instance, SemanticProperty property) {
@@ -1944,14 +1930,14 @@ public static NamedInstance findPropertyReferencedValue(Instance instance, Seman
}
/**
- * Finds classifiers that are direct types of the given instance
+ * Finds entities that are direct types of the given instance
*
* @param instance the given instance
* @param scope The scope of the search (can be null)
- * @return a set of classifiers that are direcf types of the given instance
+ * @return a set of entities that are direcf types of the given instance
*/
- public static Set findTypes(Instance instance, Set scope) {
- Set types = new LinkedHashSet<>();
+ public static Set findTypes(Instance instance, Set scope) {
+ Set types = new LinkedHashSet<>();
if (instance instanceof AnonymousInstance) {
types.addAll(instance.getTypes());
} else if (instance instanceof NamedInstance) {
@@ -1963,42 +1949,42 @@ public static Set findTypes(Instance instance, Set scope)
}
/**
- * Finds classifiers that are direct types of the given instance
+ * Finds entities that are direct types of the given instance
*
* @param instance the given instance
- * @return a set of classifiers that are direcf types of the given instance
+ * @return a set of entities that are direcf types of the given instance
* @deprecated As of 2.5.0. Use {{@link #findTypes(Instance, Set)} instead
*/
@Deprecated
- public static Set findTypes(Instance instance) {
+ public static Set findTypes(Instance instance) {
return findTypes(instance, null);
}
/**
- * Finds classifiers that are direct or indirect types of the given instance
+ * Finds entities that are direct or indirect types of the given instance
*
* @param instance the given instance
* @param scope The scope of the search (can be null)
- * @return a set of classifiers that are direct or indirect types of the given instance
+ * @return a set of entities that are direct or indirect types of the given instance
*/
- public static Set findAllTypes(Instance instance, Set scope) {
+ public static Set findAllTypes(Instance instance, Set scope) {
return findTypes(instance, scope).stream()
.flatMap(t -> findAllSuperTerms(t, true, scope).stream())
- .filter(t -> t instanceof Classifier)
- .map(t -> (Classifier)t)
+ .filter(t -> t instanceof Entity)
+ .map(t -> (Entity)t)
.distinct()
.collect(Collectors.toCollection(LinkedHashSet::new));
}
/**
- * Finds classifiers that are direct or indirect types of the given instance
+ * Finds entities that are direct or indirect types of the given instance
*
* @param instance the given instance
- * @return a set of classifiers that are direct or indirect types of the given instance
+ * @return a set of entities that are direct or indirect types of the given instance
* @deprecated As of 2.5.0. Use {{@link #findAllTypes(Instance, Set)} instead
*/
@Deprecated
- public static Set findAllTypes(Instance instance) {
+ public static Set findAllTypes(Instance instance) {
return findAllTypes(instance, null);
}
@@ -2010,7 +1996,7 @@ public static Set findAllTypes(Instance instance) {
* @param scope The scope of the search (can be null)
* @return true if the given instance is typed directly by the given type; otherwise false
*/
- public static boolean findIsTypeOf(Instance instance, Classifier type, Set scope) {
+ public static boolean findIsTypeOf(Instance instance, Entity type, Set scope) {
return findTypes(instance, scope).stream()
.filter(t -> t == type)
.findFirst().isPresent();
@@ -2022,10 +2008,10 @@ public static boolean findIsTypeOf(Instance instance, Classifier type, Set)} instead
+ * @deprecated As of 2.5.0. Use {{@link #findIsTypeOf(Instance, Entity, Set)} instead
*/
@Deprecated
- public static boolean findIsTypeOf(Instance instance, Classifier type) {
+ public static boolean findIsTypeOf(Instance instance, Entity type) {
return findIsTypeOf(instance, type, null);
}
@@ -2037,7 +2023,7 @@ public static boolean findIsTypeOf(Instance instance, Classifier type) {
* @param scope The scope of the search (can be null)
* @return true if the given instance is typed directly or transitively by the given type; otherwise false
*/
- public static boolean findIsKindOf(Instance instance, Classifier type, Set scope) {
+ public static boolean findIsKindOf(Instance instance, Entity type, Set scope) {
return findTypes(instance, scope).stream()
.filter(t -> findIsSubTermOf(t, type, scope))
.findFirst().isPresent();
@@ -2049,10 +2035,10 @@ public static boolean findIsKindOf(Instance instance, Classifier type, Set)} instead
+ * @deprecated As of 2.5.0. Use {{@link #findIsKindOf(Instance, Entity, Set