From 60f01f46ba232ed6416054f0a6115cb2a9b70b4e Mon Sep 17 00:00:00 2001 From: OszkarSemerath Date: Sat, 10 Jun 2017 19:05:05 +0200 Subject: Migrating Additional projects --- .../dslreasoner/logic/model/logiclanguage/And.java | 40 + .../logic/model/logiclanguage/Assertion.java | 99 + .../logic/model/logiclanguage/AtomicTerm.java | 17 + .../logic/model/logiclanguage/BoolLiteral.java | 49 + .../logic/model/logiclanguage/BoolOperation.java | 17 + .../model/logiclanguage/BoolTypeReference.java | 17 + .../model/logiclanguage/ComplexTypeReference.java | 49 + .../logic/model/logiclanguage/Constant.java | 71 + .../model/logiclanguage/ConstantDeclaration.java | 17 + .../model/logiclanguage/ConstantDefinition.java | 76 + .../logic/model/logiclanguage/DefinedElement.java | 43 + .../logic/model/logiclanguage/Distinct.java | 40 + .../logic/model/logiclanguage/Divison.java | 17 + .../logic/model/logiclanguage/Equals.java | 76 + .../logic/model/logiclanguage/Exists.java | 17 + .../logic/model/logiclanguage/Forall.java | 17 + .../logic/model/logiclanguage/Function.java | 87 + .../model/logiclanguage/FunctionDeclaration.java | 17 + .../model/logiclanguage/FunctionDefinition.java | 94 + .../logic/model/logiclanguage/IfThenElse.java | 103 + .../dslreasoner/logic/model/logiclanguage/Iff.java | 76 + .../logic/model/logiclanguage/Impl.java | 76 + .../logic/model/logiclanguage/InstanceOf.java | 75 + .../logic/model/logiclanguage/IntLiteral.java | 49 + .../logic/model/logiclanguage/IntOperation.java | 76 + .../model/logiclanguage/IntTypeReference.java | 17 + .../logic/model/logiclanguage/LessOrEqualThan.java | 76 + .../logic/model/logiclanguage/LessThan.java | 76 + .../model/logiclanguage/LogiclanguageFactory.java | 393 ++ .../model/logiclanguage/LogiclanguagePackage.java | 4830 ++++++++++++++++++++ .../logic/model/logiclanguage/Minus.java | 17 + .../dslreasoner/logic/model/logiclanguage/Mod.java | 17 + .../logic/model/logiclanguage/MoreOrEqualThan.java | 76 + .../logic/model/logiclanguage/MoreThan.java | 76 + .../logic/model/logiclanguage/Multiply.java | 17 + .../dslreasoner/logic/model/logiclanguage/Not.java | 49 + .../dslreasoner/logic/model/logiclanguage/Or.java | 40 + .../logic/model/logiclanguage/Plus.java | 17 + .../model/logiclanguage/PrimitiveRelation.java | 17 + .../logiclanguage/PrimitiveTypeReference.java | 17 + .../model/logiclanguage/QuantifiedExpression.java | 67 + .../logic/model/logiclanguage/RealLiteral.java | 50 + .../model/logiclanguage/RealTypeReference.java | 17 + .../logic/model/logiclanguage/Relation.java | 60 + .../model/logiclanguage/RelationDeclaration.java | 17 + .../model/logiclanguage/RelationDefinition.java | 94 + .../model/logiclanguage/SymbolicDeclaration.java | 48 + .../logic/model/logiclanguage/SymbolicValue.java | 67 + .../logic/model/logiclanguage/Term.java | 17 + .../logic/model/logiclanguage/TermDescription.java | 18 + .../logic/model/logiclanguage/Type.java | 115 + .../logic/model/logiclanguage/TypeDeclaration.java | 17 + .../logic/model/logiclanguage/TypeDefinition.java | 69 + .../logic/model/logiclanguage/TypeDescriptor.java | 18 + .../logic/model/logiclanguage/TypeReference.java | 17 + .../logiclanguage/UnknownBecauseUninterpreted.java | 17 + .../logic/model/logiclanguage/Variable.java | 49 + .../logic/model/logiclanguage/impl/AndImpl.java | 150 + .../model/logiclanguage/impl/AssertionImpl.java | 303 ++ .../model/logiclanguage/impl/AtomicTermImpl.java | 37 + .../model/logiclanguage/impl/BoolLiteralImpl.java | 162 + .../logiclanguage/impl/BoolOperationImpl.java | 37 + .../logiclanguage/impl/BoolTypeReferenceImpl.java | 37 + .../impl/ComplexTypeReferenceImpl.java | 156 + .../impl/ConstantDeclarationImpl.java | 37 + .../logiclanguage/impl/ConstantDefinitionImpl.java | 236 + .../model/logiclanguage/impl/ConstantImpl.java | 233 + .../logiclanguage/impl/DefinedElementImpl.java | 161 + .../model/logiclanguage/impl/DistinctImpl.java | 150 + .../model/logiclanguage/impl/DivisonImpl.java | 37 + .../logic/model/logiclanguage/impl/EqualsImpl.java | 241 + .../logic/model/logiclanguage/impl/ExistsImpl.java | 37 + .../logic/model/logiclanguage/impl/ForallImpl.java | 37 + .../impl/FunctionDeclarationImpl.java | 37 + .../logiclanguage/impl/FunctionDefinitionImpl.java | 278 ++ .../model/logiclanguage/impl/FunctionImpl.java | 273 ++ .../model/logiclanguage/impl/IfThenElseImpl.java | 307 ++ .../logic/model/logiclanguage/impl/IffImpl.java | 241 + .../logic/model/logiclanguage/impl/ImplImpl.java | 241 + .../model/logiclanguage/impl/InstanceOfImpl.java | 242 + .../model/logiclanguage/impl/IntLiteralImpl.java | 162 + .../model/logiclanguage/impl/IntOperationImpl.java | 241 + .../logiclanguage/impl/IntTypeReferenceImpl.java | 37 + .../logiclanguage/impl/LessOrEqualThanImpl.java | 241 + .../model/logiclanguage/impl/LessThanImpl.java | 241 + .../impl/LogiclanguageFactoryImpl.java | 524 +++ .../impl/LogiclanguagePackageImpl.java | 2032 ++++++++ .../logic/model/logiclanguage/impl/MinusImpl.java | 37 + .../logic/model/logiclanguage/impl/ModImpl.java | 37 + .../logiclanguage/impl/MoreOrEqualThanImpl.java | 241 + .../model/logiclanguage/impl/MoreThanImpl.java | 241 + .../model/logiclanguage/impl/MultiplyImpl.java | 37 + .../logic/model/logiclanguage/impl/NotImpl.java | 175 + .../logic/model/logiclanguage/impl/OrImpl.java | 150 + .../logic/model/logiclanguage/impl/PlusImpl.java | 37 + .../logiclanguage/impl/PrimitiveRelationImpl.java | 37 + .../impl/PrimitiveTypeReferenceImpl.java | 37 + .../impl/QuantifiedExpressionImpl.java | 220 + .../model/logiclanguage/impl/RealLiteralImpl.java | 164 + .../logiclanguage/impl/RealTypeReferenceImpl.java | 37 + .../impl/RelationDeclarationImpl.java | 37 + .../logiclanguage/impl/RelationDefinitionImpl.java | 280 ++ .../model/logiclanguage/impl/RelationImpl.java | 204 + .../impl/SymbolicDeclarationImpl.java | 161 + .../logiclanguage/impl/SymbolicValueImpl.java | 214 + .../logic/model/logiclanguage/impl/TermImpl.java | 39 + .../logiclanguage/impl/TypeDeclarationImpl.java | 37 + .../logiclanguage/impl/TypeDefinitionImpl.java | 225 + .../logic/model/logiclanguage/impl/TypeImpl.java | 325 ++ .../logiclanguage/impl/TypeReferenceImpl.java | 39 + .../impl/UnknownBecauseUninterpretedImpl.java | 37 + .../model/logiclanguage/impl/VariableImpl.java | 175 + .../util/LogiclanguageAdapterFactory.java | 1092 +++++ .../logiclanguage/util/LogiclanguageSwitch.java | 1374 ++++++ 114 files changed, 20644 insertions(+) create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/And.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Assertion.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/AtomicTerm.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/BoolLiteral.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/BoolOperation.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/BoolTypeReference.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/ComplexTypeReference.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Constant.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/ConstantDeclaration.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/ConstantDefinition.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/DefinedElement.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Distinct.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Divison.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Equals.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Exists.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Forall.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Function.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/FunctionDeclaration.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/FunctionDefinition.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/IfThenElse.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Iff.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Impl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/InstanceOf.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/IntLiteral.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/IntOperation.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/IntTypeReference.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/LessOrEqualThan.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/LessThan.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/LogiclanguageFactory.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/LogiclanguagePackage.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Minus.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Mod.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/MoreOrEqualThan.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/MoreThan.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Multiply.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Not.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Or.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Plus.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/PrimitiveRelation.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/PrimitiveTypeReference.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/QuantifiedExpression.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/RealLiteral.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/RealTypeReference.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Relation.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/RelationDeclaration.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/RelationDefinition.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/SymbolicDeclaration.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/SymbolicValue.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Term.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/TermDescription.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Type.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/TypeDeclaration.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/TypeDefinition.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/TypeDescriptor.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/TypeReference.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/UnknownBecauseUninterpreted.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Variable.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/AndImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/AssertionImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/AtomicTermImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/BoolLiteralImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/BoolOperationImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/BoolTypeReferenceImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/ComplexTypeReferenceImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/ConstantDeclarationImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/ConstantDefinitionImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/ConstantImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/DefinedElementImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/DistinctImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/DivisonImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/EqualsImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/ExistsImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/ForallImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/FunctionDeclarationImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/FunctionDefinitionImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/FunctionImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/IfThenElseImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/IffImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/ImplImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/InstanceOfImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/IntLiteralImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/IntOperationImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/IntTypeReferenceImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/LessOrEqualThanImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/LessThanImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/LogiclanguageFactoryImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/LogiclanguagePackageImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/MinusImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/ModImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/MoreOrEqualThanImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/MoreThanImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/MultiplyImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/NotImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/OrImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/PlusImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/PrimitiveRelationImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/PrimitiveTypeReferenceImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/QuantifiedExpressionImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/RealLiteralImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/RealTypeReferenceImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/RelationDeclarationImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/RelationDefinitionImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/RelationImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/SymbolicDeclarationImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/SymbolicValueImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/TermImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/TypeDeclarationImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/TypeDefinitionImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/TypeImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/TypeReferenceImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/UnknownBecauseUninterpretedImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/VariableImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/util/LogiclanguageAdapterFactory.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/util/LogiclanguageSwitch.java (limited to 'Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage') diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/And.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/And.java new file mode 100644 index 00000000..638845a0 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/And.java @@ -0,0 +1,40 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; + +import org.eclipse.emf.common.util.EList; + +/** + * + * A representation of the model object 'And'. + * + * + *

+ * The following features are supported: + *

+ * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getAnd() + * @model + * @generated + */ +public interface And extends BoolOperation { + /** + * Returns the value of the 'Operands' containment reference list. + * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term}. + * + *

+ * If the meaning of the 'Operands' containment reference list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Operands' containment reference list. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getAnd_Operands() + * @model containment="true" + * @generated + */ + EList getOperands(); + +} // And diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Assertion.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Assertion.java new file mode 100644 index 00000000..6ce3b516 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Assertion.java @@ -0,0 +1,99 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; + +import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.AssertionAnnotation; +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Assertion'. + * + * + *

+ * The following features are supported: + *

+ * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getAssertion() + * @model + * @generated + */ +public interface Assertion extends EObject { + /** + * Returns the value of the 'Value' containment reference. + * + *

+ * If the meaning of the 'Value' containment reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Value' containment reference. + * @see #setValue(Term) + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getAssertion_Value() + * @model containment="true" required="true" + * @generated + */ + Term getValue(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Assertion#getValue Value}' containment reference. + * + * + * @param value the new value of the 'Value' containment reference. + * @see #getValue() + * @generated + */ + void setValue(Term value); + + /** + * Returns the value of the 'Name' attribute. + * + *

+ * If the meaning of the 'Name' attribute list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Name' attribute. + * @see #setName(String) + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getAssertion_Name() + * @model required="true" + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Assertion#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + + /** + * Returns the value of the 'Annotations' reference list. + * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.AssertionAnnotation}. + * It is bidirectional and its opposite is '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.AssertionAnnotation#getTarget Target}'. + * + *

+ * If the meaning of the 'Annotations' reference list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Annotations' reference list. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getAssertion_Annotations() + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.AssertionAnnotation#getTarget + * @model opposite="target" + * @generated + */ + EList getAnnotations(); + +} // Assertion diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/AtomicTerm.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/AtomicTerm.java new file mode 100644 index 00000000..f5e91ce7 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/AtomicTerm.java @@ -0,0 +1,17 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; + + +/** + * + * A representation of the model object 'Atomic Term'. + * + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getAtomicTerm() + * @model abstract="true" + * @generated + */ +public interface AtomicTerm extends Term { +} // AtomicTerm diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/BoolLiteral.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/BoolLiteral.java new file mode 100644 index 00000000..c48665a9 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/BoolLiteral.java @@ -0,0 +1,49 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; + + +/** + * + * A representation of the model object 'Bool Literal'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.BoolLiteral#isValue Value}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getBoolLiteral() + * @model + * @generated + */ +public interface BoolLiteral extends AtomicTerm { + /** + * Returns the value of the 'Value' attribute. + * + *

+ * If the meaning of the 'Value' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Value' attribute. + * @see #setValue(boolean) + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getBoolLiteral_Value() + * @model + * @generated + */ + boolean isValue(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.BoolLiteral#isValue Value}' attribute. + * + * + * @param value the new value of the 'Value' attribute. + * @see #isValue() + * @generated + */ + void setValue(boolean value); + +} // BoolLiteral diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/BoolOperation.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/BoolOperation.java new file mode 100644 index 00000000..6e8d2c4f --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/BoolOperation.java @@ -0,0 +1,17 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; + + +/** + * + * A representation of the model object 'Bool Operation'. + * + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getBoolOperation() + * @model abstract="true" + * @generated + */ +public interface BoolOperation extends Term { +} // BoolOperation diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/BoolTypeReference.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/BoolTypeReference.java new file mode 100644 index 00000000..827d4df6 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/BoolTypeReference.java @@ -0,0 +1,17 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; + + +/** + * + * A representation of the model object 'Bool Type Reference'. + * + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getBoolTypeReference() + * @model + * @generated + */ +public interface BoolTypeReference extends PrimitiveTypeReference { +} // BoolTypeReference diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/ComplexTypeReference.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/ComplexTypeReference.java new file mode 100644 index 00000000..0f19961a --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/ComplexTypeReference.java @@ -0,0 +1,49 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; + + +/** + * + * A representation of the model object 'Complex Type Reference'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ComplexTypeReference#getReferred Referred}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getComplexTypeReference() + * @model + * @generated + */ +public interface ComplexTypeReference extends TypeReference { + /** + * Returns the value of the 'Referred' reference. + * + *

+ * If the meaning of the 'Referred' reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Referred' reference. + * @see #setReferred(Type) + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getComplexTypeReference_Referred() + * @model + * @generated + */ + Type getReferred(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ComplexTypeReference#getReferred Referred}' reference. + * + * + * @param value the new value of the 'Referred' reference. + * @see #getReferred() + * @generated + */ + void setReferred(Type value); + +} // ComplexTypeReference diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Constant.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Constant.java new file mode 100644 index 00000000..68d3776b --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Constant.java @@ -0,0 +1,71 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; + +import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ConstantAnnotation; +import org.eclipse.emf.common.util.EList; + + +/** + * + * A representation of the model object 'Constant'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Constant#getType Type}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Constant#getAnnotations Annotations}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getConstant() + * @model abstract="true" + * @generated + */ +public interface Constant extends SymbolicDeclaration { + /** + * Returns the value of the 'Type' containment reference. + * + *

+ * If the meaning of the 'Type' containment reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Type' containment reference. + * @see #setType(TypeReference) + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getConstant_Type() + * @model containment="true" required="true" + * @generated + */ + TypeReference getType(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Constant#getType Type}' containment reference. + * + * + * @param value the new value of the 'Type' containment reference. + * @see #getType() + * @generated + */ + void setType(TypeReference value); + + /** + * Returns the value of the 'Annotations' reference list. + * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ConstantAnnotation}. + * It is bidirectional and its opposite is '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ConstantAnnotation#getTarget Target}'. + * + *

+ * If the meaning of the 'Annotations' reference list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Annotations' reference list. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getConstant_Annotations() + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ConstantAnnotation#getTarget + * @model opposite="target" + * @generated + */ + EList getAnnotations(); + +} // Constant diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/ConstantDeclaration.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/ConstantDeclaration.java new file mode 100644 index 00000000..b27837a8 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/ConstantDeclaration.java @@ -0,0 +1,17 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; + + +/** + * + * A representation of the model object 'Constant Declaration'. + * + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getConstantDeclaration() + * @model + * @generated + */ +public interface ConstantDeclaration extends Constant { +} // ConstantDeclaration diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/ConstantDefinition.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/ConstantDefinition.java new file mode 100644 index 00000000..3de18cf1 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/ConstantDefinition.java @@ -0,0 +1,76 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; + + +/** + * + * A representation of the model object 'Constant Definition'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ConstantDefinition#getValue Value}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ConstantDefinition#getDefines Defines}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getConstantDefinition() + * @model + * @generated + */ +public interface ConstantDefinition extends Constant { + /** + * Returns the value of the 'Value' containment reference. + * + *

+ * If the meaning of the 'Value' containment reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Value' containment reference. + * @see #setValue(Term) + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getConstantDefinition_Value() + * @model containment="true" required="true" + * @generated + */ + Term getValue(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ConstantDefinition#getValue Value}' containment reference. + * + * + * @param value the new value of the 'Value' containment reference. + * @see #getValue() + * @generated + */ + void setValue(Term value); + + /** + * Returns the value of the 'Defines' reference. + * + *

+ * If the meaning of the 'Defines' reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Defines' reference. + * @see #setDefines(ConstantDeclaration) + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getConstantDefinition_Defines() + * @model + * @generated + */ + ConstantDeclaration getDefines(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ConstantDefinition#getDefines Defines}' reference. + * + * + * @param value the new value of the 'Defines' reference. + * @see #getDefines() + * @generated + */ + void setDefines(ConstantDeclaration value); + +} // ConstantDefinition diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/DefinedElement.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/DefinedElement.java new file mode 100644 index 00000000..d34436d8 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/DefinedElement.java @@ -0,0 +1,43 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; + +import org.eclipse.emf.common.util.EList; + + +/** + * + * A representation of the model object 'Defined Element'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.DefinedElement#getDefinedInType Defined In Type}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getDefinedElement() + * @model + * @generated + */ +public interface DefinedElement extends SymbolicDeclaration { + + /** + * Returns the value of the 'Defined In Type' reference list. + * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDefinition}. + * It is bidirectional and its opposite is '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDefinition#getElements Elements}'. + * + *

+ * If the meaning of the 'Defined In Type' reference list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Defined In Type' reference list. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getDefinedElement_DefinedInType() + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDefinition#getElements + * @model opposite="elements" required="true" + * @generated + */ + EList getDefinedInType(); +} // DefinedElement diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Distinct.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Distinct.java new file mode 100644 index 00000000..20a1bce5 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Distinct.java @@ -0,0 +1,40 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; + +import org.eclipse.emf.common.util.EList; + +/** + * + * A representation of the model object 'Distinct'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Distinct#getOperands Operands}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getDistinct() + * @model + * @generated + */ +public interface Distinct extends PrimitiveRelation { + /** + * Returns the value of the 'Operands' containment reference list. + * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term}. + * + *

+ * If the meaning of the 'Operands' containment reference list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Operands' containment reference list. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getDistinct_Operands() + * @model containment="true" + * @generated + */ + EList getOperands(); + +} // Distinct diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Divison.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Divison.java new file mode 100644 index 00000000..06c9dd33 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Divison.java @@ -0,0 +1,17 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; + + +/** + * + * A representation of the model object 'Divison'. + * + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getDivison() + * @model + * @generated + */ +public interface Divison extends IntOperation { +} // Divison diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Equals.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Equals.java new file mode 100644 index 00000000..420d4285 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Equals.java @@ -0,0 +1,76 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; + + +/** + * + * A representation of the model object 'Equals'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Equals#getLeftOperand Left Operand}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Equals#getRightOperand Right Operand}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getEquals() + * @model + * @generated + */ +public interface Equals extends PrimitiveRelation { + /** + * Returns the value of the 'Left Operand' containment reference. + * + *

+ * If the meaning of the 'Left Operand' containment reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Left Operand' containment reference. + * @see #setLeftOperand(Term) + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getEquals_LeftOperand() + * @model containment="true" + * @generated + */ + Term getLeftOperand(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Equals#getLeftOperand Left Operand}' containment reference. + * + * + * @param value the new value of the 'Left Operand' containment reference. + * @see #getLeftOperand() + * @generated + */ + void setLeftOperand(Term value); + + /** + * Returns the value of the 'Right Operand' containment reference. + * + *

+ * If the meaning of the 'Right Operand' containment reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Right Operand' containment reference. + * @see #setRightOperand(Term) + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getEquals_RightOperand() + * @model containment="true" + * @generated + */ + Term getRightOperand(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Equals#getRightOperand Right Operand}' containment reference. + * + * + * @param value the new value of the 'Right Operand' containment reference. + * @see #getRightOperand() + * @generated + */ + void setRightOperand(Term value); + +} // Equals diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Exists.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Exists.java new file mode 100644 index 00000000..4e2fe972 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Exists.java @@ -0,0 +1,17 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; + + +/** + * + * A representation of the model object 'Exists'. + * + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getExists() + * @model + * @generated + */ +public interface Exists extends QuantifiedExpression { +} // Exists diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Forall.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Forall.java new file mode 100644 index 00000000..62f7e550 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Forall.java @@ -0,0 +1,17 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; + + +/** + * + * A representation of the model object 'Forall'. + * + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getForall() + * @model + * @generated + */ +public interface Forall extends QuantifiedExpression { +} // Forall diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Function.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Function.java new file mode 100644 index 00000000..b3e2fa82 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Function.java @@ -0,0 +1,87 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; + +import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.FunctionAnnotation; +import org.eclipse.emf.common.util.EList; + +/** + * + * A representation of the model object 'Function'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Function#getRange Range}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Function#getParameters Parameters}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Function#getAnnotations Annotations}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getFunction() + * @model abstract="true" + * @generated + */ +public interface Function extends SymbolicDeclaration { + /** + * Returns the value of the 'Range' containment reference. + * + *

+ * If the meaning of the 'Range' containment reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Range' containment reference. + * @see #setRange(TypeReference) + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getFunction_Range() + * @model containment="true" required="true" + * @generated + */ + TypeReference getRange(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Function#getRange Range}' containment reference. + * + * + * @param value the new value of the 'Range' containment reference. + * @see #getRange() + * @generated + */ + void setRange(TypeReference value); + + /** + * Returns the value of the 'Parameters' containment reference list. + * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeReference}. + * + *

+ * If the meaning of the 'Parameters' containment reference list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Parameters' containment reference list. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getFunction_Parameters() + * @model containment="true" + * @generated + */ + EList getParameters(); + + /** + * Returns the value of the 'Annotations' reference list. + * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.FunctionAnnotation}. + * It is bidirectional and its opposite is '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.FunctionAnnotation#getTarget Target}'. + * + *

+ * If the meaning of the 'Annotations' reference list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Annotations' reference list. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getFunction_Annotations() + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.FunctionAnnotation#getTarget + * @model opposite="target" + * @generated + */ + EList getAnnotations(); + +} // Function diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/FunctionDeclaration.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/FunctionDeclaration.java new file mode 100644 index 00000000..6e9a6469 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/FunctionDeclaration.java @@ -0,0 +1,17 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; + + +/** + * + * A representation of the model object 'Function Declaration'. + * + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getFunctionDeclaration() + * @model + * @generated + */ +public interface FunctionDeclaration extends Function { +} // FunctionDeclaration diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/FunctionDefinition.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/FunctionDefinition.java new file mode 100644 index 00000000..1034cdc7 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/FunctionDefinition.java @@ -0,0 +1,94 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; + +import org.eclipse.emf.common.util.EList; + +/** + * + * A representation of the model object 'Function Definition'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.FunctionDefinition#getVariable Variable}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.FunctionDefinition#getDefines Defines}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.FunctionDefinition#getValue Value}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getFunctionDefinition() + * @model + * @generated + */ +public interface FunctionDefinition extends Function { + /** + * Returns the value of the 'Variable' containment reference list. + * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Variable}. + * + *

+ * If the meaning of the 'Variable' containment reference list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Variable' containment reference list. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getFunctionDefinition_Variable() + * @model containment="true" + * @generated + */ + EList getVariable(); + + /** + * Returns the value of the 'Defines' reference. + * + *

+ * If the meaning of the 'Defines' reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Defines' reference. + * @see #setDefines(FunctionDeclaration) + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getFunctionDefinition_Defines() + * @model + * @generated + */ + FunctionDeclaration getDefines(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.FunctionDefinition#getDefines Defines}' reference. + * + * + * @param value the new value of the 'Defines' reference. + * @see #getDefines() + * @generated + */ + void setDefines(FunctionDeclaration value); + + /** + * Returns the value of the 'Value' containment reference. + * + *

+ * If the meaning of the 'Value' containment reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Value' containment reference. + * @see #setValue(Term) + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getFunctionDefinition_Value() + * @model containment="true" required="true" + * @generated + */ + Term getValue(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.FunctionDefinition#getValue Value}' containment reference. + * + * + * @param value the new value of the 'Value' containment reference. + * @see #getValue() + * @generated + */ + void setValue(Term value); + +} // FunctionDefinition diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/IfThenElse.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/IfThenElse.java new file mode 100644 index 00000000..aefecd1a --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/IfThenElse.java @@ -0,0 +1,103 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; + + +/** + * + * A representation of the model object 'If Then Else'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IfThenElse#getCondition Condition}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IfThenElse#getIfTrue If True}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IfThenElse#getIfFalse If False}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getIfThenElse() + * @model + * @generated + */ +public interface IfThenElse extends Term { + /** + * Returns the value of the 'Condition' containment reference. + * + *

+ * If the meaning of the 'Condition' containment reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Condition' containment reference. + * @see #setCondition(Term) + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getIfThenElse_Condition() + * @model containment="true" required="true" + * @generated + */ + Term getCondition(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IfThenElse#getCondition Condition}' containment reference. + * + * + * @param value the new value of the 'Condition' containment reference. + * @see #getCondition() + * @generated + */ + void setCondition(Term value); + + /** + * Returns the value of the 'If True' containment reference. + * + *

+ * If the meaning of the 'If True' containment reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'If True' containment reference. + * @see #setIfTrue(Term) + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getIfThenElse_IfTrue() + * @model containment="true" required="true" + * @generated + */ + Term getIfTrue(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IfThenElse#getIfTrue If True}' containment reference. + * + * + * @param value the new value of the 'If True' containment reference. + * @see #getIfTrue() + * @generated + */ + void setIfTrue(Term value); + + /** + * Returns the value of the 'If False' containment reference. + * + *

+ * If the meaning of the 'If False' containment reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'If False' containment reference. + * @see #setIfFalse(Term) + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getIfThenElse_IfFalse() + * @model containment="true" required="true" + * @generated + */ + Term getIfFalse(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IfThenElse#getIfFalse If False}' containment reference. + * + * + * @param value the new value of the 'If False' containment reference. + * @see #getIfFalse() + * @generated + */ + void setIfFalse(Term value); + +} // IfThenElse diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Iff.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Iff.java new file mode 100644 index 00000000..9fc20f1e --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Iff.java @@ -0,0 +1,76 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; + + +/** + * + * A representation of the model object 'Iff'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Iff#getLeftOperand Left Operand}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Iff#getRightOperand Right Operand}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getIff() + * @model + * @generated + */ +public interface Iff extends BoolOperation { + /** + * Returns the value of the 'Left Operand' containment reference. + * + *

+ * If the meaning of the 'Left Operand' containment reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Left Operand' containment reference. + * @see #setLeftOperand(Term) + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getIff_LeftOperand() + * @model containment="true" + * @generated + */ + Term getLeftOperand(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Iff#getLeftOperand Left Operand}' containment reference. + * + * + * @param value the new value of the 'Left Operand' containment reference. + * @see #getLeftOperand() + * @generated + */ + void setLeftOperand(Term value); + + /** + * Returns the value of the 'Right Operand' containment reference. + * + *

+ * If the meaning of the 'Right Operand' containment reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Right Operand' containment reference. + * @see #setRightOperand(Term) + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getIff_RightOperand() + * @model containment="true" + * @generated + */ + Term getRightOperand(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Iff#getRightOperand Right Operand}' containment reference. + * + * + * @param value the new value of the 'Right Operand' containment reference. + * @see #getRightOperand() + * @generated + */ + void setRightOperand(Term value); + +} // Iff diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Impl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Impl.java new file mode 100644 index 00000000..89ec3274 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Impl.java @@ -0,0 +1,76 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; + + +/** + * + * A representation of the model object 'Impl'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Impl#getLeftOperand Left Operand}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Impl#getRightOperand Right Operand}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getImpl() + * @model + * @generated + */ +public interface Impl extends BoolOperation { + /** + * Returns the value of the 'Left Operand' containment reference. + * + *

+ * If the meaning of the 'Left Operand' containment reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Left Operand' containment reference. + * @see #setLeftOperand(Term) + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getImpl_LeftOperand() + * @model containment="true" + * @generated + */ + Term getLeftOperand(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Impl#getLeftOperand Left Operand}' containment reference. + * + * + * @param value the new value of the 'Left Operand' containment reference. + * @see #getLeftOperand() + * @generated + */ + void setLeftOperand(Term value); + + /** + * Returns the value of the 'Right Operand' containment reference. + * + *

+ * If the meaning of the 'Right Operand' containment reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Right Operand' containment reference. + * @see #setRightOperand(Term) + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getImpl_RightOperand() + * @model containment="true" + * @generated + */ + Term getRightOperand(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Impl#getRightOperand Right Operand}' containment reference. + * + * + * @param value the new value of the 'Right Operand' containment reference. + * @see #getRightOperand() + * @generated + */ + void setRightOperand(Term value); + +} // Impl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/InstanceOf.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/InstanceOf.java new file mode 100644 index 00000000..2b4f0329 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/InstanceOf.java @@ -0,0 +1,75 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; + +/** + * + * A representation of the model object 'Instance Of'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.InstanceOf#getValue Value}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.InstanceOf#getRange Range}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getInstanceOf() + * @model + * @generated + */ +public interface InstanceOf extends Term { + /** + * Returns the value of the 'Value' containment reference. + * + *

+ * If the meaning of the 'Value' containment reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Value' containment reference. + * @see #setValue(Term) + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getInstanceOf_Value() + * @model containment="true" required="true" + * @generated + */ + Term getValue(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.InstanceOf#getValue Value}' containment reference. + * + * + * @param value the new value of the 'Value' containment reference. + * @see #getValue() + * @generated + */ + void setValue(Term value); + + /** + * Returns the value of the 'Range' containment reference. + * + *

+ * If the meaning of the 'Range' containment reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Range' containment reference. + * @see #setRange(TypeReference) + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getInstanceOf_Range() + * @model containment="true" required="true" + * @generated + */ + TypeReference getRange(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.InstanceOf#getRange Range}' containment reference. + * + * + * @param value the new value of the 'Range' containment reference. + * @see #getRange() + * @generated + */ + void setRange(TypeReference value); + +} // InstanceOf diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/IntLiteral.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/IntLiteral.java new file mode 100644 index 00000000..87eb946d --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/IntLiteral.java @@ -0,0 +1,49 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; + + +/** + * + * A representation of the model object 'Int Literal'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntLiteral#getValue Value}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getIntLiteral() + * @model + * @generated + */ +public interface IntLiteral extends AtomicTerm { + /** + * Returns the value of the 'Value' attribute. + * + *

+ * If the meaning of the 'Value' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Value' attribute. + * @see #setValue(int) + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getIntLiteral_Value() + * @model + * @generated + */ + int getValue(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntLiteral#getValue Value}' attribute. + * + * + * @param value the new value of the 'Value' attribute. + * @see #getValue() + * @generated + */ + void setValue(int value); + +} // IntLiteral diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/IntOperation.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/IntOperation.java new file mode 100644 index 00000000..d9be99e9 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/IntOperation.java @@ -0,0 +1,76 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; + + +/** + * + * A representation of the model object 'Int Operation'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntOperation#getLeftOperand Left Operand}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntOperation#getRightOperand Right Operand}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getIntOperation() + * @model abstract="true" + * @generated + */ +public interface IntOperation extends Term { + /** + * Returns the value of the 'Left Operand' containment reference. + * + *

+ * If the meaning of the 'Left Operand' containment reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Left Operand' containment reference. + * @see #setLeftOperand(Term) + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getIntOperation_LeftOperand() + * @model containment="true" + * @generated + */ + Term getLeftOperand(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntOperation#getLeftOperand Left Operand}' containment reference. + * + * + * @param value the new value of the 'Left Operand' containment reference. + * @see #getLeftOperand() + * @generated + */ + void setLeftOperand(Term value); + + /** + * Returns the value of the 'Right Operand' containment reference. + * + *

+ * If the meaning of the 'Right Operand' containment reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Right Operand' containment reference. + * @see #setRightOperand(Term) + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getIntOperation_RightOperand() + * @model containment="true" + * @generated + */ + Term getRightOperand(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntOperation#getRightOperand Right Operand}' containment reference. + * + * + * @param value the new value of the 'Right Operand' containment reference. + * @see #getRightOperand() + * @generated + */ + void setRightOperand(Term value); + +} // IntOperation diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/IntTypeReference.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/IntTypeReference.java new file mode 100644 index 00000000..d68b350c --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/IntTypeReference.java @@ -0,0 +1,17 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; + + +/** + * + * A representation of the model object 'Int Type Reference'. + * + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getIntTypeReference() + * @model + * @generated + */ +public interface IntTypeReference extends PrimitiveTypeReference { +} // IntTypeReference diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/LessOrEqualThan.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/LessOrEqualThan.java new file mode 100644 index 00000000..7fc8a0d6 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/LessOrEqualThan.java @@ -0,0 +1,76 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; + + +/** + * + * A representation of the model object 'Less Or Equal Than'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LessOrEqualThan#getLeftOperand Left Operand}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LessOrEqualThan#getRightOperand Right Operand}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getLessOrEqualThan() + * @model + * @generated + */ +public interface LessOrEqualThan extends PrimitiveRelation { + /** + * Returns the value of the 'Left Operand' containment reference. + * + *

+ * If the meaning of the 'Left Operand' containment reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Left Operand' containment reference. + * @see #setLeftOperand(Term) + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getLessOrEqualThan_LeftOperand() + * @model containment="true" + * @generated + */ + Term getLeftOperand(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LessOrEqualThan#getLeftOperand Left Operand}' containment reference. + * + * + * @param value the new value of the 'Left Operand' containment reference. + * @see #getLeftOperand() + * @generated + */ + void setLeftOperand(Term value); + + /** + * Returns the value of the 'Right Operand' containment reference. + * + *

+ * If the meaning of the 'Right Operand' containment reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Right Operand' containment reference. + * @see #setRightOperand(Term) + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getLessOrEqualThan_RightOperand() + * @model containment="true" + * @generated + */ + Term getRightOperand(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LessOrEqualThan#getRightOperand Right Operand}' containment reference. + * + * + * @param value the new value of the 'Right Operand' containment reference. + * @see #getRightOperand() + * @generated + */ + void setRightOperand(Term value); + +} // LessOrEqualThan diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/LessThan.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/LessThan.java new file mode 100644 index 00000000..e198d637 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/LessThan.java @@ -0,0 +1,76 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; + + +/** + * + * A representation of the model object 'Less Than'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LessThan#getLeftOperand Left Operand}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LessThan#getRightOperand Right Operand}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getLessThan() + * @model + * @generated + */ +public interface LessThan extends PrimitiveRelation { + /** + * Returns the value of the 'Left Operand' containment reference. + * + *

+ * If the meaning of the 'Left Operand' containment reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Left Operand' containment reference. + * @see #setLeftOperand(Term) + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getLessThan_LeftOperand() + * @model containment="true" + * @generated + */ + Term getLeftOperand(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LessThan#getLeftOperand Left Operand}' containment reference. + * + * + * @param value the new value of the 'Left Operand' containment reference. + * @see #getLeftOperand() + * @generated + */ + void setLeftOperand(Term value); + + /** + * Returns the value of the 'Right Operand' containment reference. + * + *

+ * If the meaning of the 'Right Operand' containment reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Right Operand' containment reference. + * @see #setRightOperand(Term) + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getLessThan_RightOperand() + * @model containment="true" + * @generated + */ + Term getRightOperand(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LessThan#getRightOperand Right Operand}' containment reference. + * + * + * @param value the new value of the 'Right Operand' containment reference. + * @see #getRightOperand() + * @generated + */ + void setRightOperand(Term value); + +} // LessThan diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/LogiclanguageFactory.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/LogiclanguageFactory.java new file mode 100644 index 00000000..0d438a05 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/LogiclanguageFactory.java @@ -0,0 +1,393 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; + +import org.eclipse.emf.ecore.EFactory; + +/** + * + * The Factory for the model. + * It provides a create method for each non-abstract class of the model. + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage + * @generated + */ +public interface LogiclanguageFactory extends EFactory { + /** + * The singleton instance of the factory. + * + * + * @generated + */ + LogiclanguageFactory eINSTANCE = hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguageFactoryImpl.init(); + + /** + * Returns a new object of class 'Defined Element'. + * + * + * @return a new object of class 'Defined Element'. + * @generated + */ + DefinedElement createDefinedElement(); + + /** + * Returns a new object of class 'Type Definition'. + * + * + * @return a new object of class 'Type Definition'. + * @generated + */ + TypeDefinition createTypeDefinition(); + + /** + * Returns a new object of class 'Complex Type Reference'. + * + * + * @return a new object of class 'Complex Type Reference'. + * @generated + */ + ComplexTypeReference createComplexTypeReference(); + + /** + * Returns a new object of class 'Int Type Reference'. + * + * + * @return a new object of class 'Int Type Reference'. + * @generated + */ + IntTypeReference createIntTypeReference(); + + /** + * Returns a new object of class 'Bool Type Reference'. + * + * + * @return a new object of class 'Bool Type Reference'. + * @generated + */ + BoolTypeReference createBoolTypeReference(); + + /** + * Returns a new object of class 'Real Type Reference'. + * + * + * @return a new object of class 'Real Type Reference'. + * @generated + */ + RealTypeReference createRealTypeReference(); + + /** + * Returns a new object of class 'Symbolic Value'. + * + * + * @return a new object of class 'Symbolic Value'. + * @generated + */ + SymbolicValue createSymbolicValue(); + + /** + * Returns a new object of class 'Int Literal'. + * + * + * @return a new object of class 'Int Literal'. + * @generated + */ + IntLiteral createIntLiteral(); + + /** + * Returns a new object of class 'Bool Literal'. + * + * + * @return a new object of class 'Bool Literal'. + * @generated + */ + BoolLiteral createBoolLiteral(); + + /** + * Returns a new object of class 'Real Literal'. + * + * + * @return a new object of class 'Real Literal'. + * @generated + */ + RealLiteral createRealLiteral(); + + /** + * Returns a new object of class 'Variable'. + * + * + * @return a new object of class 'Variable'. + * @generated + */ + Variable createVariable(); + + /** + * Returns a new object of class 'Exists'. + * + * + * @return a new object of class 'Exists'. + * @generated + */ + Exists createExists(); + + /** + * Returns a new object of class 'Forall'. + * + * + * @return a new object of class 'Forall'. + * @generated + */ + Forall createForall(); + + /** + * Returns a new object of class 'And'. + * + * + * @return a new object of class 'And'. + * @generated + */ + And createAnd(); + + /** + * Returns a new object of class 'Or'. + * + * + * @return a new object of class 'Or'. + * @generated + */ + Or createOr(); + + /** + * Returns a new object of class 'Impl'. + * + * + * @return a new object of class 'Impl'. + * @generated + */ + Impl createImpl(); + + /** + * Returns a new object of class 'Not'. + * + * + * @return a new object of class 'Not'. + * @generated + */ + Not createNot(); + + /** + * Returns a new object of class 'Iff'. + * + * + * @return a new object of class 'Iff'. + * @generated + */ + Iff createIff(); + + /** + * Returns a new object of class 'Equals'. + * + * + * @return a new object of class 'Equals'. + * @generated + */ + Equals createEquals(); + + /** + * Returns a new object of class 'Distinct'. + * + * + * @return a new object of class 'Distinct'. + * @generated + */ + Distinct createDistinct(); + + /** + * Returns a new object of class 'Less Than'. + * + * + * @return a new object of class 'Less Than'. + * @generated + */ + LessThan createLessThan(); + + /** + * Returns a new object of class 'More Than'. + * + * + * @return a new object of class 'More Than'. + * @generated + */ + MoreThan createMoreThan(); + + /** + * Returns a new object of class 'Less Or Equal Than'. + * + * + * @return a new object of class 'Less Or Equal Than'. + * @generated + */ + LessOrEqualThan createLessOrEqualThan(); + + /** + * Returns a new object of class 'More Or Equal Than'. + * + * + * @return a new object of class 'More Or Equal Than'. + * @generated + */ + MoreOrEqualThan createMoreOrEqualThan(); + + /** + * Returns a new object of class 'Plus'. + * + * + * @return a new object of class 'Plus'. + * @generated + */ + Plus createPlus(); + + /** + * Returns a new object of class 'Minus'. + * + * + * @return a new object of class 'Minus'. + * @generated + */ + Minus createMinus(); + + /** + * Returns a new object of class 'Multiply'. + * + * + * @return a new object of class 'Multiply'. + * @generated + */ + Multiply createMultiply(); + + /** + * Returns a new object of class 'Divison'. + * + * + * @return a new object of class 'Divison'. + * @generated + */ + Divison createDivison(); + + /** + * Returns a new object of class 'Mod'. + * + * + * @return a new object of class 'Mod'. + * @generated + */ + Mod createMod(); + + /** + * Returns a new object of class 'Assertion'. + * + * + * @return a new object of class 'Assertion'. + * @generated + */ + Assertion createAssertion(); + + /** + * Returns a new object of class 'Constant Definition'. + * + * + * @return a new object of class 'Constant Definition'. + * @generated + */ + ConstantDefinition createConstantDefinition(); + + /** + * Returns a new object of class 'Relation Definition'. + * + * + * @return a new object of class 'Relation Definition'. + * @generated + */ + RelationDefinition createRelationDefinition(); + + /** + * Returns a new object of class 'Function Definition'. + * + * + * @return a new object of class 'Function Definition'. + * @generated + */ + FunctionDefinition createFunctionDefinition(); + + /** + * Returns a new object of class 'If Then Else'. + * + * + * @return a new object of class 'If Then Else'. + * @generated + */ + IfThenElse createIfThenElse(); + + /** + * Returns a new object of class 'Constant Declaration'. + * + * + * @return a new object of class 'Constant Declaration'. + * @generated + */ + ConstantDeclaration createConstantDeclaration(); + + /** + * Returns a new object of class 'Relation Declaration'. + * + * + * @return a new object of class 'Relation Declaration'. + * @generated + */ + RelationDeclaration createRelationDeclaration(); + + /** + * Returns a new object of class 'Function Declaration'. + * + * + * @return a new object of class 'Function Declaration'. + * @generated + */ + FunctionDeclaration createFunctionDeclaration(); + + /** + * Returns a new object of class 'Type Declaration'. + * + * + * @return a new object of class 'Type Declaration'. + * @generated + */ + TypeDeclaration createTypeDeclaration(); + + /** + * Returns a new object of class 'Unknown Because Uninterpreted'. + * + * + * @return a new object of class 'Unknown Because Uninterpreted'. + * @generated + */ + UnknownBecauseUninterpreted createUnknownBecauseUninterpreted(); + + /** + * Returns a new object of class 'Instance Of'. + * + * + * @return a new object of class 'Instance Of'. + * @generated + */ + InstanceOf createInstanceOf(); + + /** + * Returns the package supported by this factory. + * + * + * @return the package supported by this factory. + * @generated + */ + LogiclanguagePackage getLogiclanguagePackage(); + +} //LogiclanguageFactory diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/LogiclanguagePackage.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/LogiclanguagePackage.java new file mode 100644 index 00000000..6965428b --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/LogiclanguagePackage.java @@ -0,0 +1,4830 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; + +/** + * + * The Package for the model. + * It contains accessors for the meta objects to represent + *
    + *
  • each class,
  • + *
  • each feature of each class,
  • + *
  • each operation of each class,
  • + *
  • each enum,
  • + *
  • and each data type
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguageFactory + * @model kind="package" + * @generated + */ +public interface LogiclanguagePackage extends EPackage { + /** + * The package name. + * + * + * @generated + */ + String eNAME = "logiclanguage"; + + /** + * The package namespace URI. + * + * + * @generated + */ + String eNS_URI = "http://www.bme.hu/mit/inf/dslreasoner/logic/model/language"; + + /** + * The package namespace name. + * + * + * @generated + */ + String eNS_PREFIX = "language"; + + /** + * The singleton instance of the package. + * + * + * @generated + */ + LogiclanguagePackage eINSTANCE = hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl.init(); + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDescriptor Type Descriptor}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDescriptor + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getTypeDescriptor() + * @generated + */ + int TYPE_DESCRIPTOR = 40; + + /** + * The number of structural features of the 'Type Descriptor' class. + * + * + * @generated + * @ordered + */ + int TYPE_DESCRIPTOR_FEATURE_COUNT = 0; + + /** + * The number of operations of the 'Type Descriptor' class. + * + * + * @generated + * @ordered + */ + int TYPE_DESCRIPTOR_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.TypeImpl Type}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.TypeImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getType() + * @generated + */ + int TYPE = 0; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int TYPE__NAME = TYPE_DESCRIPTOR_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Subtypes' reference list. + * + * + * @generated + * @ordered + */ + int TYPE__SUBTYPES = TYPE_DESCRIPTOR_FEATURE_COUNT + 1; + + /** + * The feature id for the 'Supertypes' reference list. + * + * + * @generated + * @ordered + */ + int TYPE__SUPERTYPES = TYPE_DESCRIPTOR_FEATURE_COUNT + 2; + + /** + * The feature id for the 'Is Abstract' attribute. + * + * + * @generated + * @ordered + */ + int TYPE__IS_ABSTRACT = TYPE_DESCRIPTOR_FEATURE_COUNT + 3; + + /** + * The number of structural features of the 'Type' class. + * + * + * @generated + * @ordered + */ + int TYPE_FEATURE_COUNT = TYPE_DESCRIPTOR_FEATURE_COUNT + 4; + + /** + * The number of operations of the 'Type' class. + * + * + * @generated + * @ordered + */ + int TYPE_OPERATION_COUNT = TYPE_DESCRIPTOR_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TermDescription Term Description}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TermDescription + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getTermDescription() + * @generated + */ + int TERM_DESCRIPTION = 41; + + /** + * The number of structural features of the 'Term Description' class. + * + * + * @generated + * @ordered + */ + int TERM_DESCRIPTION_FEATURE_COUNT = 0; + + /** + * The number of operations of the 'Term Description' class. + * + * + * @generated + * @ordered + */ + int TERM_DESCRIPTION_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.SymbolicDeclarationImpl Symbolic Declaration}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.SymbolicDeclarationImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getSymbolicDeclaration() + * @generated + */ + int SYMBOLIC_DECLARATION = 11; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int SYMBOLIC_DECLARATION__NAME = TERM_DESCRIPTION_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Symbolic Declaration' class. + * + * + * @generated + * @ordered + */ + int SYMBOLIC_DECLARATION_FEATURE_COUNT = TERM_DESCRIPTION_FEATURE_COUNT + 1; + + /** + * The number of operations of the 'Symbolic Declaration' class. + * + * + * @generated + * @ordered + */ + int SYMBOLIC_DECLARATION_OPERATION_COUNT = TERM_DESCRIPTION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.DefinedElementImpl Defined Element}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.DefinedElementImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getDefinedElement() + * @generated + */ + int DEFINED_ELEMENT = 1; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int DEFINED_ELEMENT__NAME = SYMBOLIC_DECLARATION__NAME; + + /** + * The feature id for the 'Defined In Type' reference list. + * + * + * @generated + * @ordered + */ + int DEFINED_ELEMENT__DEFINED_IN_TYPE = SYMBOLIC_DECLARATION_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Defined Element' class. + * + * + * @generated + * @ordered + */ + int DEFINED_ELEMENT_FEATURE_COUNT = SYMBOLIC_DECLARATION_FEATURE_COUNT + 1; + + /** + * The number of operations of the 'Defined Element' class. + * + * + * @generated + * @ordered + */ + int DEFINED_ELEMENT_OPERATION_COUNT = SYMBOLIC_DECLARATION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.TypeDefinitionImpl Type Definition}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.TypeDefinitionImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getTypeDefinition() + * @generated + */ + int TYPE_DEFINITION = 2; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int TYPE_DEFINITION__NAME = TYPE__NAME; + + /** + * The feature id for the 'Subtypes' reference list. + * + * + * @generated + * @ordered + */ + int TYPE_DEFINITION__SUBTYPES = TYPE__SUBTYPES; + + /** + * The feature id for the 'Supertypes' reference list. + * + * + * @generated + * @ordered + */ + int TYPE_DEFINITION__SUPERTYPES = TYPE__SUPERTYPES; + + /** + * The feature id for the 'Is Abstract' attribute. + * + * + * @generated + * @ordered + */ + int TYPE_DEFINITION__IS_ABSTRACT = TYPE__IS_ABSTRACT; + + /** + * The feature id for the 'Elements' reference list. + * + * + * @generated + * @ordered + */ + int TYPE_DEFINITION__ELEMENTS = TYPE_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Defines' reference. + * + * + * @generated + * @ordered + */ + int TYPE_DEFINITION__DEFINES = TYPE_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Type Definition' class. + * + * + * @generated + * @ordered + */ + int TYPE_DEFINITION_FEATURE_COUNT = TYPE_FEATURE_COUNT + 2; + + /** + * The number of operations of the 'Type Definition' class. + * + * + * @generated + * @ordered + */ + int TYPE_DEFINITION_OPERATION_COUNT = TYPE_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.TypeReferenceImpl Type Reference}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.TypeReferenceImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getTypeReference() + * @generated + */ + int TYPE_REFERENCE = 3; + + /** + * The number of structural features of the 'Type Reference' class. + * + * + * @generated + * @ordered + */ + int TYPE_REFERENCE_FEATURE_COUNT = TYPE_DESCRIPTOR_FEATURE_COUNT + 0; + + /** + * The number of operations of the 'Type Reference' class. + * + * + * @generated + * @ordered + */ + int TYPE_REFERENCE_OPERATION_COUNT = TYPE_DESCRIPTOR_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ComplexTypeReferenceImpl Complex Type Reference}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ComplexTypeReferenceImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getComplexTypeReference() + * @generated + */ + int COMPLEX_TYPE_REFERENCE = 4; + + /** + * The feature id for the 'Referred' reference. + * + * + * @generated + * @ordered + */ + int COMPLEX_TYPE_REFERENCE__REFERRED = TYPE_REFERENCE_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Complex Type Reference' class. + * + * + * @generated + * @ordered + */ + int COMPLEX_TYPE_REFERENCE_FEATURE_COUNT = TYPE_REFERENCE_FEATURE_COUNT + 1; + + /** + * The number of operations of the 'Complex Type Reference' class. + * + * + * @generated + * @ordered + */ + int COMPLEX_TYPE_REFERENCE_OPERATION_COUNT = TYPE_REFERENCE_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.PrimitiveTypeReferenceImpl Primitive Type Reference}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.PrimitiveTypeReferenceImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getPrimitiveTypeReference() + * @generated + */ + int PRIMITIVE_TYPE_REFERENCE = 5; + + /** + * The number of structural features of the 'Primitive Type Reference' class. + * + * + * @generated + * @ordered + */ + int PRIMITIVE_TYPE_REFERENCE_FEATURE_COUNT = TYPE_REFERENCE_FEATURE_COUNT + 0; + + /** + * The number of operations of the 'Primitive Type Reference' class. + * + * + * @generated + * @ordered + */ + int PRIMITIVE_TYPE_REFERENCE_OPERATION_COUNT = TYPE_REFERENCE_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.IntTypeReferenceImpl Int Type Reference}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.IntTypeReferenceImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getIntTypeReference() + * @generated + */ + int INT_TYPE_REFERENCE = 6; + + /** + * The number of structural features of the 'Int Type Reference' class. + * + * + * @generated + * @ordered + */ + int INT_TYPE_REFERENCE_FEATURE_COUNT = PRIMITIVE_TYPE_REFERENCE_FEATURE_COUNT + 0; + + /** + * The number of operations of the 'Int Type Reference' class. + * + * + * @generated + * @ordered + */ + int INT_TYPE_REFERENCE_OPERATION_COUNT = PRIMITIVE_TYPE_REFERENCE_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.BoolTypeReferenceImpl Bool Type Reference}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.BoolTypeReferenceImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getBoolTypeReference() + * @generated + */ + int BOOL_TYPE_REFERENCE = 7; + + /** + * The number of structural features of the 'Bool Type Reference' class. + * + * + * @generated + * @ordered + */ + int BOOL_TYPE_REFERENCE_FEATURE_COUNT = PRIMITIVE_TYPE_REFERENCE_FEATURE_COUNT + 0; + + /** + * The number of operations of the 'Bool Type Reference' class. + * + * + * @generated + * @ordered + */ + int BOOL_TYPE_REFERENCE_OPERATION_COUNT = PRIMITIVE_TYPE_REFERENCE_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.RealTypeReferenceImpl Real Type Reference}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.RealTypeReferenceImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getRealTypeReference() + * @generated + */ + int REAL_TYPE_REFERENCE = 8; + + /** + * The number of structural features of the 'Real Type Reference' class. + * + * + * @generated + * @ordered + */ + int REAL_TYPE_REFERENCE_FEATURE_COUNT = PRIMITIVE_TYPE_REFERENCE_FEATURE_COUNT + 0; + + /** + * The number of operations of the 'Real Type Reference' class. + * + * + * @generated + * @ordered + */ + int REAL_TYPE_REFERENCE_OPERATION_COUNT = PRIMITIVE_TYPE_REFERENCE_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.FunctionImpl Function}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.FunctionImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getFunction() + * @generated + */ + int FUNCTION = 9; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int FUNCTION__NAME = SYMBOLIC_DECLARATION__NAME; + + /** + * The feature id for the 'Range' containment reference. + * + * + * @generated + * @ordered + */ + int FUNCTION__RANGE = SYMBOLIC_DECLARATION_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Parameters' containment reference list. + * + * + * @generated + * @ordered + */ + int FUNCTION__PARAMETERS = SYMBOLIC_DECLARATION_FEATURE_COUNT + 1; + + /** + * The feature id for the 'Annotations' reference list. + * + * + * @generated + * @ordered + */ + int FUNCTION__ANNOTATIONS = SYMBOLIC_DECLARATION_FEATURE_COUNT + 2; + + /** + * The number of structural features of the 'Function' class. + * + * + * @generated + * @ordered + */ + int FUNCTION_FEATURE_COUNT = SYMBOLIC_DECLARATION_FEATURE_COUNT + 3; + + /** + * The number of operations of the 'Function' class. + * + * + * @generated + * @ordered + */ + int FUNCTION_OPERATION_COUNT = SYMBOLIC_DECLARATION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.TermImpl Term}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.TermImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getTerm() + * @generated + */ + int TERM = 10; + + /** + * The number of structural features of the 'Term' class. + * + * + * @generated + * @ordered + */ + int TERM_FEATURE_COUNT = TERM_DESCRIPTION_FEATURE_COUNT + 0; + + /** + * The number of operations of the 'Term' class. + * + * + * @generated + * @ordered + */ + int TERM_OPERATION_COUNT = TERM_DESCRIPTION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.SymbolicValueImpl Symbolic Value}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.SymbolicValueImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getSymbolicValue() + * @generated + */ + int SYMBOLIC_VALUE = 12; + + /** + * The feature id for the 'Symbolic Reference' reference. + * + * + * @generated + * @ordered + */ + int SYMBOLIC_VALUE__SYMBOLIC_REFERENCE = TERM_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Parameter Substitutions' containment reference list. + * + * + * @generated + * @ordered + */ + int SYMBOLIC_VALUE__PARAMETER_SUBSTITUTIONS = TERM_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Symbolic Value' class. + * + * + * @generated + * @ordered + */ + int SYMBOLIC_VALUE_FEATURE_COUNT = TERM_FEATURE_COUNT + 2; + + /** + * The number of operations of the 'Symbolic Value' class. + * + * + * @generated + * @ordered + */ + int SYMBOLIC_VALUE_OPERATION_COUNT = TERM_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.AtomicTermImpl Atomic Term}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.AtomicTermImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getAtomicTerm() + * @generated + */ + int ATOMIC_TERM = 13; + + /** + * The number of structural features of the 'Atomic Term' class. + * + * + * @generated + * @ordered + */ + int ATOMIC_TERM_FEATURE_COUNT = TERM_FEATURE_COUNT + 0; + + /** + * The number of operations of the 'Atomic Term' class. + * + * + * @generated + * @ordered + */ + int ATOMIC_TERM_OPERATION_COUNT = TERM_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.IntLiteralImpl Int Literal}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.IntLiteralImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getIntLiteral() + * @generated + */ + int INT_LITERAL = 14; + + /** + * The feature id for the 'Value' attribute. + * + * + * @generated + * @ordered + */ + int INT_LITERAL__VALUE = ATOMIC_TERM_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Int Literal' class. + * + * + * @generated + * @ordered + */ + int INT_LITERAL_FEATURE_COUNT = ATOMIC_TERM_FEATURE_COUNT + 1; + + /** + * The number of operations of the 'Int Literal' class. + * + * + * @generated + * @ordered + */ + int INT_LITERAL_OPERATION_COUNT = ATOMIC_TERM_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.BoolLiteralImpl Bool Literal}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.BoolLiteralImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getBoolLiteral() + * @generated + */ + int BOOL_LITERAL = 15; + + /** + * The feature id for the 'Value' attribute. + * + * + * @generated + * @ordered + */ + int BOOL_LITERAL__VALUE = ATOMIC_TERM_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Bool Literal' class. + * + * + * @generated + * @ordered + */ + int BOOL_LITERAL_FEATURE_COUNT = ATOMIC_TERM_FEATURE_COUNT + 1; + + /** + * The number of operations of the 'Bool Literal' class. + * + * + * @generated + * @ordered + */ + int BOOL_LITERAL_OPERATION_COUNT = ATOMIC_TERM_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.RealLiteralImpl Real Literal}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.RealLiteralImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getRealLiteral() + * @generated + */ + int REAL_LITERAL = 16; + + /** + * The feature id for the 'Value' attribute. + * + * + * @generated + * @ordered + */ + int REAL_LITERAL__VALUE = ATOMIC_TERM_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Real Literal' class. + * + * + * @generated + * @ordered + */ + int REAL_LITERAL_FEATURE_COUNT = ATOMIC_TERM_FEATURE_COUNT + 1; + + /** + * The number of operations of the 'Real Literal' class. + * + * + * @generated + * @ordered + */ + int REAL_LITERAL_OPERATION_COUNT = ATOMIC_TERM_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.VariableImpl Variable}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.VariableImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getVariable() + * @generated + */ + int VARIABLE = 17; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int VARIABLE__NAME = SYMBOLIC_DECLARATION__NAME; + + /** + * The feature id for the 'Range' containment reference. + * + * + * @generated + * @ordered + */ + int VARIABLE__RANGE = SYMBOLIC_DECLARATION_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Variable' class. + * + * + * @generated + * @ordered + */ + int VARIABLE_FEATURE_COUNT = SYMBOLIC_DECLARATION_FEATURE_COUNT + 1; + + /** + * The number of operations of the 'Variable' class. + * + * + * @generated + * @ordered + */ + int VARIABLE_OPERATION_COUNT = SYMBOLIC_DECLARATION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.QuantifiedExpressionImpl Quantified Expression}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.QuantifiedExpressionImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getQuantifiedExpression() + * @generated + */ + int QUANTIFIED_EXPRESSION = 18; + + /** + * The feature id for the 'Quantified Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int QUANTIFIED_EXPRESSION__QUANTIFIED_VARIABLES = TERM_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Expression' containment reference. + * + * + * @generated + * @ordered + */ + int QUANTIFIED_EXPRESSION__EXPRESSION = TERM_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Quantified Expression' class. + * + * + * @generated + * @ordered + */ + int QUANTIFIED_EXPRESSION_FEATURE_COUNT = TERM_FEATURE_COUNT + 2; + + /** + * The number of operations of the 'Quantified Expression' class. + * + * + * @generated + * @ordered + */ + int QUANTIFIED_EXPRESSION_OPERATION_COUNT = TERM_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ExistsImpl Exists}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ExistsImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getExists() + * @generated + */ + int EXISTS = 19; + + /** + * The feature id for the 'Quantified Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int EXISTS__QUANTIFIED_VARIABLES = QUANTIFIED_EXPRESSION__QUANTIFIED_VARIABLES; + + /** + * The feature id for the 'Expression' containment reference. + * + * + * @generated + * @ordered + */ + int EXISTS__EXPRESSION = QUANTIFIED_EXPRESSION__EXPRESSION; + + /** + * The number of structural features of the 'Exists' class. + * + * + * @generated + * @ordered + */ + int EXISTS_FEATURE_COUNT = QUANTIFIED_EXPRESSION_FEATURE_COUNT + 0; + + /** + * The number of operations of the 'Exists' class. + * + * + * @generated + * @ordered + */ + int EXISTS_OPERATION_COUNT = QUANTIFIED_EXPRESSION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ForallImpl Forall}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ForallImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getForall() + * @generated + */ + int FORALL = 20; + + /** + * The feature id for the 'Quantified Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int FORALL__QUANTIFIED_VARIABLES = QUANTIFIED_EXPRESSION__QUANTIFIED_VARIABLES; + + /** + * The feature id for the 'Expression' containment reference. + * + * + * @generated + * @ordered + */ + int FORALL__EXPRESSION = QUANTIFIED_EXPRESSION__EXPRESSION; + + /** + * The number of structural features of the 'Forall' class. + * + * + * @generated + * @ordered + */ + int FORALL_FEATURE_COUNT = QUANTIFIED_EXPRESSION_FEATURE_COUNT + 0; + + /** + * The number of operations of the 'Forall' class. + * + * + * @generated + * @ordered + */ + int FORALL_OPERATION_COUNT = QUANTIFIED_EXPRESSION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.BoolOperationImpl Bool Operation}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.BoolOperationImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getBoolOperation() + * @generated + */ + int BOOL_OPERATION = 21; + + /** + * The number of structural features of the 'Bool Operation' class. + * + * + * @generated + * @ordered + */ + int BOOL_OPERATION_FEATURE_COUNT = TERM_FEATURE_COUNT + 0; + + /** + * The number of operations of the 'Bool Operation' class. + * + * + * @generated + * @ordered + */ + int BOOL_OPERATION_OPERATION_COUNT = TERM_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.AndImpl And}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.AndImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getAnd() + * @generated + */ + int AND = 22; + + /** + * The feature id for the 'Operands' containment reference list. + * + * + * @generated + * @ordered + */ + int AND__OPERANDS = BOOL_OPERATION_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'And' class. + * + * + * @generated + * @ordered + */ + int AND_FEATURE_COUNT = BOOL_OPERATION_FEATURE_COUNT + 1; + + /** + * The number of operations of the 'And' class. + * + * + * @generated + * @ordered + */ + int AND_OPERATION_COUNT = BOOL_OPERATION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.OrImpl Or}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.OrImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getOr() + * @generated + */ + int OR = 23; + + /** + * The feature id for the 'Operands' containment reference list. + * + * + * @generated + * @ordered + */ + int OR__OPERANDS = BOOL_OPERATION_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Or' class. + * + * + * @generated + * @ordered + */ + int OR_FEATURE_COUNT = BOOL_OPERATION_FEATURE_COUNT + 1; + + /** + * The number of operations of the 'Or' class. + * + * + * @generated + * @ordered + */ + int OR_OPERATION_COUNT = BOOL_OPERATION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ImplImpl Impl}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ImplImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getImpl() + * @generated + */ + int IMPL = 24; + + /** + * The feature id for the 'Left Operand' containment reference. + * + * + * @generated + * @ordered + */ + int IMPL__LEFT_OPERAND = BOOL_OPERATION_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Right Operand' containment reference. + * + * + * @generated + * @ordered + */ + int IMPL__RIGHT_OPERAND = BOOL_OPERATION_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Impl' class. + * + * + * @generated + * @ordered + */ + int IMPL_FEATURE_COUNT = BOOL_OPERATION_FEATURE_COUNT + 2; + + /** + * The number of operations of the 'Impl' class. + * + * + * @generated + * @ordered + */ + int IMPL_OPERATION_COUNT = BOOL_OPERATION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.NotImpl Not}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.NotImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getNot() + * @generated + */ + int NOT = 25; + + /** + * The feature id for the 'Operand' containment reference. + * + * + * @generated + * @ordered + */ + int NOT__OPERAND = BOOL_OPERATION_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Not' class. + * + * + * @generated + * @ordered + */ + int NOT_FEATURE_COUNT = BOOL_OPERATION_FEATURE_COUNT + 1; + + /** + * The number of operations of the 'Not' class. + * + * + * @generated + * @ordered + */ + int NOT_OPERATION_COUNT = BOOL_OPERATION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.IffImpl Iff}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.IffImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getIff() + * @generated + */ + int IFF = 26; + + /** + * The feature id for the 'Left Operand' containment reference. + * + * + * @generated + * @ordered + */ + int IFF__LEFT_OPERAND = BOOL_OPERATION_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Right Operand' containment reference. + * + * + * @generated + * @ordered + */ + int IFF__RIGHT_OPERAND = BOOL_OPERATION_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Iff' class. + * + * + * @generated + * @ordered + */ + int IFF_FEATURE_COUNT = BOOL_OPERATION_FEATURE_COUNT + 2; + + /** + * The number of operations of the 'Iff' class. + * + * + * @generated + * @ordered + */ + int IFF_OPERATION_COUNT = BOOL_OPERATION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.PrimitiveRelationImpl Primitive Relation}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.PrimitiveRelationImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getPrimitiveRelation() + * @generated + */ + int PRIMITIVE_RELATION = 27; + + /** + * The number of structural features of the 'Primitive Relation' class. + * + * + * @generated + * @ordered + */ + int PRIMITIVE_RELATION_FEATURE_COUNT = TERM_FEATURE_COUNT + 0; + + /** + * The number of operations of the 'Primitive Relation' class. + * + * + * @generated + * @ordered + */ + int PRIMITIVE_RELATION_OPERATION_COUNT = TERM_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.EqualsImpl Equals}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.EqualsImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getEquals() + * @generated + */ + int EQUALS = 28; + + /** + * The feature id for the 'Left Operand' containment reference. + * + * + * @generated + * @ordered + */ + int EQUALS__LEFT_OPERAND = PRIMITIVE_RELATION_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Right Operand' containment reference. + * + * + * @generated + * @ordered + */ + int EQUALS__RIGHT_OPERAND = PRIMITIVE_RELATION_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Equals' class. + * + * + * @generated + * @ordered + */ + int EQUALS_FEATURE_COUNT = PRIMITIVE_RELATION_FEATURE_COUNT + 2; + + /** + * The number of operations of the 'Equals' class. + * + * + * @generated + * @ordered + */ + int EQUALS_OPERATION_COUNT = PRIMITIVE_RELATION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.DistinctImpl Distinct}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.DistinctImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getDistinct() + * @generated + */ + int DISTINCT = 29; + + /** + * The feature id for the 'Operands' containment reference list. + * + * + * @generated + * @ordered + */ + int DISTINCT__OPERANDS = PRIMITIVE_RELATION_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Distinct' class. + * + * + * @generated + * @ordered + */ + int DISTINCT_FEATURE_COUNT = PRIMITIVE_RELATION_FEATURE_COUNT + 1; + + /** + * The number of operations of the 'Distinct' class. + * + * + * @generated + * @ordered + */ + int DISTINCT_OPERATION_COUNT = PRIMITIVE_RELATION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LessThanImpl Less Than}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LessThanImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getLessThan() + * @generated + */ + int LESS_THAN = 30; + + /** + * The feature id for the 'Left Operand' containment reference. + * + * + * @generated + * @ordered + */ + int LESS_THAN__LEFT_OPERAND = PRIMITIVE_RELATION_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Right Operand' containment reference. + * + * + * @generated + * @ordered + */ + int LESS_THAN__RIGHT_OPERAND = PRIMITIVE_RELATION_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Less Than' class. + * + * + * @generated + * @ordered + */ + int LESS_THAN_FEATURE_COUNT = PRIMITIVE_RELATION_FEATURE_COUNT + 2; + + /** + * The number of operations of the 'Less Than' class. + * + * + * @generated + * @ordered + */ + int LESS_THAN_OPERATION_COUNT = PRIMITIVE_RELATION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.MoreThanImpl More Than}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.MoreThanImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getMoreThan() + * @generated + */ + int MORE_THAN = 31; + + /** + * The feature id for the 'Left Operand' containment reference. + * + * + * @generated + * @ordered + */ + int MORE_THAN__LEFT_OPERAND = PRIMITIVE_RELATION_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Right Operand' containment reference. + * + * + * @generated + * @ordered + */ + int MORE_THAN__RIGHT_OPERAND = PRIMITIVE_RELATION_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'More Than' class. + * + * + * @generated + * @ordered + */ + int MORE_THAN_FEATURE_COUNT = PRIMITIVE_RELATION_FEATURE_COUNT + 2; + + /** + * The number of operations of the 'More Than' class. + * + * + * @generated + * @ordered + */ + int MORE_THAN_OPERATION_COUNT = PRIMITIVE_RELATION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LessOrEqualThanImpl Less Or Equal Than}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LessOrEqualThanImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getLessOrEqualThan() + * @generated + */ + int LESS_OR_EQUAL_THAN = 32; + + /** + * The feature id for the 'Left Operand' containment reference. + * + * + * @generated + * @ordered + */ + int LESS_OR_EQUAL_THAN__LEFT_OPERAND = PRIMITIVE_RELATION_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Right Operand' containment reference. + * + * + * @generated + * @ordered + */ + int LESS_OR_EQUAL_THAN__RIGHT_OPERAND = PRIMITIVE_RELATION_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Less Or Equal Than' class. + * + * + * @generated + * @ordered + */ + int LESS_OR_EQUAL_THAN_FEATURE_COUNT = PRIMITIVE_RELATION_FEATURE_COUNT + 2; + + /** + * The number of operations of the 'Less Or Equal Than' class. + * + * + * @generated + * @ordered + */ + int LESS_OR_EQUAL_THAN_OPERATION_COUNT = PRIMITIVE_RELATION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.MoreOrEqualThanImpl More Or Equal Than}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.MoreOrEqualThanImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getMoreOrEqualThan() + * @generated + */ + int MORE_OR_EQUAL_THAN = 33; + + /** + * The feature id for the 'Left Operand' containment reference. + * + * + * @generated + * @ordered + */ + int MORE_OR_EQUAL_THAN__LEFT_OPERAND = PRIMITIVE_RELATION_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Right Operand' containment reference. + * + * + * @generated + * @ordered + */ + int MORE_OR_EQUAL_THAN__RIGHT_OPERAND = PRIMITIVE_RELATION_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'More Or Equal Than' class. + * + * + * @generated + * @ordered + */ + int MORE_OR_EQUAL_THAN_FEATURE_COUNT = PRIMITIVE_RELATION_FEATURE_COUNT + 2; + + /** + * The number of operations of the 'More Or Equal Than' class. + * + * + * @generated + * @ordered + */ + int MORE_OR_EQUAL_THAN_OPERATION_COUNT = PRIMITIVE_RELATION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.IntOperationImpl Int Operation}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.IntOperationImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getIntOperation() + * @generated + */ + int INT_OPERATION = 34; + + /** + * The feature id for the 'Left Operand' containment reference. + * + * + * @generated + * @ordered + */ + int INT_OPERATION__LEFT_OPERAND = TERM_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Right Operand' containment reference. + * + * + * @generated + * @ordered + */ + int INT_OPERATION__RIGHT_OPERAND = TERM_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Int Operation' class. + * + * + * @generated + * @ordered + */ + int INT_OPERATION_FEATURE_COUNT = TERM_FEATURE_COUNT + 2; + + /** + * The number of operations of the 'Int Operation' class. + * + * + * @generated + * @ordered + */ + int INT_OPERATION_OPERATION_COUNT = TERM_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.PlusImpl Plus}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.PlusImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getPlus() + * @generated + */ + int PLUS = 35; + + /** + * The feature id for the 'Left Operand' containment reference. + * + * + * @generated + * @ordered + */ + int PLUS__LEFT_OPERAND = INT_OPERATION__LEFT_OPERAND; + + /** + * The feature id for the 'Right Operand' containment reference. + * + * + * @generated + * @ordered + */ + int PLUS__RIGHT_OPERAND = INT_OPERATION__RIGHT_OPERAND; + + /** + * The number of structural features of the 'Plus' class. + * + * + * @generated + * @ordered + */ + int PLUS_FEATURE_COUNT = INT_OPERATION_FEATURE_COUNT + 0; + + /** + * The number of operations of the 'Plus' class. + * + * + * @generated + * @ordered + */ + int PLUS_OPERATION_COUNT = INT_OPERATION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.MinusImpl Minus}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.MinusImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getMinus() + * @generated + */ + int MINUS = 36; + + /** + * The feature id for the 'Left Operand' containment reference. + * + * + * @generated + * @ordered + */ + int MINUS__LEFT_OPERAND = INT_OPERATION__LEFT_OPERAND; + + /** + * The feature id for the 'Right Operand' containment reference. + * + * + * @generated + * @ordered + */ + int MINUS__RIGHT_OPERAND = INT_OPERATION__RIGHT_OPERAND; + + /** + * The number of structural features of the 'Minus' class. + * + * + * @generated + * @ordered + */ + int MINUS_FEATURE_COUNT = INT_OPERATION_FEATURE_COUNT + 0; + + /** + * The number of operations of the 'Minus' class. + * + * + * @generated + * @ordered + */ + int MINUS_OPERATION_COUNT = INT_OPERATION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.MultiplyImpl Multiply}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.MultiplyImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getMultiply() + * @generated + */ + int MULTIPLY = 37; + + /** + * The feature id for the 'Left Operand' containment reference. + * + * + * @generated + * @ordered + */ + int MULTIPLY__LEFT_OPERAND = INT_OPERATION__LEFT_OPERAND; + + /** + * The feature id for the 'Right Operand' containment reference. + * + * + * @generated + * @ordered + */ + int MULTIPLY__RIGHT_OPERAND = INT_OPERATION__RIGHT_OPERAND; + + /** + * The number of structural features of the 'Multiply' class. + * + * + * @generated + * @ordered + */ + int MULTIPLY_FEATURE_COUNT = INT_OPERATION_FEATURE_COUNT + 0; + + /** + * The number of operations of the 'Multiply' class. + * + * + * @generated + * @ordered + */ + int MULTIPLY_OPERATION_COUNT = INT_OPERATION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.DivisonImpl Divison}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.DivisonImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getDivison() + * @generated + */ + int DIVISON = 38; + + /** + * The feature id for the 'Left Operand' containment reference. + * + * + * @generated + * @ordered + */ + int DIVISON__LEFT_OPERAND = INT_OPERATION__LEFT_OPERAND; + + /** + * The feature id for the 'Right Operand' containment reference. + * + * + * @generated + * @ordered + */ + int DIVISON__RIGHT_OPERAND = INT_OPERATION__RIGHT_OPERAND; + + /** + * The number of structural features of the 'Divison' class. + * + * + * @generated + * @ordered + */ + int DIVISON_FEATURE_COUNT = INT_OPERATION_FEATURE_COUNT + 0; + + /** + * The number of operations of the 'Divison' class. + * + * + * @generated + * @ordered + */ + int DIVISON_OPERATION_COUNT = INT_OPERATION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ModImpl Mod}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ModImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getMod() + * @generated + */ + int MOD = 39; + + /** + * The feature id for the 'Left Operand' containment reference. + * + * + * @generated + * @ordered + */ + int MOD__LEFT_OPERAND = INT_OPERATION__LEFT_OPERAND; + + /** + * The feature id for the 'Right Operand' containment reference. + * + * + * @generated + * @ordered + */ + int MOD__RIGHT_OPERAND = INT_OPERATION__RIGHT_OPERAND; + + /** + * The number of structural features of the 'Mod' class. + * + * + * @generated + * @ordered + */ + int MOD_FEATURE_COUNT = INT_OPERATION_FEATURE_COUNT + 0; + + /** + * The number of operations of the 'Mod' class. + * + * + * @generated + * @ordered + */ + int MOD_OPERATION_COUNT = INT_OPERATION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.AssertionImpl Assertion}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.AssertionImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getAssertion() + * @generated + */ + int ASSERTION = 42; + + /** + * The feature id for the 'Value' containment reference. + * + * + * @generated + * @ordered + */ + int ASSERTION__VALUE = 0; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int ASSERTION__NAME = 1; + + /** + * The feature id for the 'Annotations' reference list. + * + * + * @generated + * @ordered + */ + int ASSERTION__ANNOTATIONS = 2; + + /** + * The number of structural features of the 'Assertion' class. + * + * + * @generated + * @ordered + */ + int ASSERTION_FEATURE_COUNT = 3; + + /** + * The number of operations of the 'Assertion' class. + * + * + * @generated + * @ordered + */ + int ASSERTION_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.RelationImpl Relation}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.RelationImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getRelation() + * @generated + */ + int RELATION = 43; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int RELATION__NAME = SYMBOLIC_DECLARATION__NAME; + + /** + * The feature id for the 'Parameters' containment reference list. + * + * + * @generated + * @ordered + */ + int RELATION__PARAMETERS = SYMBOLIC_DECLARATION_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Annotations' reference list. + * + * + * @generated + * @ordered + */ + int RELATION__ANNOTATIONS = SYMBOLIC_DECLARATION_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Relation' class. + * + * + * @generated + * @ordered + */ + int RELATION_FEATURE_COUNT = SYMBOLIC_DECLARATION_FEATURE_COUNT + 2; + + /** + * The number of operations of the 'Relation' class. + * + * + * @generated + * @ordered + */ + int RELATION_OPERATION_COUNT = SYMBOLIC_DECLARATION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ConstantImpl Constant}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ConstantImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getConstant() + * @generated + */ + int CONSTANT = 44; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int CONSTANT__NAME = SYMBOLIC_DECLARATION__NAME; + + /** + * The feature id for the 'Type' containment reference. + * + * + * @generated + * @ordered + */ + int CONSTANT__TYPE = SYMBOLIC_DECLARATION_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Annotations' reference list. + * + * + * @generated + * @ordered + */ + int CONSTANT__ANNOTATIONS = SYMBOLIC_DECLARATION_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Constant' class. + * + * + * @generated + * @ordered + */ + int CONSTANT_FEATURE_COUNT = SYMBOLIC_DECLARATION_FEATURE_COUNT + 2; + + /** + * The number of operations of the 'Constant' class. + * + * + * @generated + * @ordered + */ + int CONSTANT_OPERATION_COUNT = SYMBOLIC_DECLARATION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ConstantDefinitionImpl Constant Definition}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ConstantDefinitionImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getConstantDefinition() + * @generated + */ + int CONSTANT_DEFINITION = 45; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int CONSTANT_DEFINITION__NAME = CONSTANT__NAME; + + /** + * The feature id for the 'Type' containment reference. + * + * + * @generated + * @ordered + */ + int CONSTANT_DEFINITION__TYPE = CONSTANT__TYPE; + + /** + * The feature id for the 'Annotations' reference list. + * + * + * @generated + * @ordered + */ + int CONSTANT_DEFINITION__ANNOTATIONS = CONSTANT__ANNOTATIONS; + + /** + * The feature id for the 'Value' containment reference. + * + * + * @generated + * @ordered + */ + int CONSTANT_DEFINITION__VALUE = CONSTANT_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Defines' reference. + * + * + * @generated + * @ordered + */ + int CONSTANT_DEFINITION__DEFINES = CONSTANT_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Constant Definition' class. + * + * + * @generated + * @ordered + */ + int CONSTANT_DEFINITION_FEATURE_COUNT = CONSTANT_FEATURE_COUNT + 2; + + /** + * The number of operations of the 'Constant Definition' class. + * + * + * @generated + * @ordered + */ + int CONSTANT_DEFINITION_OPERATION_COUNT = CONSTANT_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.RelationDefinitionImpl Relation Definition}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.RelationDefinitionImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getRelationDefinition() + * @generated + */ + int RELATION_DEFINITION = 46; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int RELATION_DEFINITION__NAME = RELATION__NAME; + + /** + * The feature id for the 'Parameters' containment reference list. + * + * + * @generated + * @ordered + */ + int RELATION_DEFINITION__PARAMETERS = RELATION__PARAMETERS; + + /** + * The feature id for the 'Annotations' reference list. + * + * + * @generated + * @ordered + */ + int RELATION_DEFINITION__ANNOTATIONS = RELATION__ANNOTATIONS; + + /** + * The feature id for the 'Variables' containment reference list. + * + * + * @generated + * @ordered + */ + int RELATION_DEFINITION__VARIABLES = RELATION_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Value' containment reference. + * + * + * @generated + * @ordered + */ + int RELATION_DEFINITION__VALUE = RELATION_FEATURE_COUNT + 1; + + /** + * The feature id for the 'Defines' reference. + * + * + * @generated + * @ordered + */ + int RELATION_DEFINITION__DEFINES = RELATION_FEATURE_COUNT + 2; + + /** + * The number of structural features of the 'Relation Definition' class. + * + * + * @generated + * @ordered + */ + int RELATION_DEFINITION_FEATURE_COUNT = RELATION_FEATURE_COUNT + 3; + + /** + * The number of operations of the 'Relation Definition' class. + * + * + * @generated + * @ordered + */ + int RELATION_DEFINITION_OPERATION_COUNT = RELATION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.FunctionDefinitionImpl Function Definition}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.FunctionDefinitionImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getFunctionDefinition() + * @generated + */ + int FUNCTION_DEFINITION = 47; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int FUNCTION_DEFINITION__NAME = FUNCTION__NAME; + + /** + * The feature id for the 'Range' containment reference. + * + * + * @generated + * @ordered + */ + int FUNCTION_DEFINITION__RANGE = FUNCTION__RANGE; + + /** + * The feature id for the 'Parameters' containment reference list. + * + * + * @generated + * @ordered + */ + int FUNCTION_DEFINITION__PARAMETERS = FUNCTION__PARAMETERS; + + /** + * The feature id for the 'Annotations' reference list. + * + * + * @generated + * @ordered + */ + int FUNCTION_DEFINITION__ANNOTATIONS = FUNCTION__ANNOTATIONS; + + /** + * The feature id for the 'Variable' containment reference list. + * + * + * @generated + * @ordered + */ + int FUNCTION_DEFINITION__VARIABLE = FUNCTION_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Defines' reference. + * + * + * @generated + * @ordered + */ + int FUNCTION_DEFINITION__DEFINES = FUNCTION_FEATURE_COUNT + 1; + + /** + * The feature id for the 'Value' containment reference. + * + * + * @generated + * @ordered + */ + int FUNCTION_DEFINITION__VALUE = FUNCTION_FEATURE_COUNT + 2; + + /** + * The number of structural features of the 'Function Definition' class. + * + * + * @generated + * @ordered + */ + int FUNCTION_DEFINITION_FEATURE_COUNT = FUNCTION_FEATURE_COUNT + 3; + + /** + * The number of operations of the 'Function Definition' class. + * + * + * @generated + * @ordered + */ + int FUNCTION_DEFINITION_OPERATION_COUNT = FUNCTION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.IfThenElseImpl If Then Else}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.IfThenElseImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getIfThenElse() + * @generated + */ + int IF_THEN_ELSE = 48; + + /** + * The feature id for the 'Condition' containment reference. + * + * + * @generated + * @ordered + */ + int IF_THEN_ELSE__CONDITION = TERM_FEATURE_COUNT + 0; + + /** + * The feature id for the 'If True' containment reference. + * + * + * @generated + * @ordered + */ + int IF_THEN_ELSE__IF_TRUE = TERM_FEATURE_COUNT + 1; + + /** + * The feature id for the 'If False' containment reference. + * + * + * @generated + * @ordered + */ + int IF_THEN_ELSE__IF_FALSE = TERM_FEATURE_COUNT + 2; + + /** + * The number of structural features of the 'If Then Else' class. + * + * + * @generated + * @ordered + */ + int IF_THEN_ELSE_FEATURE_COUNT = TERM_FEATURE_COUNT + 3; + + /** + * The number of operations of the 'If Then Else' class. + * + * + * @generated + * @ordered + */ + int IF_THEN_ELSE_OPERATION_COUNT = TERM_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ConstantDeclarationImpl Constant Declaration}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ConstantDeclarationImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getConstantDeclaration() + * @generated + */ + int CONSTANT_DECLARATION = 49; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int CONSTANT_DECLARATION__NAME = CONSTANT__NAME; + + /** + * The feature id for the 'Type' containment reference. + * + * + * @generated + * @ordered + */ + int CONSTANT_DECLARATION__TYPE = CONSTANT__TYPE; + + /** + * The feature id for the 'Annotations' reference list. + * + * + * @generated + * @ordered + */ + int CONSTANT_DECLARATION__ANNOTATIONS = CONSTANT__ANNOTATIONS; + + /** + * The number of structural features of the 'Constant Declaration' class. + * + * + * @generated + * @ordered + */ + int CONSTANT_DECLARATION_FEATURE_COUNT = CONSTANT_FEATURE_COUNT + 0; + + /** + * The number of operations of the 'Constant Declaration' class. + * + * + * @generated + * @ordered + */ + int CONSTANT_DECLARATION_OPERATION_COUNT = CONSTANT_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.RelationDeclarationImpl Relation Declaration}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.RelationDeclarationImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getRelationDeclaration() + * @generated + */ + int RELATION_DECLARATION = 50; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int RELATION_DECLARATION__NAME = RELATION__NAME; + + /** + * The feature id for the 'Parameters' containment reference list. + * + * + * @generated + * @ordered + */ + int RELATION_DECLARATION__PARAMETERS = RELATION__PARAMETERS; + + /** + * The feature id for the 'Annotations' reference list. + * + * + * @generated + * @ordered + */ + int RELATION_DECLARATION__ANNOTATIONS = RELATION__ANNOTATIONS; + + /** + * The number of structural features of the 'Relation Declaration' class. + * + * + * @generated + * @ordered + */ + int RELATION_DECLARATION_FEATURE_COUNT = RELATION_FEATURE_COUNT + 0; + + /** + * The number of operations of the 'Relation Declaration' class. + * + * + * @generated + * @ordered + */ + int RELATION_DECLARATION_OPERATION_COUNT = RELATION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.FunctionDeclarationImpl Function Declaration}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.FunctionDeclarationImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getFunctionDeclaration() + * @generated + */ + int FUNCTION_DECLARATION = 51; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int FUNCTION_DECLARATION__NAME = FUNCTION__NAME; + + /** + * The feature id for the 'Range' containment reference. + * + * + * @generated + * @ordered + */ + int FUNCTION_DECLARATION__RANGE = FUNCTION__RANGE; + + /** + * The feature id for the 'Parameters' containment reference list. + * + * + * @generated + * @ordered + */ + int FUNCTION_DECLARATION__PARAMETERS = FUNCTION__PARAMETERS; + + /** + * The feature id for the 'Annotations' reference list. + * + * + * @generated + * @ordered + */ + int FUNCTION_DECLARATION__ANNOTATIONS = FUNCTION__ANNOTATIONS; + + /** + * The number of structural features of the 'Function Declaration' class. + * + * + * @generated + * @ordered + */ + int FUNCTION_DECLARATION_FEATURE_COUNT = FUNCTION_FEATURE_COUNT + 0; + + /** + * The number of operations of the 'Function Declaration' class. + * + * + * @generated + * @ordered + */ + int FUNCTION_DECLARATION_OPERATION_COUNT = FUNCTION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.TypeDeclarationImpl Type Declaration}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.TypeDeclarationImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getTypeDeclaration() + * @generated + */ + int TYPE_DECLARATION = 52; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int TYPE_DECLARATION__NAME = TYPE__NAME; + + /** + * The feature id for the 'Subtypes' reference list. + * + * + * @generated + * @ordered + */ + int TYPE_DECLARATION__SUBTYPES = TYPE__SUBTYPES; + + /** + * The feature id for the 'Supertypes' reference list. + * + * + * @generated + * @ordered + */ + int TYPE_DECLARATION__SUPERTYPES = TYPE__SUPERTYPES; + + /** + * The feature id for the 'Is Abstract' attribute. + * + * + * @generated + * @ordered + */ + int TYPE_DECLARATION__IS_ABSTRACT = TYPE__IS_ABSTRACT; + + /** + * The number of structural features of the 'Type Declaration' class. + * + * + * @generated + * @ordered + */ + int TYPE_DECLARATION_FEATURE_COUNT = TYPE_FEATURE_COUNT + 0; + + /** + * The number of operations of the 'Type Declaration' class. + * + * + * @generated + * @ordered + */ + int TYPE_DECLARATION_OPERATION_COUNT = TYPE_OPERATION_COUNT + 0; + + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.UnknownBecauseUninterpretedImpl Unknown Because Uninterpreted}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.UnknownBecauseUninterpretedImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getUnknownBecauseUninterpreted() + * @generated + */ + int UNKNOWN_BECAUSE_UNINTERPRETED = 53; + + /** + * The number of structural features of the 'Unknown Because Uninterpreted' class. + * + * + * @generated + * @ordered + */ + int UNKNOWN_BECAUSE_UNINTERPRETED_FEATURE_COUNT = TERM_FEATURE_COUNT + 0; + + /** + * The number of operations of the 'Unknown Because Uninterpreted' class. + * + * + * @generated + * @ordered + */ + int UNKNOWN_BECAUSE_UNINTERPRETED_OPERATION_COUNT = TERM_OPERATION_COUNT + 0; + + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.InstanceOfImpl Instance Of}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.InstanceOfImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getInstanceOf() + * @generated + */ + int INSTANCE_OF = 54; + + /** + * The feature id for the 'Value' containment reference. + * + * + * @generated + * @ordered + */ + int INSTANCE_OF__VALUE = TERM_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Range' containment reference. + * + * + * @generated + * @ordered + */ + int INSTANCE_OF__RANGE = TERM_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Instance Of' class. + * + * + * @generated + * @ordered + */ + int INSTANCE_OF_FEATURE_COUNT = TERM_FEATURE_COUNT + 2; + + /** + * The number of operations of the 'Instance Of' class. + * + * + * @generated + * @ordered + */ + int INSTANCE_OF_OPERATION_COUNT = TERM_OPERATION_COUNT + 0; + + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type Type}'. + * + * + * @return the meta object for class 'Type'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type + * @generated + */ + EClass getType(); + + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type#getName Name}'. + * + * + * @return the meta object for the attribute 'Name'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type#getName() + * @see #getType() + * @generated + */ + EAttribute getType_Name(); + + /** + * Returns the meta object for the reference list '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type#getSubtypes Subtypes}'. + * + * + * @return the meta object for the reference list 'Subtypes'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type#getSubtypes() + * @see #getType() + * @generated + */ + EReference getType_Subtypes(); + + /** + * Returns the meta object for the reference list '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type#getSupertypes Supertypes}'. + * + * + * @return the meta object for the reference list 'Supertypes'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type#getSupertypes() + * @see #getType() + * @generated + */ + EReference getType_Supertypes(); + + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type#isIsAbstract Is Abstract}'. + * + * + * @return the meta object for the attribute 'Is Abstract'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type#isIsAbstract() + * @see #getType() + * @generated + */ + EAttribute getType_IsAbstract(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.DefinedElement Defined Element}'. + * + * + * @return the meta object for class 'Defined Element'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.DefinedElement + * @generated + */ + EClass getDefinedElement(); + + /** + * Returns the meta object for the reference list '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.DefinedElement#getDefinedInType Defined In Type}'. + * + * + * @return the meta object for the reference list 'Defined In Type'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.DefinedElement#getDefinedInType() + * @see #getDefinedElement() + * @generated + */ + EReference getDefinedElement_DefinedInType(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDefinition Type Definition}'. + * + * + * @return the meta object for class 'Type Definition'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDefinition + * @generated + */ + EClass getTypeDefinition(); + + /** + * Returns the meta object for the reference list '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDefinition#getElements Elements}'. + * + * + * @return the meta object for the reference list 'Elements'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDefinition#getElements() + * @see #getTypeDefinition() + * @generated + */ + EReference getTypeDefinition_Elements(); + + /** + * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDefinition#getDefines Defines}'. + * + * + * @return the meta object for the reference 'Defines'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDefinition#getDefines() + * @see #getTypeDefinition() + * @generated + */ + EReference getTypeDefinition_Defines(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeReference Type Reference}'. + * + * + * @return the meta object for class 'Type Reference'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeReference + * @generated + */ + EClass getTypeReference(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ComplexTypeReference Complex Type Reference}'. + * + * + * @return the meta object for class 'Complex Type Reference'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ComplexTypeReference + * @generated + */ + EClass getComplexTypeReference(); + + /** + * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ComplexTypeReference#getReferred Referred}'. + * + * + * @return the meta object for the reference 'Referred'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ComplexTypeReference#getReferred() + * @see #getComplexTypeReference() + * @generated + */ + EReference getComplexTypeReference_Referred(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.PrimitiveTypeReference Primitive Type Reference}'. + * + * + * @return the meta object for class 'Primitive Type Reference'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.PrimitiveTypeReference + * @generated + */ + EClass getPrimitiveTypeReference(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntTypeReference Int Type Reference}'. + * + * + * @return the meta object for class 'Int Type Reference'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntTypeReference + * @generated + */ + EClass getIntTypeReference(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.BoolTypeReference Bool Type Reference}'. + * + * + * @return the meta object for class 'Bool Type Reference'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.BoolTypeReference + * @generated + */ + EClass getBoolTypeReference(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RealTypeReference Real Type Reference}'. + * + * + * @return the meta object for class 'Real Type Reference'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RealTypeReference + * @generated + */ + EClass getRealTypeReference(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Function Function}'. + * + * + * @return the meta object for class 'Function'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Function + * @generated + */ + EClass getFunction(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Function#getRange Range}'. + * + * + * @return the meta object for the containment reference 'Range'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Function#getRange() + * @see #getFunction() + * @generated + */ + EReference getFunction_Range(); + + /** + * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Function#getParameters Parameters}'. + * + * + * @return the meta object for the containment reference list 'Parameters'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Function#getParameters() + * @see #getFunction() + * @generated + */ + EReference getFunction_Parameters(); + + /** + * Returns the meta object for the reference list '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Function#getAnnotations Annotations}'. + * + * + * @return the meta object for the reference list 'Annotations'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Function#getAnnotations() + * @see #getFunction() + * @generated + */ + EReference getFunction_Annotations(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term Term}'. + * + * + * @return the meta object for class 'Term'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term + * @generated + */ + EClass getTerm(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.SymbolicDeclaration Symbolic Declaration}'. + * + * + * @return the meta object for class 'Symbolic Declaration'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.SymbolicDeclaration + * @generated + */ + EClass getSymbolicDeclaration(); + + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.SymbolicDeclaration#getName Name}'. + * + * + * @return the meta object for the attribute 'Name'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.SymbolicDeclaration#getName() + * @see #getSymbolicDeclaration() + * @generated + */ + EAttribute getSymbolicDeclaration_Name(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.SymbolicValue Symbolic Value}'. + * + * + * @return the meta object for class 'Symbolic Value'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.SymbolicValue + * @generated + */ + EClass getSymbolicValue(); + + /** + * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.SymbolicValue#getSymbolicReference Symbolic Reference}'. + * + * + * @return the meta object for the reference 'Symbolic Reference'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.SymbolicValue#getSymbolicReference() + * @see #getSymbolicValue() + * @generated + */ + EReference getSymbolicValue_SymbolicReference(); + + /** + * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.SymbolicValue#getParameterSubstitutions Parameter Substitutions}'. + * + * + * @return the meta object for the containment reference list 'Parameter Substitutions'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.SymbolicValue#getParameterSubstitutions() + * @see #getSymbolicValue() + * @generated + */ + EReference getSymbolicValue_ParameterSubstitutions(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.AtomicTerm Atomic Term}'. + * + * + * @return the meta object for class 'Atomic Term'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.AtomicTerm + * @generated + */ + EClass getAtomicTerm(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntLiteral Int Literal}'. + * + * + * @return the meta object for class 'Int Literal'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntLiteral + * @generated + */ + EClass getIntLiteral(); + + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntLiteral#getValue Value}'. + * + * + * @return the meta object for the attribute 'Value'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntLiteral#getValue() + * @see #getIntLiteral() + * @generated + */ + EAttribute getIntLiteral_Value(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.BoolLiteral Bool Literal}'. + * + * + * @return the meta object for class 'Bool Literal'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.BoolLiteral + * @generated + */ + EClass getBoolLiteral(); + + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.BoolLiteral#isValue Value}'. + * + * + * @return the meta object for the attribute 'Value'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.BoolLiteral#isValue() + * @see #getBoolLiteral() + * @generated + */ + EAttribute getBoolLiteral_Value(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RealLiteral Real Literal}'. + * + * + * @return the meta object for class 'Real Literal'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RealLiteral + * @generated + */ + EClass getRealLiteral(); + + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RealLiteral#getValue Value}'. + * + * + * @return the meta object for the attribute 'Value'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RealLiteral#getValue() + * @see #getRealLiteral() + * @generated + */ + EAttribute getRealLiteral_Value(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Variable Variable}'. + * + * + * @return the meta object for class 'Variable'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Variable + * @generated + */ + EClass getVariable(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Variable#getRange Range}'. + * + * + * @return the meta object for the containment reference 'Range'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Variable#getRange() + * @see #getVariable() + * @generated + */ + EReference getVariable_Range(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.QuantifiedExpression Quantified Expression}'. + * + * + * @return the meta object for class 'Quantified Expression'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.QuantifiedExpression + * @generated + */ + EClass getQuantifiedExpression(); + + /** + * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.QuantifiedExpression#getQuantifiedVariables Quantified Variables}'. + * + * + * @return the meta object for the containment reference list 'Quantified Variables'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.QuantifiedExpression#getQuantifiedVariables() + * @see #getQuantifiedExpression() + * @generated + */ + EReference getQuantifiedExpression_QuantifiedVariables(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.QuantifiedExpression#getExpression Expression}'. + * + * + * @return the meta object for the containment reference 'Expression'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.QuantifiedExpression#getExpression() + * @see #getQuantifiedExpression() + * @generated + */ + EReference getQuantifiedExpression_Expression(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Exists Exists}'. + * + * + * @return the meta object for class 'Exists'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Exists + * @generated + */ + EClass getExists(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Forall Forall}'. + * + * + * @return the meta object for class 'Forall'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Forall + * @generated + */ + EClass getForall(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.BoolOperation Bool Operation}'. + * + * + * @return the meta object for class 'Bool Operation'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.BoolOperation + * @generated + */ + EClass getBoolOperation(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.And And}'. + * + * + * @return the meta object for class 'And'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.And + * @generated + */ + EClass getAnd(); + + /** + * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.And#getOperands Operands}'. + * + * + * @return the meta object for the containment reference list 'Operands'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.And#getOperands() + * @see #getAnd() + * @generated + */ + EReference getAnd_Operands(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Or Or}'. + * + * + * @return the meta object for class 'Or'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Or + * @generated + */ + EClass getOr(); + + /** + * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Or#getOperands Operands}'. + * + * + * @return the meta object for the containment reference list 'Operands'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Or#getOperands() + * @see #getOr() + * @generated + */ + EReference getOr_Operands(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Impl Impl}'. + * + * + * @return the meta object for class 'Impl'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Impl + * @generated + */ + EClass getImpl(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Impl#getLeftOperand Left Operand}'. + * + * + * @return the meta object for the containment reference 'Left Operand'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Impl#getLeftOperand() + * @see #getImpl() + * @generated + */ + EReference getImpl_LeftOperand(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Impl#getRightOperand Right Operand}'. + * + * + * @return the meta object for the containment reference 'Right Operand'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Impl#getRightOperand() + * @see #getImpl() + * @generated + */ + EReference getImpl_RightOperand(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Not Not}'. + * + * + * @return the meta object for class 'Not'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Not + * @generated + */ + EClass getNot(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Not#getOperand Operand}'. + * + * + * @return the meta object for the containment reference 'Operand'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Not#getOperand() + * @see #getNot() + * @generated + */ + EReference getNot_Operand(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Iff Iff}'. + * + * + * @return the meta object for class 'Iff'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Iff + * @generated + */ + EClass getIff(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Iff#getLeftOperand Left Operand}'. + * + * + * @return the meta object for the containment reference 'Left Operand'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Iff#getLeftOperand() + * @see #getIff() + * @generated + */ + EReference getIff_LeftOperand(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Iff#getRightOperand Right Operand}'. + * + * + * @return the meta object for the containment reference 'Right Operand'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Iff#getRightOperand() + * @see #getIff() + * @generated + */ + EReference getIff_RightOperand(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.PrimitiveRelation Primitive Relation}'. + * + * + * @return the meta object for class 'Primitive Relation'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.PrimitiveRelation + * @generated + */ + EClass getPrimitiveRelation(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Equals Equals}'. + * + * + * @return the meta object for class 'Equals'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Equals + * @generated + */ + EClass getEquals(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Equals#getLeftOperand Left Operand}'. + * + * + * @return the meta object for the containment reference 'Left Operand'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Equals#getLeftOperand() + * @see #getEquals() + * @generated + */ + EReference getEquals_LeftOperand(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Equals#getRightOperand Right Operand}'. + * + * + * @return the meta object for the containment reference 'Right Operand'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Equals#getRightOperand() + * @see #getEquals() + * @generated + */ + EReference getEquals_RightOperand(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Distinct Distinct}'. + * + * + * @return the meta object for class 'Distinct'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Distinct + * @generated + */ + EClass getDistinct(); + + /** + * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Distinct#getOperands Operands}'. + * + * + * @return the meta object for the containment reference list 'Operands'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Distinct#getOperands() + * @see #getDistinct() + * @generated + */ + EReference getDistinct_Operands(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LessThan Less Than}'. + * + * + * @return the meta object for class 'Less Than'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LessThan + * @generated + */ + EClass getLessThan(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LessThan#getLeftOperand Left Operand}'. + * + * + * @return the meta object for the containment reference 'Left Operand'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LessThan#getLeftOperand() + * @see #getLessThan() + * @generated + */ + EReference getLessThan_LeftOperand(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LessThan#getRightOperand Right Operand}'. + * + * + * @return the meta object for the containment reference 'Right Operand'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LessThan#getRightOperand() + * @see #getLessThan() + * @generated + */ + EReference getLessThan_RightOperand(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.MoreThan More Than}'. + * + * + * @return the meta object for class 'More Than'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.MoreThan + * @generated + */ + EClass getMoreThan(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.MoreThan#getLeftOperand Left Operand}'. + * + * + * @return the meta object for the containment reference 'Left Operand'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.MoreThan#getLeftOperand() + * @see #getMoreThan() + * @generated + */ + EReference getMoreThan_LeftOperand(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.MoreThan#getRightOperand Right Operand}'. + * + * + * @return the meta object for the containment reference 'Right Operand'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.MoreThan#getRightOperand() + * @see #getMoreThan() + * @generated + */ + EReference getMoreThan_RightOperand(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LessOrEqualThan Less Or Equal Than}'. + * + * + * @return the meta object for class 'Less Or Equal Than'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LessOrEqualThan + * @generated + */ + EClass getLessOrEqualThan(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LessOrEqualThan#getLeftOperand Left Operand}'. + * + * + * @return the meta object for the containment reference 'Left Operand'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LessOrEqualThan#getLeftOperand() + * @see #getLessOrEqualThan() + * @generated + */ + EReference getLessOrEqualThan_LeftOperand(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LessOrEqualThan#getRightOperand Right Operand}'. + * + * + * @return the meta object for the containment reference 'Right Operand'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LessOrEqualThan#getRightOperand() + * @see #getLessOrEqualThan() + * @generated + */ + EReference getLessOrEqualThan_RightOperand(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.MoreOrEqualThan More Or Equal Than}'. + * + * + * @return the meta object for class 'More Or Equal Than'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.MoreOrEqualThan + * @generated + */ + EClass getMoreOrEqualThan(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.MoreOrEqualThan#getLeftOperand Left Operand}'. + * + * + * @return the meta object for the containment reference 'Left Operand'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.MoreOrEqualThan#getLeftOperand() + * @see #getMoreOrEqualThan() + * @generated + */ + EReference getMoreOrEqualThan_LeftOperand(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.MoreOrEqualThan#getRightOperand Right Operand}'. + * + * + * @return the meta object for the containment reference 'Right Operand'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.MoreOrEqualThan#getRightOperand() + * @see #getMoreOrEqualThan() + * @generated + */ + EReference getMoreOrEqualThan_RightOperand(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntOperation Int Operation}'. + * + * + * @return the meta object for class 'Int Operation'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntOperation + * @generated + */ + EClass getIntOperation(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntOperation#getLeftOperand Left Operand}'. + * + * + * @return the meta object for the containment reference 'Left Operand'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntOperation#getLeftOperand() + * @see #getIntOperation() + * @generated + */ + EReference getIntOperation_LeftOperand(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntOperation#getRightOperand Right Operand}'. + * + * + * @return the meta object for the containment reference 'Right Operand'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntOperation#getRightOperand() + * @see #getIntOperation() + * @generated + */ + EReference getIntOperation_RightOperand(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Plus Plus}'. + * + * + * @return the meta object for class 'Plus'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Plus + * @generated + */ + EClass getPlus(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Minus Minus}'. + * + * + * @return the meta object for class 'Minus'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Minus + * @generated + */ + EClass getMinus(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Multiply Multiply}'. + * + * + * @return the meta object for class 'Multiply'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Multiply + * @generated + */ + EClass getMultiply(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Divison Divison}'. + * + * + * @return the meta object for class 'Divison'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Divison + * @generated + */ + EClass getDivison(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Mod Mod}'. + * + * + * @return the meta object for class 'Mod'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Mod + * @generated + */ + EClass getMod(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDescriptor Type Descriptor}'. + * + * + * @return the meta object for class 'Type Descriptor'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDescriptor + * @generated + */ + EClass getTypeDescriptor(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TermDescription Term Description}'. + * + * + * @return the meta object for class 'Term Description'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TermDescription + * @generated + */ + EClass getTermDescription(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Assertion Assertion}'. + * + * + * @return the meta object for class 'Assertion'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Assertion + * @generated + */ + EClass getAssertion(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Assertion#getValue Value}'. + * + * + * @return the meta object for the containment reference 'Value'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Assertion#getValue() + * @see #getAssertion() + * @generated + */ + EReference getAssertion_Value(); + + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Assertion#getName Name}'. + * + * + * @return the meta object for the attribute 'Name'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Assertion#getName() + * @see #getAssertion() + * @generated + */ + EAttribute getAssertion_Name(); + + /** + * Returns the meta object for the reference list '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Assertion#getAnnotations Annotations}'. + * + * + * @return the meta object for the reference list 'Annotations'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Assertion#getAnnotations() + * @see #getAssertion() + * @generated + */ + EReference getAssertion_Annotations(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Relation Relation}'. + * + * + * @return the meta object for class 'Relation'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Relation + * @generated + */ + EClass getRelation(); + + /** + * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Relation#getParameters Parameters}'. + * + * + * @return the meta object for the containment reference list 'Parameters'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Relation#getParameters() + * @see #getRelation() + * @generated + */ + EReference getRelation_Parameters(); + + /** + * Returns the meta object for the reference list '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Relation#getAnnotations Annotations}'. + * + * + * @return the meta object for the reference list 'Annotations'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Relation#getAnnotations() + * @see #getRelation() + * @generated + */ + EReference getRelation_Annotations(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Constant Constant}'. + * + * + * @return the meta object for class 'Constant'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Constant + * @generated + */ + EClass getConstant(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Constant#getType Type}'. + * + * + * @return the meta object for the containment reference 'Type'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Constant#getType() + * @see #getConstant() + * @generated + */ + EReference getConstant_Type(); + + /** + * Returns the meta object for the reference list '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Constant#getAnnotations Annotations}'. + * + * + * @return the meta object for the reference list 'Annotations'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Constant#getAnnotations() + * @see #getConstant() + * @generated + */ + EReference getConstant_Annotations(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ConstantDefinition Constant Definition}'. + * + * + * @return the meta object for class 'Constant Definition'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ConstantDefinition + * @generated + */ + EClass getConstantDefinition(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ConstantDefinition#getValue Value}'. + * + * + * @return the meta object for the containment reference 'Value'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ConstantDefinition#getValue() + * @see #getConstantDefinition() + * @generated + */ + EReference getConstantDefinition_Value(); + + /** + * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ConstantDefinition#getDefines Defines}'. + * + * + * @return the meta object for the reference 'Defines'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ConstantDefinition#getDefines() + * @see #getConstantDefinition() + * @generated + */ + EReference getConstantDefinition_Defines(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDefinition Relation Definition}'. + * + * + * @return the meta object for class 'Relation Definition'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDefinition + * @generated + */ + EClass getRelationDefinition(); + + /** + * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDefinition#getVariables Variables}'. + * + * + * @return the meta object for the containment reference list 'Variables'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDefinition#getVariables() + * @see #getRelationDefinition() + * @generated + */ + EReference getRelationDefinition_Variables(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDefinition#getValue Value}'. + * + * + * @return the meta object for the containment reference 'Value'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDefinition#getValue() + * @see #getRelationDefinition() + * @generated + */ + EReference getRelationDefinition_Value(); + + /** + * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDefinition#getDefines Defines}'. + * + * + * @return the meta object for the reference 'Defines'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDefinition#getDefines() + * @see #getRelationDefinition() + * @generated + */ + EReference getRelationDefinition_Defines(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.FunctionDefinition Function Definition}'. + * + * + * @return the meta object for class 'Function Definition'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.FunctionDefinition + * @generated + */ + EClass getFunctionDefinition(); + + /** + * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.FunctionDefinition#getVariable Variable}'. + * + * + * @return the meta object for the containment reference list 'Variable'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.FunctionDefinition#getVariable() + * @see #getFunctionDefinition() + * @generated + */ + EReference getFunctionDefinition_Variable(); + + /** + * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.FunctionDefinition#getDefines Defines}'. + * + * + * @return the meta object for the reference 'Defines'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.FunctionDefinition#getDefines() + * @see #getFunctionDefinition() + * @generated + */ + EReference getFunctionDefinition_Defines(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.FunctionDefinition#getValue Value}'. + * + * + * @return the meta object for the containment reference 'Value'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.FunctionDefinition#getValue() + * @see #getFunctionDefinition() + * @generated + */ + EReference getFunctionDefinition_Value(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IfThenElse If Then Else}'. + * + * + * @return the meta object for class 'If Then Else'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IfThenElse + * @generated + */ + EClass getIfThenElse(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IfThenElse#getCondition Condition}'. + * + * + * @return the meta object for the containment reference 'Condition'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IfThenElse#getCondition() + * @see #getIfThenElse() + * @generated + */ + EReference getIfThenElse_Condition(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IfThenElse#getIfTrue If True}'. + * + * + * @return the meta object for the containment reference 'If True'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IfThenElse#getIfTrue() + * @see #getIfThenElse() + * @generated + */ + EReference getIfThenElse_IfTrue(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IfThenElse#getIfFalse If False}'. + * + * + * @return the meta object for the containment reference 'If False'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IfThenElse#getIfFalse() + * @see #getIfThenElse() + * @generated + */ + EReference getIfThenElse_IfFalse(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ConstantDeclaration Constant Declaration}'. + * + * + * @return the meta object for class 'Constant Declaration'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ConstantDeclaration + * @generated + */ + EClass getConstantDeclaration(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDeclaration Relation Declaration}'. + * + * + * @return the meta object for class 'Relation Declaration'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDeclaration + * @generated + */ + EClass getRelationDeclaration(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.FunctionDeclaration Function Declaration}'. + * + * + * @return the meta object for class 'Function Declaration'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.FunctionDeclaration + * @generated + */ + EClass getFunctionDeclaration(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDeclaration Type Declaration}'. + * + * + * @return the meta object for class 'Type Declaration'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDeclaration + * @generated + */ + EClass getTypeDeclaration(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.UnknownBecauseUninterpreted Unknown Because Uninterpreted}'. + * + * + * @return the meta object for class 'Unknown Because Uninterpreted'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.UnknownBecauseUninterpreted + * @generated + */ + EClass getUnknownBecauseUninterpreted(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.InstanceOf Instance Of}'. + * + * + * @return the meta object for class 'Instance Of'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.InstanceOf + * @generated + */ + EClass getInstanceOf(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.InstanceOf#getValue Value}'. + * + * + * @return the meta object for the containment reference 'Value'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.InstanceOf#getValue() + * @see #getInstanceOf() + * @generated + */ + EReference getInstanceOf_Value(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.InstanceOf#getRange Range}'. + * + * + * @return the meta object for the containment reference 'Range'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.InstanceOf#getRange() + * @see #getInstanceOf() + * @generated + */ + EReference getInstanceOf_Range(); + + /** + * Returns the factory that creates the instances of the model. + * + * + * @return the factory that creates the instances of the model. + * @generated + */ + LogiclanguageFactory getLogiclanguageFactory(); + + /** + * + * Defines literals for the meta objects that represent + *
    + *
  • each class,
  • + *
  • each feature of each class,
  • + *
  • each operation of each class,
  • + *
  • each enum,
  • + *
  • and each data type
  • + *
+ * + * @generated + */ + interface Literals { + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.TypeImpl Type}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.TypeImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getType() + * @generated + */ + EClass TYPE = eINSTANCE.getType(); + + /** + * The meta object literal for the 'Name' attribute feature. + * + * + * @generated + */ + EAttribute TYPE__NAME = eINSTANCE.getType_Name(); + + /** + * The meta object literal for the 'Subtypes' reference list feature. + * + * + * @generated + */ + EReference TYPE__SUBTYPES = eINSTANCE.getType_Subtypes(); + + /** + * The meta object literal for the 'Supertypes' reference list feature. + * + * + * @generated + */ + EReference TYPE__SUPERTYPES = eINSTANCE.getType_Supertypes(); + + /** + * The meta object literal for the 'Is Abstract' attribute feature. + * + * + * @generated + */ + EAttribute TYPE__IS_ABSTRACT = eINSTANCE.getType_IsAbstract(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.DefinedElementImpl Defined Element}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.DefinedElementImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getDefinedElement() + * @generated + */ + EClass DEFINED_ELEMENT = eINSTANCE.getDefinedElement(); + + /** + * The meta object literal for the 'Defined In Type' reference list feature. + * + * + * @generated + */ + EReference DEFINED_ELEMENT__DEFINED_IN_TYPE = eINSTANCE.getDefinedElement_DefinedInType(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.TypeDefinitionImpl Type Definition}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.TypeDefinitionImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getTypeDefinition() + * @generated + */ + EClass TYPE_DEFINITION = eINSTANCE.getTypeDefinition(); + + /** + * The meta object literal for the 'Elements' reference list feature. + * + * + * @generated + */ + EReference TYPE_DEFINITION__ELEMENTS = eINSTANCE.getTypeDefinition_Elements(); + + /** + * The meta object literal for the 'Defines' reference feature. + * + * + * @generated + */ + EReference TYPE_DEFINITION__DEFINES = eINSTANCE.getTypeDefinition_Defines(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.TypeReferenceImpl Type Reference}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.TypeReferenceImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getTypeReference() + * @generated + */ + EClass TYPE_REFERENCE = eINSTANCE.getTypeReference(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ComplexTypeReferenceImpl Complex Type Reference}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ComplexTypeReferenceImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getComplexTypeReference() + * @generated + */ + EClass COMPLEX_TYPE_REFERENCE = eINSTANCE.getComplexTypeReference(); + + /** + * The meta object literal for the 'Referred' reference feature. + * + * + * @generated + */ + EReference COMPLEX_TYPE_REFERENCE__REFERRED = eINSTANCE.getComplexTypeReference_Referred(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.PrimitiveTypeReferenceImpl Primitive Type Reference}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.PrimitiveTypeReferenceImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getPrimitiveTypeReference() + * @generated + */ + EClass PRIMITIVE_TYPE_REFERENCE = eINSTANCE.getPrimitiveTypeReference(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.IntTypeReferenceImpl Int Type Reference}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.IntTypeReferenceImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getIntTypeReference() + * @generated + */ + EClass INT_TYPE_REFERENCE = eINSTANCE.getIntTypeReference(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.BoolTypeReferenceImpl Bool Type Reference}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.BoolTypeReferenceImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getBoolTypeReference() + * @generated + */ + EClass BOOL_TYPE_REFERENCE = eINSTANCE.getBoolTypeReference(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.RealTypeReferenceImpl Real Type Reference}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.RealTypeReferenceImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getRealTypeReference() + * @generated + */ + EClass REAL_TYPE_REFERENCE = eINSTANCE.getRealTypeReference(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.FunctionImpl Function}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.FunctionImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getFunction() + * @generated + */ + EClass FUNCTION = eINSTANCE.getFunction(); + + /** + * The meta object literal for the 'Range' containment reference feature. + * + * + * @generated + */ + EReference FUNCTION__RANGE = eINSTANCE.getFunction_Range(); + + /** + * The meta object literal for the 'Parameters' containment reference list feature. + * + * + * @generated + */ + EReference FUNCTION__PARAMETERS = eINSTANCE.getFunction_Parameters(); + + /** + * The meta object literal for the 'Annotations' reference list feature. + * + * + * @generated + */ + EReference FUNCTION__ANNOTATIONS = eINSTANCE.getFunction_Annotations(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.TermImpl Term}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.TermImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getTerm() + * @generated + */ + EClass TERM = eINSTANCE.getTerm(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.SymbolicDeclarationImpl Symbolic Declaration}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.SymbolicDeclarationImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getSymbolicDeclaration() + * @generated + */ + EClass SYMBOLIC_DECLARATION = eINSTANCE.getSymbolicDeclaration(); + + /** + * The meta object literal for the 'Name' attribute feature. + * + * + * @generated + */ + EAttribute SYMBOLIC_DECLARATION__NAME = eINSTANCE.getSymbolicDeclaration_Name(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.SymbolicValueImpl Symbolic Value}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.SymbolicValueImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getSymbolicValue() + * @generated + */ + EClass SYMBOLIC_VALUE = eINSTANCE.getSymbolicValue(); + + /** + * The meta object literal for the 'Symbolic Reference' reference feature. + * + * + * @generated + */ + EReference SYMBOLIC_VALUE__SYMBOLIC_REFERENCE = eINSTANCE.getSymbolicValue_SymbolicReference(); + + /** + * The meta object literal for the 'Parameter Substitutions' containment reference list feature. + * + * + * @generated + */ + EReference SYMBOLIC_VALUE__PARAMETER_SUBSTITUTIONS = eINSTANCE.getSymbolicValue_ParameterSubstitutions(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.AtomicTermImpl Atomic Term}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.AtomicTermImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getAtomicTerm() + * @generated + */ + EClass ATOMIC_TERM = eINSTANCE.getAtomicTerm(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.IntLiteralImpl Int Literal}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.IntLiteralImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getIntLiteral() + * @generated + */ + EClass INT_LITERAL = eINSTANCE.getIntLiteral(); + + /** + * The meta object literal for the 'Value' attribute feature. + * + * + * @generated + */ + EAttribute INT_LITERAL__VALUE = eINSTANCE.getIntLiteral_Value(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.BoolLiteralImpl Bool Literal}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.BoolLiteralImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getBoolLiteral() + * @generated + */ + EClass BOOL_LITERAL = eINSTANCE.getBoolLiteral(); + + /** + * The meta object literal for the 'Value' attribute feature. + * + * + * @generated + */ + EAttribute BOOL_LITERAL__VALUE = eINSTANCE.getBoolLiteral_Value(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.RealLiteralImpl Real Literal}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.RealLiteralImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getRealLiteral() + * @generated + */ + EClass REAL_LITERAL = eINSTANCE.getRealLiteral(); + + /** + * The meta object literal for the 'Value' attribute feature. + * + * + * @generated + */ + EAttribute REAL_LITERAL__VALUE = eINSTANCE.getRealLiteral_Value(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.VariableImpl Variable}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.VariableImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getVariable() + * @generated + */ + EClass VARIABLE = eINSTANCE.getVariable(); + + /** + * The meta object literal for the 'Range' containment reference feature. + * + * + * @generated + */ + EReference VARIABLE__RANGE = eINSTANCE.getVariable_Range(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.QuantifiedExpressionImpl Quantified Expression}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.QuantifiedExpressionImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getQuantifiedExpression() + * @generated + */ + EClass QUANTIFIED_EXPRESSION = eINSTANCE.getQuantifiedExpression(); + + /** + * The meta object literal for the 'Quantified Variables' containment reference list feature. + * + * + * @generated + */ + EReference QUANTIFIED_EXPRESSION__QUANTIFIED_VARIABLES = eINSTANCE.getQuantifiedExpression_QuantifiedVariables(); + + /** + * The meta object literal for the 'Expression' containment reference feature. + * + * + * @generated + */ + EReference QUANTIFIED_EXPRESSION__EXPRESSION = eINSTANCE.getQuantifiedExpression_Expression(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ExistsImpl Exists}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ExistsImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getExists() + * @generated + */ + EClass EXISTS = eINSTANCE.getExists(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ForallImpl Forall}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ForallImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getForall() + * @generated + */ + EClass FORALL = eINSTANCE.getForall(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.BoolOperationImpl Bool Operation}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.BoolOperationImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getBoolOperation() + * @generated + */ + EClass BOOL_OPERATION = eINSTANCE.getBoolOperation(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.AndImpl And}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.AndImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getAnd() + * @generated + */ + EClass AND = eINSTANCE.getAnd(); + + /** + * The meta object literal for the 'Operands' containment reference list feature. + * + * + * @generated + */ + EReference AND__OPERANDS = eINSTANCE.getAnd_Operands(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.OrImpl Or}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.OrImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getOr() + * @generated + */ + EClass OR = eINSTANCE.getOr(); + + /** + * The meta object literal for the 'Operands' containment reference list feature. + * + * + * @generated + */ + EReference OR__OPERANDS = eINSTANCE.getOr_Operands(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ImplImpl Impl}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ImplImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getImpl() + * @generated + */ + EClass IMPL = eINSTANCE.getImpl(); + + /** + * The meta object literal for the 'Left Operand' containment reference feature. + * + * + * @generated + */ + EReference IMPL__LEFT_OPERAND = eINSTANCE.getImpl_LeftOperand(); + + /** + * The meta object literal for the 'Right Operand' containment reference feature. + * + * + * @generated + */ + EReference IMPL__RIGHT_OPERAND = eINSTANCE.getImpl_RightOperand(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.NotImpl Not}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.NotImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getNot() + * @generated + */ + EClass NOT = eINSTANCE.getNot(); + + /** + * The meta object literal for the 'Operand' containment reference feature. + * + * + * @generated + */ + EReference NOT__OPERAND = eINSTANCE.getNot_Operand(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.IffImpl Iff}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.IffImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getIff() + * @generated + */ + EClass IFF = eINSTANCE.getIff(); + + /** + * The meta object literal for the 'Left Operand' containment reference feature. + * + * + * @generated + */ + EReference IFF__LEFT_OPERAND = eINSTANCE.getIff_LeftOperand(); + + /** + * The meta object literal for the 'Right Operand' containment reference feature. + * + * + * @generated + */ + EReference IFF__RIGHT_OPERAND = eINSTANCE.getIff_RightOperand(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.PrimitiveRelationImpl Primitive Relation}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.PrimitiveRelationImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getPrimitiveRelation() + * @generated + */ + EClass PRIMITIVE_RELATION = eINSTANCE.getPrimitiveRelation(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.EqualsImpl Equals}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.EqualsImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getEquals() + * @generated + */ + EClass EQUALS = eINSTANCE.getEquals(); + + /** + * The meta object literal for the 'Left Operand' containment reference feature. + * + * + * @generated + */ + EReference EQUALS__LEFT_OPERAND = eINSTANCE.getEquals_LeftOperand(); + + /** + * The meta object literal for the 'Right Operand' containment reference feature. + * + * + * @generated + */ + EReference EQUALS__RIGHT_OPERAND = eINSTANCE.getEquals_RightOperand(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.DistinctImpl Distinct}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.DistinctImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getDistinct() + * @generated + */ + EClass DISTINCT = eINSTANCE.getDistinct(); + + /** + * The meta object literal for the 'Operands' containment reference list feature. + * + * + * @generated + */ + EReference DISTINCT__OPERANDS = eINSTANCE.getDistinct_Operands(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LessThanImpl Less Than}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LessThanImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getLessThan() + * @generated + */ + EClass LESS_THAN = eINSTANCE.getLessThan(); + + /** + * The meta object literal for the 'Left Operand' containment reference feature. + * + * + * @generated + */ + EReference LESS_THAN__LEFT_OPERAND = eINSTANCE.getLessThan_LeftOperand(); + + /** + * The meta object literal for the 'Right Operand' containment reference feature. + * + * + * @generated + */ + EReference LESS_THAN__RIGHT_OPERAND = eINSTANCE.getLessThan_RightOperand(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.MoreThanImpl More Than}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.MoreThanImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getMoreThan() + * @generated + */ + EClass MORE_THAN = eINSTANCE.getMoreThan(); + + /** + * The meta object literal for the 'Left Operand' containment reference feature. + * + * + * @generated + */ + EReference MORE_THAN__LEFT_OPERAND = eINSTANCE.getMoreThan_LeftOperand(); + + /** + * The meta object literal for the 'Right Operand' containment reference feature. + * + * + * @generated + */ + EReference MORE_THAN__RIGHT_OPERAND = eINSTANCE.getMoreThan_RightOperand(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LessOrEqualThanImpl Less Or Equal Than}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LessOrEqualThanImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getLessOrEqualThan() + * @generated + */ + EClass LESS_OR_EQUAL_THAN = eINSTANCE.getLessOrEqualThan(); + + /** + * The meta object literal for the 'Left Operand' containment reference feature. + * + * + * @generated + */ + EReference LESS_OR_EQUAL_THAN__LEFT_OPERAND = eINSTANCE.getLessOrEqualThan_LeftOperand(); + + /** + * The meta object literal for the 'Right Operand' containment reference feature. + * + * + * @generated + */ + EReference LESS_OR_EQUAL_THAN__RIGHT_OPERAND = eINSTANCE.getLessOrEqualThan_RightOperand(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.MoreOrEqualThanImpl More Or Equal Than}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.MoreOrEqualThanImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getMoreOrEqualThan() + * @generated + */ + EClass MORE_OR_EQUAL_THAN = eINSTANCE.getMoreOrEqualThan(); + + /** + * The meta object literal for the 'Left Operand' containment reference feature. + * + * + * @generated + */ + EReference MORE_OR_EQUAL_THAN__LEFT_OPERAND = eINSTANCE.getMoreOrEqualThan_LeftOperand(); + + /** + * The meta object literal for the 'Right Operand' containment reference feature. + * + * + * @generated + */ + EReference MORE_OR_EQUAL_THAN__RIGHT_OPERAND = eINSTANCE.getMoreOrEqualThan_RightOperand(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.IntOperationImpl Int Operation}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.IntOperationImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getIntOperation() + * @generated + */ + EClass INT_OPERATION = eINSTANCE.getIntOperation(); + + /** + * The meta object literal for the 'Left Operand' containment reference feature. + * + * + * @generated + */ + EReference INT_OPERATION__LEFT_OPERAND = eINSTANCE.getIntOperation_LeftOperand(); + + /** + * The meta object literal for the 'Right Operand' containment reference feature. + * + * + * @generated + */ + EReference INT_OPERATION__RIGHT_OPERAND = eINSTANCE.getIntOperation_RightOperand(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.PlusImpl Plus}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.PlusImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getPlus() + * @generated + */ + EClass PLUS = eINSTANCE.getPlus(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.MinusImpl Minus}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.MinusImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getMinus() + * @generated + */ + EClass MINUS = eINSTANCE.getMinus(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.MultiplyImpl Multiply}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.MultiplyImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getMultiply() + * @generated + */ + EClass MULTIPLY = eINSTANCE.getMultiply(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.DivisonImpl Divison}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.DivisonImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getDivison() + * @generated + */ + EClass DIVISON = eINSTANCE.getDivison(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ModImpl Mod}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ModImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getMod() + * @generated + */ + EClass MOD = eINSTANCE.getMod(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDescriptor Type Descriptor}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDescriptor + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getTypeDescriptor() + * @generated + */ + EClass TYPE_DESCRIPTOR = eINSTANCE.getTypeDescriptor(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TermDescription Term Description}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TermDescription + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getTermDescription() + * @generated + */ + EClass TERM_DESCRIPTION = eINSTANCE.getTermDescription(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.AssertionImpl Assertion}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.AssertionImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getAssertion() + * @generated + */ + EClass ASSERTION = eINSTANCE.getAssertion(); + + /** + * The meta object literal for the 'Value' containment reference feature. + * + * + * @generated + */ + EReference ASSERTION__VALUE = eINSTANCE.getAssertion_Value(); + + /** + * The meta object literal for the 'Name' attribute feature. + * + * + * @generated + */ + EAttribute ASSERTION__NAME = eINSTANCE.getAssertion_Name(); + + /** + * The meta object literal for the 'Annotations' reference list feature. + * + * + * @generated + */ + EReference ASSERTION__ANNOTATIONS = eINSTANCE.getAssertion_Annotations(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.RelationImpl Relation}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.RelationImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getRelation() + * @generated + */ + EClass RELATION = eINSTANCE.getRelation(); + + /** + * The meta object literal for the 'Parameters' containment reference list feature. + * + * + * @generated + */ + EReference RELATION__PARAMETERS = eINSTANCE.getRelation_Parameters(); + + /** + * The meta object literal for the 'Annotations' reference list feature. + * + * + * @generated + */ + EReference RELATION__ANNOTATIONS = eINSTANCE.getRelation_Annotations(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ConstantImpl Constant}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ConstantImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getConstant() + * @generated + */ + EClass CONSTANT = eINSTANCE.getConstant(); + + /** + * The meta object literal for the 'Type' containment reference feature. + * + * + * @generated + */ + EReference CONSTANT__TYPE = eINSTANCE.getConstant_Type(); + + /** + * The meta object literal for the 'Annotations' reference list feature. + * + * + * @generated + */ + EReference CONSTANT__ANNOTATIONS = eINSTANCE.getConstant_Annotations(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ConstantDefinitionImpl Constant Definition}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ConstantDefinitionImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getConstantDefinition() + * @generated + */ + EClass CONSTANT_DEFINITION = eINSTANCE.getConstantDefinition(); + + /** + * The meta object literal for the 'Value' containment reference feature. + * + * + * @generated + */ + EReference CONSTANT_DEFINITION__VALUE = eINSTANCE.getConstantDefinition_Value(); + + /** + * The meta object literal for the 'Defines' reference feature. + * + * + * @generated + */ + EReference CONSTANT_DEFINITION__DEFINES = eINSTANCE.getConstantDefinition_Defines(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.RelationDefinitionImpl Relation Definition}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.RelationDefinitionImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getRelationDefinition() + * @generated + */ + EClass RELATION_DEFINITION = eINSTANCE.getRelationDefinition(); + + /** + * The meta object literal for the 'Variables' containment reference list feature. + * + * + * @generated + */ + EReference RELATION_DEFINITION__VARIABLES = eINSTANCE.getRelationDefinition_Variables(); + + /** + * The meta object literal for the 'Value' containment reference feature. + * + * + * @generated + */ + EReference RELATION_DEFINITION__VALUE = eINSTANCE.getRelationDefinition_Value(); + + /** + * The meta object literal for the 'Defines' reference feature. + * + * + * @generated + */ + EReference RELATION_DEFINITION__DEFINES = eINSTANCE.getRelationDefinition_Defines(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.FunctionDefinitionImpl Function Definition}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.FunctionDefinitionImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getFunctionDefinition() + * @generated + */ + EClass FUNCTION_DEFINITION = eINSTANCE.getFunctionDefinition(); + + /** + * The meta object literal for the 'Variable' containment reference list feature. + * + * + * @generated + */ + EReference FUNCTION_DEFINITION__VARIABLE = eINSTANCE.getFunctionDefinition_Variable(); + + /** + * The meta object literal for the 'Defines' reference feature. + * + * + * @generated + */ + EReference FUNCTION_DEFINITION__DEFINES = eINSTANCE.getFunctionDefinition_Defines(); + + /** + * The meta object literal for the 'Value' containment reference feature. + * + * + * @generated + */ + EReference FUNCTION_DEFINITION__VALUE = eINSTANCE.getFunctionDefinition_Value(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.IfThenElseImpl If Then Else}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.IfThenElseImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getIfThenElse() + * @generated + */ + EClass IF_THEN_ELSE = eINSTANCE.getIfThenElse(); + + /** + * The meta object literal for the 'Condition' containment reference feature. + * + * + * @generated + */ + EReference IF_THEN_ELSE__CONDITION = eINSTANCE.getIfThenElse_Condition(); + + /** + * The meta object literal for the 'If True' containment reference feature. + * + * + * @generated + */ + EReference IF_THEN_ELSE__IF_TRUE = eINSTANCE.getIfThenElse_IfTrue(); + + /** + * The meta object literal for the 'If False' containment reference feature. + * + * + * @generated + */ + EReference IF_THEN_ELSE__IF_FALSE = eINSTANCE.getIfThenElse_IfFalse(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ConstantDeclarationImpl Constant Declaration}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ConstantDeclarationImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getConstantDeclaration() + * @generated + */ + EClass CONSTANT_DECLARATION = eINSTANCE.getConstantDeclaration(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.RelationDeclarationImpl Relation Declaration}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.RelationDeclarationImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getRelationDeclaration() + * @generated + */ + EClass RELATION_DECLARATION = eINSTANCE.getRelationDeclaration(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.FunctionDeclarationImpl Function Declaration}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.FunctionDeclarationImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getFunctionDeclaration() + * @generated + */ + EClass FUNCTION_DECLARATION = eINSTANCE.getFunctionDeclaration(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.TypeDeclarationImpl Type Declaration}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.TypeDeclarationImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getTypeDeclaration() + * @generated + */ + EClass TYPE_DECLARATION = eINSTANCE.getTypeDeclaration(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.UnknownBecauseUninterpretedImpl Unknown Because Uninterpreted}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.UnknownBecauseUninterpretedImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getUnknownBecauseUninterpreted() + * @generated + */ + EClass UNKNOWN_BECAUSE_UNINTERPRETED = eINSTANCE.getUnknownBecauseUninterpreted(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.InstanceOfImpl Instance Of}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.InstanceOfImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl#getInstanceOf() + * @generated + */ + EClass INSTANCE_OF = eINSTANCE.getInstanceOf(); + + /** + * The meta object literal for the 'Value' containment reference feature. + * + * + * @generated + */ + EReference INSTANCE_OF__VALUE = eINSTANCE.getInstanceOf_Value(); + + /** + * The meta object literal for the 'Range' containment reference feature. + * + * + * @generated + */ + EReference INSTANCE_OF__RANGE = eINSTANCE.getInstanceOf_Range(); + + } + +} //LogiclanguagePackage diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Minus.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Minus.java new file mode 100644 index 00000000..569818d5 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Minus.java @@ -0,0 +1,17 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; + + +/** + * + * A representation of the model object 'Minus'. + * + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getMinus() + * @model + * @generated + */ +public interface Minus extends IntOperation { +} // Minus diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Mod.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Mod.java new file mode 100644 index 00000000..ccd27ec4 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Mod.java @@ -0,0 +1,17 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; + + +/** + * + * A representation of the model object 'Mod'. + * + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getMod() + * @model + * @generated + */ +public interface Mod extends IntOperation { +} // Mod diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/MoreOrEqualThan.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/MoreOrEqualThan.java new file mode 100644 index 00000000..7217c472 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/MoreOrEqualThan.java @@ -0,0 +1,76 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; + + +/** + * + * A representation of the model object 'More Or Equal Than'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.MoreOrEqualThan#getLeftOperand Left Operand}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.MoreOrEqualThan#getRightOperand Right Operand}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getMoreOrEqualThan() + * @model + * @generated + */ +public interface MoreOrEqualThan extends PrimitiveRelation { + /** + * Returns the value of the 'Left Operand' containment reference. + * + *

+ * If the meaning of the 'Left Operand' containment reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Left Operand' containment reference. + * @see #setLeftOperand(Term) + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getMoreOrEqualThan_LeftOperand() + * @model containment="true" + * @generated + */ + Term getLeftOperand(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.MoreOrEqualThan#getLeftOperand Left Operand}' containment reference. + * + * + * @param value the new value of the 'Left Operand' containment reference. + * @see #getLeftOperand() + * @generated + */ + void setLeftOperand(Term value); + + /** + * Returns the value of the 'Right Operand' containment reference. + * + *

+ * If the meaning of the 'Right Operand' containment reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Right Operand' containment reference. + * @see #setRightOperand(Term) + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getMoreOrEqualThan_RightOperand() + * @model containment="true" + * @generated + */ + Term getRightOperand(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.MoreOrEqualThan#getRightOperand Right Operand}' containment reference. + * + * + * @param value the new value of the 'Right Operand' containment reference. + * @see #getRightOperand() + * @generated + */ + void setRightOperand(Term value); + +} // MoreOrEqualThan diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/MoreThan.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/MoreThan.java new file mode 100644 index 00000000..d5535067 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/MoreThan.java @@ -0,0 +1,76 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; + + +/** + * + * A representation of the model object 'More Than'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.MoreThan#getLeftOperand Left Operand}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.MoreThan#getRightOperand Right Operand}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getMoreThan() + * @model + * @generated + */ +public interface MoreThan extends PrimitiveRelation { + /** + * Returns the value of the 'Left Operand' containment reference. + * + *

+ * If the meaning of the 'Left Operand' containment reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Left Operand' containment reference. + * @see #setLeftOperand(Term) + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getMoreThan_LeftOperand() + * @model containment="true" + * @generated + */ + Term getLeftOperand(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.MoreThan#getLeftOperand Left Operand}' containment reference. + * + * + * @param value the new value of the 'Left Operand' containment reference. + * @see #getLeftOperand() + * @generated + */ + void setLeftOperand(Term value); + + /** + * Returns the value of the 'Right Operand' containment reference. + * + *

+ * If the meaning of the 'Right Operand' containment reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Right Operand' containment reference. + * @see #setRightOperand(Term) + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getMoreThan_RightOperand() + * @model containment="true" + * @generated + */ + Term getRightOperand(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.MoreThan#getRightOperand Right Operand}' containment reference. + * + * + * @param value the new value of the 'Right Operand' containment reference. + * @see #getRightOperand() + * @generated + */ + void setRightOperand(Term value); + +} // MoreThan diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Multiply.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Multiply.java new file mode 100644 index 00000000..250c7d67 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Multiply.java @@ -0,0 +1,17 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; + + +/** + * + * A representation of the model object 'Multiply'. + * + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getMultiply() + * @model + * @generated + */ +public interface Multiply extends IntOperation { +} // Multiply diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Not.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Not.java new file mode 100644 index 00000000..71ae52e1 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Not.java @@ -0,0 +1,49 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; + + +/** + * + * A representation of the model object 'Not'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Not#getOperand Operand}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getNot() + * @model + * @generated + */ +public interface Not extends BoolOperation { + /** + * Returns the value of the 'Operand' containment reference. + * + *

+ * If the meaning of the 'Operand' containment reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Operand' containment reference. + * @see #setOperand(Term) + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getNot_Operand() + * @model containment="true" + * @generated + */ + Term getOperand(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Not#getOperand Operand}' containment reference. + * + * + * @param value the new value of the 'Operand' containment reference. + * @see #getOperand() + * @generated + */ + void setOperand(Term value); + +} // Not diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Or.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Or.java new file mode 100644 index 00000000..4766b99c --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Or.java @@ -0,0 +1,40 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; + +import org.eclipse.emf.common.util.EList; + +/** + * + * A representation of the model object 'Or'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Or#getOperands Operands}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getOr() + * @model + * @generated + */ +public interface Or extends BoolOperation { + /** + * Returns the value of the 'Operands' containment reference list. + * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term}. + * + *

+ * If the meaning of the 'Operands' containment reference list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Operands' containment reference list. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getOr_Operands() + * @model containment="true" + * @generated + */ + EList getOperands(); + +} // Or diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Plus.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Plus.java new file mode 100644 index 00000000..4e0549b0 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Plus.java @@ -0,0 +1,17 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; + + +/** + * + * A representation of the model object 'Plus'. + * + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getPlus() + * @model + * @generated + */ +public interface Plus extends IntOperation { +} // Plus diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/PrimitiveRelation.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/PrimitiveRelation.java new file mode 100644 index 00000000..0cd10d71 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/PrimitiveRelation.java @@ -0,0 +1,17 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; + + +/** + * + * A representation of the model object 'Primitive Relation'. + * + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getPrimitiveRelation() + * @model abstract="true" + * @generated + */ +public interface PrimitiveRelation extends Term { +} // PrimitiveRelation diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/PrimitiveTypeReference.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/PrimitiveTypeReference.java new file mode 100644 index 00000000..1f29d975 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/PrimitiveTypeReference.java @@ -0,0 +1,17 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; + + +/** + * + * A representation of the model object 'Primitive Type Reference'. + * + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getPrimitiveTypeReference() + * @model abstract="true" + * @generated + */ +public interface PrimitiveTypeReference extends TypeReference { +} // PrimitiveTypeReference diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/QuantifiedExpression.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/QuantifiedExpression.java new file mode 100644 index 00000000..f5fdefb8 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/QuantifiedExpression.java @@ -0,0 +1,67 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; + +import org.eclipse.emf.common.util.EList; + +/** + * + * A representation of the model object 'Quantified Expression'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.QuantifiedExpression#getQuantifiedVariables Quantified Variables}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.QuantifiedExpression#getExpression Expression}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getQuantifiedExpression() + * @model abstract="true" + * @generated + */ +public interface QuantifiedExpression extends Term { + /** + * Returns the value of the 'Quantified Variables' containment reference list. + * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Variable}. + * + *

+ * If the meaning of the 'Quantified Variables' containment reference list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Quantified Variables' containment reference list. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getQuantifiedExpression_QuantifiedVariables() + * @model containment="true" + * @generated + */ + EList getQuantifiedVariables(); + + /** + * Returns the value of the 'Expression' containment reference. + * + *

+ * If the meaning of the 'Expression' containment reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Expression' containment reference. + * @see #setExpression(Term) + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getQuantifiedExpression_Expression() + * @model containment="true" + * @generated + */ + Term getExpression(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.QuantifiedExpression#getExpression Expression}' containment reference. + * + * + * @param value the new value of the 'Expression' containment reference. + * @see #getExpression() + * @generated + */ + void setExpression(Term value); + +} // QuantifiedExpression diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/RealLiteral.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/RealLiteral.java new file mode 100644 index 00000000..88dcb04b --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/RealLiteral.java @@ -0,0 +1,50 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; + +import java.math.BigDecimal; + +/** + * + * A representation of the model object 'Real Literal'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RealLiteral#getValue Value}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getRealLiteral() + * @model + * @generated + */ +public interface RealLiteral extends AtomicTerm { + /** + * Returns the value of the 'Value' attribute. + * + *

+ * If the meaning of the 'Value' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Value' attribute. + * @see #setValue(BigDecimal) + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getRealLiteral_Value() + * @model + * @generated + */ + BigDecimal getValue(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RealLiteral#getValue Value}' attribute. + * + * + * @param value the new value of the 'Value' attribute. + * @see #getValue() + * @generated + */ + void setValue(BigDecimal value); + +} // RealLiteral diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/RealTypeReference.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/RealTypeReference.java new file mode 100644 index 00000000..d7341f49 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/RealTypeReference.java @@ -0,0 +1,17 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; + + +/** + * + * A representation of the model object 'Real Type Reference'. + * + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getRealTypeReference() + * @model + * @generated + */ +public interface RealTypeReference extends PrimitiveTypeReference { +} // RealTypeReference diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Relation.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Relation.java new file mode 100644 index 00000000..ee74742a --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Relation.java @@ -0,0 +1,60 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; + +import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.RelationAnnotation; +import org.eclipse.emf.common.util.EList; + +/** + * + * A representation of the model object 'Relation'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Relation#getParameters Parameters}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Relation#getAnnotations Annotations}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getRelation() + * @model abstract="true" + * @generated + */ +public interface Relation extends SymbolicDeclaration { + /** + * Returns the value of the 'Parameters' containment reference list. + * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeReference}. + * + *

+ * If the meaning of the 'Parameters' containment reference list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Parameters' containment reference list. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getRelation_Parameters() + * @model containment="true" + * @generated + */ + EList getParameters(); + + /** + * Returns the value of the 'Annotations' reference list. + * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.RelationAnnotation}. + * It is bidirectional and its opposite is '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.RelationAnnotation#getTarget Target}'. + * + *

+ * If the meaning of the 'Annotations' reference list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Annotations' reference list. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getRelation_Annotations() + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.RelationAnnotation#getTarget + * @model opposite="target" + * @generated + */ + EList getAnnotations(); + +} // Relation diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/RelationDeclaration.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/RelationDeclaration.java new file mode 100644 index 00000000..b3433536 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/RelationDeclaration.java @@ -0,0 +1,17 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; + + +/** + * + * A representation of the model object 'Relation Declaration'. + * + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getRelationDeclaration() + * @model + * @generated + */ +public interface RelationDeclaration extends Relation { +} // RelationDeclaration diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/RelationDefinition.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/RelationDefinition.java new file mode 100644 index 00000000..e1ef3a08 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/RelationDefinition.java @@ -0,0 +1,94 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; + +import org.eclipse.emf.common.util.EList; + +/** + * + * A representation of the model object 'Relation Definition'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDefinition#getVariables Variables}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDefinition#getValue Value}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDefinition#getDefines Defines}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getRelationDefinition() + * @model + * @generated + */ +public interface RelationDefinition extends Relation { + /** + * Returns the value of the 'Variables' containment reference list. + * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Variable}. + * + *

+ * If the meaning of the 'Variables' containment reference list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Variables' containment reference list. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getRelationDefinition_Variables() + * @model containment="true" + * @generated + */ + EList getVariables(); + + /** + * Returns the value of the 'Value' containment reference. + * + *

+ * If the meaning of the 'Value' containment reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Value' containment reference. + * @see #setValue(Term) + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getRelationDefinition_Value() + * @model containment="true" required="true" + * @generated + */ + Term getValue(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDefinition#getValue Value}' containment reference. + * + * + * @param value the new value of the 'Value' containment reference. + * @see #getValue() + * @generated + */ + void setValue(Term value); + + /** + * Returns the value of the 'Defines' reference. + * + *

+ * If the meaning of the 'Defines' reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Defines' reference. + * @see #setDefines(RelationDeclaration) + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getRelationDefinition_Defines() + * @model + * @generated + */ + RelationDeclaration getDefines(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDefinition#getDefines Defines}' reference. + * + * + * @param value the new value of the 'Defines' reference. + * @see #getDefines() + * @generated + */ + void setDefines(RelationDeclaration value); + +} // RelationDefinition diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/SymbolicDeclaration.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/SymbolicDeclaration.java new file mode 100644 index 00000000..cfb5e382 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/SymbolicDeclaration.java @@ -0,0 +1,48 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; + +/** + * + * A representation of the model object 'Symbolic Declaration'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.SymbolicDeclaration#getName Name}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getSymbolicDeclaration() + * @model abstract="true" + * @generated + */ +public interface SymbolicDeclaration extends TermDescription { + /** + * Returns the value of the 'Name' attribute. + * + *

+ * If the meaning of the 'Name' attribute list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Name' attribute. + * @see #setName(String) + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getSymbolicDeclaration_Name() + * @model required="true" + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.SymbolicDeclaration#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + +} // SymbolicDeclaration diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/SymbolicValue.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/SymbolicValue.java new file mode 100644 index 00000000..75d0cb07 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/SymbolicValue.java @@ -0,0 +1,67 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; + +import org.eclipse.emf.common.util.EList; + +/** + * + * A representation of the model object 'Symbolic Value'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.SymbolicValue#getSymbolicReference Symbolic Reference}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.SymbolicValue#getParameterSubstitutions Parameter Substitutions}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getSymbolicValue() + * @model + * @generated + */ +public interface SymbolicValue extends Term { + /** + * Returns the value of the 'Symbolic Reference' reference. + * + *

+ * If the meaning of the 'Symbolic Reference' reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Symbolic Reference' reference. + * @see #setSymbolicReference(SymbolicDeclaration) + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getSymbolicValue_SymbolicReference() + * @model + * @generated + */ + SymbolicDeclaration getSymbolicReference(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.SymbolicValue#getSymbolicReference Symbolic Reference}' reference. + * + * + * @param value the new value of the 'Symbolic Reference' reference. + * @see #getSymbolicReference() + * @generated + */ + void setSymbolicReference(SymbolicDeclaration value); + + /** + * Returns the value of the 'Parameter Substitutions' containment reference list. + * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term}. + * + *

+ * If the meaning of the 'Parameter Substitutions' containment reference list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Parameter Substitutions' containment reference list. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getSymbolicValue_ParameterSubstitutions() + * @model containment="true" + * @generated + */ + EList getParameterSubstitutions(); + +} // SymbolicValue diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Term.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Term.java new file mode 100644 index 00000000..1116484d --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Term.java @@ -0,0 +1,17 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; + + +/** + * + * A representation of the model object 'Term'. + * + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getTerm() + * @model abstract="true" + * @generated + */ +public interface Term extends TermDescription { +} // Term diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/TermDescription.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/TermDescription.java new file mode 100644 index 00000000..0815fbce --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/TermDescription.java @@ -0,0 +1,18 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Term Description'. + * + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getTermDescription() + * @model interface="true" abstract="true" + * @generated + */ +public interface TermDescription extends EObject { +} // TermDescription diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Type.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Type.java new file mode 100644 index 00000000..a8acefd1 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Type.java @@ -0,0 +1,115 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; + +import org.eclipse.emf.common.util.EList; + +/** + * + * A representation of the model object 'Type'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type#getName Name}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type#getSubtypes Subtypes}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type#getSupertypes Supertypes}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type#isIsAbstract Is Abstract}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getType() + * @model abstract="true" + * @generated + */ +public interface Type extends TypeDescriptor { + /** + * Returns the value of the 'Name' attribute. + * + *

+ * If the meaning of the 'Name' attribute list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Name' attribute. + * @see #setName(String) + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getType_Name() + * @model required="true" + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + + /** + * Returns the value of the 'Subtypes' reference list. + * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type}. + * It is bidirectional and its opposite is '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type#getSupertypes Supertypes}'. + * + *

+ * If the meaning of the 'Subtypes' reference list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Subtypes' reference list. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getType_Subtypes() + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type#getSupertypes + * @model opposite="supertypes" + * @generated + */ + EList getSubtypes(); + + /** + * Returns the value of the 'Supertypes' reference list. + * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type}. + * It is bidirectional and its opposite is '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type#getSubtypes Subtypes}'. + * + *

+ * If the meaning of the 'Supertypes' reference list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Supertypes' reference list. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getType_Supertypes() + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type#getSubtypes + * @model opposite="subtypes" + * @generated + */ + EList getSupertypes(); + + /** + * Returns the value of the 'Is Abstract' attribute. + * + *

+ * If the meaning of the 'Is Abstract' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Is Abstract' attribute. + * @see #setIsAbstract(boolean) + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getType_IsAbstract() + * @model required="true" + * @generated + */ + boolean isIsAbstract(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type#isIsAbstract Is Abstract}' attribute. + * + * + * @param value the new value of the 'Is Abstract' attribute. + * @see #isIsAbstract() + * @generated + */ + void setIsAbstract(boolean value); + +} // Type diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/TypeDeclaration.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/TypeDeclaration.java new file mode 100644 index 00000000..35878371 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/TypeDeclaration.java @@ -0,0 +1,17 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; + + +/** + * + * A representation of the model object 'Type Declaration'. + * + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getTypeDeclaration() + * @model + * @generated + */ +public interface TypeDeclaration extends Type { +} // TypeDeclaration diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/TypeDefinition.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/TypeDefinition.java new file mode 100644 index 00000000..e9a6140a --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/TypeDefinition.java @@ -0,0 +1,69 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; + +import org.eclipse.emf.common.util.EList; + +/** + * + * A representation of the model object 'Type Definition'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDefinition#getElements Elements}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDefinition#getDefines Defines}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getTypeDefinition() + * @model + * @generated + */ +public interface TypeDefinition extends Type { + /** + * Returns the value of the 'Elements' reference list. + * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.DefinedElement}. + * It is bidirectional and its opposite is '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.DefinedElement#getDefinedInType Defined In Type}'. + * + *

+ * If the meaning of the 'Elements' containment reference list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Elements' reference list. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getTypeDefinition_Elements() + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.DefinedElement#getDefinedInType + * @model opposite="definedInType" + * @generated + */ + EList getElements(); + + /** + * Returns the value of the 'Defines' reference. + * + *

+ * If the meaning of the 'Defines' reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Defines' reference. + * @see #setDefines(TypeDeclaration) + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getTypeDefinition_Defines() + * @model + * @generated + */ + TypeDeclaration getDefines(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDefinition#getDefines Defines}' reference. + * + * + * @param value the new value of the 'Defines' reference. + * @see #getDefines() + * @generated + */ + void setDefines(TypeDeclaration value); + +} // TypeDefinition diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/TypeDescriptor.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/TypeDescriptor.java new file mode 100644 index 00000000..309ce93e --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/TypeDescriptor.java @@ -0,0 +1,18 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Type Descriptor'. + * + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getTypeDescriptor() + * @model interface="true" abstract="true" + * @generated + */ +public interface TypeDescriptor extends EObject { +} // TypeDescriptor diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/TypeReference.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/TypeReference.java new file mode 100644 index 00000000..05fe3713 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/TypeReference.java @@ -0,0 +1,17 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; + + +/** + * + * A representation of the model object 'Type Reference'. + * + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getTypeReference() + * @model abstract="true" + * @generated + */ +public interface TypeReference extends TypeDescriptor { +} // TypeReference diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/UnknownBecauseUninterpreted.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/UnknownBecauseUninterpreted.java new file mode 100644 index 00000000..cad8fdea --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/UnknownBecauseUninterpreted.java @@ -0,0 +1,17 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; + + +/** + * + * A representation of the model object 'Unknown Because Uninterpreted'. + * + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getUnknownBecauseUninterpreted() + * @model + * @generated + */ +public interface UnknownBecauseUninterpreted extends Term { +} // UnknownBecauseUninterpreted diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Variable.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Variable.java new file mode 100644 index 00000000..0f9663a9 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/Variable.java @@ -0,0 +1,49 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage; + + +/** + * + * A representation of the model object 'Variable'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Variable#getRange Range}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getVariable() + * @model + * @generated + */ +public interface Variable extends SymbolicDeclaration { + /** + * Returns the value of the 'Range' containment reference. + * + *

+ * If the meaning of the 'Range' containment reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Range' containment reference. + * @see #setRange(TypeReference) + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#getVariable_Range() + * @model containment="true" required="true" + * @generated + */ + TypeReference getRange(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Variable#getRange Range}' containment reference. + * + * + * @param value the new value of the 'Range' containment reference. + * @see #getRange() + * @generated + */ + void setRange(TypeReference value); + +} // Variable diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/AndImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/AndImpl.java new file mode 100644 index 00000000..1c36b6d6 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/AndImpl.java @@ -0,0 +1,150 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.And; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +/** + * + * An implementation of the model object 'And'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.AndImpl#getOperands Operands}
  • + *
+ * + * @generated + */ +public class AndImpl extends BoolOperationImpl implements And { + /** + * The cached value of the '{@link #getOperands() Operands}' containment reference list. + * + * + * @see #getOperands() + * @generated + * @ordered + */ + protected EList operands; + + /** + * + * + * @generated + */ + protected AndImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogiclanguagePackage.Literals.AND; + } + + /** + * + * + * @generated + */ + public EList getOperands() { + if (operands == null) { + operands = new EObjectContainmentEList(Term.class, this, LogiclanguagePackage.AND__OPERANDS); + } + return operands; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case LogiclanguagePackage.AND__OPERANDS: + return ((InternalEList)getOperands()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case LogiclanguagePackage.AND__OPERANDS: + return getOperands(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case LogiclanguagePackage.AND__OPERANDS: + getOperands().clear(); + getOperands().addAll((Collection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case LogiclanguagePackage.AND__OPERANDS: + getOperands().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case LogiclanguagePackage.AND__OPERANDS: + return operands != null && !operands.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //AndImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/AssertionImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/AssertionImpl.java new file mode 100644 index 00000000..254f5240 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/AssertionImpl.java @@ -0,0 +1,303 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Assertion; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term; +import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.AssertionAnnotation; +import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage; +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; +import org.eclipse.emf.ecore.util.EObjectWithInverseResolvingEList; +import org.eclipse.emf.ecore.util.InternalEList; + +/** + * + * An implementation of the model object 'Assertion'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.AssertionImpl#getValue Value}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.AssertionImpl#getName Name}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.AssertionImpl#getAnnotations Annotations}
  • + *
+ * + * @generated + */ +public class AssertionImpl extends MinimalEObjectImpl.Container implements Assertion { + /** + * The cached value of the '{@link #getValue() Value}' containment reference. + * + * + * @see #getValue() + * @generated + * @ordered + */ + protected Term value; + + /** + * The default value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected static final String NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected String name = NAME_EDEFAULT; + + /** + * The cached value of the '{@link #getAnnotations() Annotations}' reference list. + * + * + * @see #getAnnotations() + * @generated + * @ordered + */ + protected EList annotations; + + /** + * + * + * @generated + */ + protected AssertionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogiclanguagePackage.Literals.ASSERTION; + } + + /** + * + * + * @generated + */ + public Term getValue() { + return value; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetValue(Term newValue, NotificationChain msgs) { + Term oldValue = value; + value = newValue; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.ASSERTION__VALUE, oldValue, newValue); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setValue(Term newValue) { + if (newValue != value) { + NotificationChain msgs = null; + if (value != null) + msgs = ((InternalEObject)value).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.ASSERTION__VALUE, null, msgs); + if (newValue != null) + msgs = ((InternalEObject)newValue).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.ASSERTION__VALUE, null, msgs); + msgs = basicSetValue(newValue, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.ASSERTION__VALUE, newValue, newValue)); + } + + /** + * + * + * @generated + */ + public String getName() { + return name; + } + + /** + * + * + * @generated + */ + public void setName(String newName) { + String oldName = name; + name = newName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.ASSERTION__NAME, oldName, name)); + } + + /** + * + * + * @generated + */ + public EList getAnnotations() { + if (annotations == null) { + annotations = new EObjectWithInverseResolvingEList(AssertionAnnotation.class, this, LogiclanguagePackage.ASSERTION__ANNOTATIONS, LogicproblemPackage.ASSERTION_ANNOTATION__TARGET); + } + return annotations; + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case LogiclanguagePackage.ASSERTION__ANNOTATIONS: + return ((InternalEList)(InternalEList)getAnnotations()).basicAdd(otherEnd, msgs); + } + return super.eInverseAdd(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case LogiclanguagePackage.ASSERTION__VALUE: + return basicSetValue(null, msgs); + case LogiclanguagePackage.ASSERTION__ANNOTATIONS: + return ((InternalEList)getAnnotations()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case LogiclanguagePackage.ASSERTION__VALUE: + return getValue(); + case LogiclanguagePackage.ASSERTION__NAME: + return getName(); + case LogiclanguagePackage.ASSERTION__ANNOTATIONS: + return getAnnotations(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case LogiclanguagePackage.ASSERTION__VALUE: + setValue((Term)newValue); + return; + case LogiclanguagePackage.ASSERTION__NAME: + setName((String)newValue); + return; + case LogiclanguagePackage.ASSERTION__ANNOTATIONS: + getAnnotations().clear(); + getAnnotations().addAll((Collection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case LogiclanguagePackage.ASSERTION__VALUE: + setValue((Term)null); + return; + case LogiclanguagePackage.ASSERTION__NAME: + setName(NAME_EDEFAULT); + return; + case LogiclanguagePackage.ASSERTION__ANNOTATIONS: + getAnnotations().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case LogiclanguagePackage.ASSERTION__VALUE: + return value != null; + case LogiclanguagePackage.ASSERTION__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + case LogiclanguagePackage.ASSERTION__ANNOTATIONS: + return annotations != null && !annotations.isEmpty(); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (name: "); + result.append(name); + result.append(')'); + return result.toString(); + } + +} //AssertionImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/AtomicTermImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/AtomicTermImpl.java new file mode 100644 index 00000000..7d5ec7d8 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/AtomicTermImpl.java @@ -0,0 +1,37 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.AtomicTerm; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; + +import org.eclipse.emf.ecore.EClass; + +/** + * + * An implementation of the model object 'Atomic Term'. + * + * + * @generated + */ +public abstract class AtomicTermImpl extends TermImpl implements AtomicTerm { + /** + * + * + * @generated + */ + protected AtomicTermImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogiclanguagePackage.Literals.ATOMIC_TERM; + } + +} //AtomicTermImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/BoolLiteralImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/BoolLiteralImpl.java new file mode 100644 index 00000000..ea7693bb --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/BoolLiteralImpl.java @@ -0,0 +1,162 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.BoolLiteral; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'Bool Literal'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.BoolLiteralImpl#isValue Value}
  • + *
+ * + * @generated + */ +public class BoolLiteralImpl extends AtomicTermImpl implements BoolLiteral { + /** + * The default value of the '{@link #isValue() Value}' attribute. + * + * + * @see #isValue() + * @generated + * @ordered + */ + protected static final boolean VALUE_EDEFAULT = false; + + /** + * The cached value of the '{@link #isValue() Value}' attribute. + * + * + * @see #isValue() + * @generated + * @ordered + */ + protected boolean value = VALUE_EDEFAULT; + + /** + * + * + * @generated + */ + protected BoolLiteralImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogiclanguagePackage.Literals.BOOL_LITERAL; + } + + /** + * + * + * @generated + */ + public boolean isValue() { + return value; + } + + /** + * + * + * @generated + */ + public void setValue(boolean newValue) { + boolean oldValue = value; + value = newValue; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.BOOL_LITERAL__VALUE, oldValue, value)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case LogiclanguagePackage.BOOL_LITERAL__VALUE: + return isValue(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case LogiclanguagePackage.BOOL_LITERAL__VALUE: + setValue((Boolean)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case LogiclanguagePackage.BOOL_LITERAL__VALUE: + setValue(VALUE_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case LogiclanguagePackage.BOOL_LITERAL__VALUE: + return value != VALUE_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (value: "); + result.append(value); + result.append(')'); + return result.toString(); + } + +} //BoolLiteralImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/BoolOperationImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/BoolOperationImpl.java new file mode 100644 index 00000000..bfe635ec --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/BoolOperationImpl.java @@ -0,0 +1,37 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.BoolOperation; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; + +import org.eclipse.emf.ecore.EClass; + +/** + * + * An implementation of the model object 'Bool Operation'. + * + * + * @generated + */ +public abstract class BoolOperationImpl extends TermImpl implements BoolOperation { + /** + * + * + * @generated + */ + protected BoolOperationImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogiclanguagePackage.Literals.BOOL_OPERATION; + } + +} //BoolOperationImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/BoolTypeReferenceImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/BoolTypeReferenceImpl.java new file mode 100644 index 00000000..66aec0e6 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/BoolTypeReferenceImpl.java @@ -0,0 +1,37 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.BoolTypeReference; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; + +import org.eclipse.emf.ecore.EClass; + +/** + * + * An implementation of the model object 'Bool Type Reference'. + * + * + * @generated + */ +public class BoolTypeReferenceImpl extends PrimitiveTypeReferenceImpl implements BoolTypeReference { + /** + * + * + * @generated + */ + protected BoolTypeReferenceImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogiclanguagePackage.Literals.BOOL_TYPE_REFERENCE; + } + +} //BoolTypeReferenceImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/ComplexTypeReferenceImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/ComplexTypeReferenceImpl.java new file mode 100644 index 00000000..4473b0be --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/ComplexTypeReferenceImpl.java @@ -0,0 +1,156 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ComplexTypeReference; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'Complex Type Reference'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ComplexTypeReferenceImpl#getReferred Referred}
  • + *
+ * + * @generated + */ +public class ComplexTypeReferenceImpl extends TypeReferenceImpl implements ComplexTypeReference { + /** + * The cached value of the '{@link #getReferred() Referred}' reference. + * + * + * @see #getReferred() + * @generated + * @ordered + */ + protected Type referred; + + /** + * + * + * @generated + */ + protected ComplexTypeReferenceImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogiclanguagePackage.Literals.COMPLEX_TYPE_REFERENCE; + } + + /** + * + * + * @generated + */ + public Type getReferred() { + if (referred != null && referred.eIsProxy()) { + InternalEObject oldReferred = (InternalEObject)referred; + referred = (Type)eResolveProxy(oldReferred); + if (referred != oldReferred) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, LogiclanguagePackage.COMPLEX_TYPE_REFERENCE__REFERRED, oldReferred, referred)); + } + } + return referred; + } + + /** + * + * + * @generated + */ + public Type basicGetReferred() { + return referred; + } + + /** + * + * + * @generated + */ + public void setReferred(Type newReferred) { + Type oldReferred = referred; + referred = newReferred; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.COMPLEX_TYPE_REFERENCE__REFERRED, oldReferred, referred)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case LogiclanguagePackage.COMPLEX_TYPE_REFERENCE__REFERRED: + if (resolve) return getReferred(); + return basicGetReferred(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case LogiclanguagePackage.COMPLEX_TYPE_REFERENCE__REFERRED: + setReferred((Type)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case LogiclanguagePackage.COMPLEX_TYPE_REFERENCE__REFERRED: + setReferred((Type)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case LogiclanguagePackage.COMPLEX_TYPE_REFERENCE__REFERRED: + return referred != null; + } + return super.eIsSet(featureID); + } + +} //ComplexTypeReferenceImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/ConstantDeclarationImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/ConstantDeclarationImpl.java new file mode 100644 index 00000000..ba9094a0 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/ConstantDeclarationImpl.java @@ -0,0 +1,37 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ConstantDeclaration; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; + +import org.eclipse.emf.ecore.EClass; + +/** + * + * An implementation of the model object 'Constant Declaration'. + * + * + * @generated + */ +public class ConstantDeclarationImpl extends ConstantImpl implements ConstantDeclaration { + /** + * + * + * @generated + */ + protected ConstantDeclarationImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogiclanguagePackage.Literals.CONSTANT_DECLARATION; + } + +} //ConstantDeclarationImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/ConstantDefinitionImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/ConstantDefinitionImpl.java new file mode 100644 index 00000000..1114508e --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/ConstantDefinitionImpl.java @@ -0,0 +1,236 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ConstantDeclaration; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ConstantDefinition; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'Constant Definition'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ConstantDefinitionImpl#getValue Value}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ConstantDefinitionImpl#getDefines Defines}
  • + *
+ * + * @generated + */ +public class ConstantDefinitionImpl extends ConstantImpl implements ConstantDefinition { + /** + * The cached value of the '{@link #getValue() Value}' containment reference. + * + * + * @see #getValue() + * @generated + * @ordered + */ + protected Term value; + + /** + * The cached value of the '{@link #getDefines() Defines}' reference. + * + * + * @see #getDefines() + * @generated + * @ordered + */ + protected ConstantDeclaration defines; + + /** + * + * + * @generated + */ + protected ConstantDefinitionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogiclanguagePackage.Literals.CONSTANT_DEFINITION; + } + + /** + * + * + * @generated + */ + public Term getValue() { + return value; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetValue(Term newValue, NotificationChain msgs) { + Term oldValue = value; + value = newValue; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.CONSTANT_DEFINITION__VALUE, oldValue, newValue); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setValue(Term newValue) { + if (newValue != value) { + NotificationChain msgs = null; + if (value != null) + msgs = ((InternalEObject)value).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.CONSTANT_DEFINITION__VALUE, null, msgs); + if (newValue != null) + msgs = ((InternalEObject)newValue).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.CONSTANT_DEFINITION__VALUE, null, msgs); + msgs = basicSetValue(newValue, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.CONSTANT_DEFINITION__VALUE, newValue, newValue)); + } + + /** + * + * + * @generated + */ + public ConstantDeclaration getDefines() { + if (defines != null && defines.eIsProxy()) { + InternalEObject oldDefines = (InternalEObject)defines; + defines = (ConstantDeclaration)eResolveProxy(oldDefines); + if (defines != oldDefines) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, LogiclanguagePackage.CONSTANT_DEFINITION__DEFINES, oldDefines, defines)); + } + } + return defines; + } + + /** + * + * + * @generated + */ + public ConstantDeclaration basicGetDefines() { + return defines; + } + + /** + * + * + * @generated + */ + public void setDefines(ConstantDeclaration newDefines) { + ConstantDeclaration oldDefines = defines; + defines = newDefines; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.CONSTANT_DEFINITION__DEFINES, oldDefines, defines)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case LogiclanguagePackage.CONSTANT_DEFINITION__VALUE: + return basicSetValue(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case LogiclanguagePackage.CONSTANT_DEFINITION__VALUE: + return getValue(); + case LogiclanguagePackage.CONSTANT_DEFINITION__DEFINES: + if (resolve) return getDefines(); + return basicGetDefines(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case LogiclanguagePackage.CONSTANT_DEFINITION__VALUE: + setValue((Term)newValue); + return; + case LogiclanguagePackage.CONSTANT_DEFINITION__DEFINES: + setDefines((ConstantDeclaration)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case LogiclanguagePackage.CONSTANT_DEFINITION__VALUE: + setValue((Term)null); + return; + case LogiclanguagePackage.CONSTANT_DEFINITION__DEFINES: + setDefines((ConstantDeclaration)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case LogiclanguagePackage.CONSTANT_DEFINITION__VALUE: + return value != null; + case LogiclanguagePackage.CONSTANT_DEFINITION__DEFINES: + return defines != null; + } + return super.eIsSet(featureID); + } + +} //ConstantDefinitionImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/ConstantImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/ConstantImpl.java new file mode 100644 index 00000000..7c34f669 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/ConstantImpl.java @@ -0,0 +1,233 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Constant; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeReference; + +import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ConstantAnnotation; +import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage; +import java.util.Collection; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.util.EObjectWithInverseResolvingEList; +import org.eclipse.emf.ecore.util.InternalEList; + +/** + * + * An implementation of the model object 'Constant'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ConstantImpl#getType Type}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ConstantImpl#getAnnotations Annotations}
  • + *
+ * + * @generated + */ +public abstract class ConstantImpl extends SymbolicDeclarationImpl implements Constant { + /** + * The cached value of the '{@link #getType() Type}' containment reference. + * + * + * @see #getType() + * @generated + * @ordered + */ + protected TypeReference type; + + /** + * The cached value of the '{@link #getAnnotations() Annotations}' reference list. + * + * + * @see #getAnnotations() + * @generated + * @ordered + */ + protected EList annotations; + + /** + * + * + * @generated + */ + protected ConstantImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogiclanguagePackage.Literals.CONSTANT; + } + + /** + * + * + * @generated + */ + public TypeReference getType() { + return type; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetType(TypeReference newType, NotificationChain msgs) { + TypeReference oldType = type; + type = newType; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.CONSTANT__TYPE, oldType, newType); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setType(TypeReference newType) { + if (newType != type) { + NotificationChain msgs = null; + if (type != null) + msgs = ((InternalEObject)type).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.CONSTANT__TYPE, null, msgs); + if (newType != null) + msgs = ((InternalEObject)newType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.CONSTANT__TYPE, null, msgs); + msgs = basicSetType(newType, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.CONSTANT__TYPE, newType, newType)); + } + + /** + * + * + * @generated + */ + public EList getAnnotations() { + if (annotations == null) { + annotations = new EObjectWithInverseResolvingEList(ConstantAnnotation.class, this, LogiclanguagePackage.CONSTANT__ANNOTATIONS, LogicproblemPackage.CONSTANT_ANNOTATION__TARGET); + } + return annotations; + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case LogiclanguagePackage.CONSTANT__ANNOTATIONS: + return ((InternalEList)(InternalEList)getAnnotations()).basicAdd(otherEnd, msgs); + } + return super.eInverseAdd(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case LogiclanguagePackage.CONSTANT__TYPE: + return basicSetType(null, msgs); + case LogiclanguagePackage.CONSTANT__ANNOTATIONS: + return ((InternalEList)getAnnotations()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case LogiclanguagePackage.CONSTANT__TYPE: + return getType(); + case LogiclanguagePackage.CONSTANT__ANNOTATIONS: + return getAnnotations(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case LogiclanguagePackage.CONSTANT__TYPE: + setType((TypeReference)newValue); + return; + case LogiclanguagePackage.CONSTANT__ANNOTATIONS: + getAnnotations().clear(); + getAnnotations().addAll((Collection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case LogiclanguagePackage.CONSTANT__TYPE: + setType((TypeReference)null); + return; + case LogiclanguagePackage.CONSTANT__ANNOTATIONS: + getAnnotations().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case LogiclanguagePackage.CONSTANT__TYPE: + return type != null; + case LogiclanguagePackage.CONSTANT__ANNOTATIONS: + return annotations != null && !annotations.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //ConstantImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/DefinedElementImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/DefinedElementImpl.java new file mode 100644 index 00000000..50bdb003 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/DefinedElementImpl.java @@ -0,0 +1,161 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.DefinedElement; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDefinition; +import java.util.Collection; +import org.eclipse.emf.common.notify.NotificationChain; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; +import org.eclipse.emf.ecore.util.EObjectWithInverseResolvingEList; +import org.eclipse.emf.ecore.util.InternalEList; + +/** + * + * An implementation of the model object 'Defined Element'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.DefinedElementImpl#getDefinedInType Defined In Type}
  • + *
+ * + * @generated + */ +public class DefinedElementImpl extends SymbolicDeclarationImpl implements DefinedElement { + /** + * The cached value of the '{@link #getDefinedInType() Defined In Type}' reference list. + * + * + * @see #getDefinedInType() + * @generated + * @ordered + */ + protected EList definedInType; + + /** + * + * + * @generated + */ + protected DefinedElementImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogiclanguagePackage.Literals.DEFINED_ELEMENT; + } + + /** + * + * + * @generated + */ + public EList getDefinedInType() { + if (definedInType == null) { + definedInType = new EObjectWithInverseResolvingEList.ManyInverse(TypeDefinition.class, this, LogiclanguagePackage.DEFINED_ELEMENT__DEFINED_IN_TYPE, LogiclanguagePackage.TYPE_DEFINITION__ELEMENTS); + } + return definedInType; + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case LogiclanguagePackage.DEFINED_ELEMENT__DEFINED_IN_TYPE: + return ((InternalEList)(InternalEList)getDefinedInType()).basicAdd(otherEnd, msgs); + } + return super.eInverseAdd(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case LogiclanguagePackage.DEFINED_ELEMENT__DEFINED_IN_TYPE: + return ((InternalEList)getDefinedInType()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case LogiclanguagePackage.DEFINED_ELEMENT__DEFINED_IN_TYPE: + return getDefinedInType(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case LogiclanguagePackage.DEFINED_ELEMENT__DEFINED_IN_TYPE: + getDefinedInType().clear(); + getDefinedInType().addAll((Collection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case LogiclanguagePackage.DEFINED_ELEMENT__DEFINED_IN_TYPE: + getDefinedInType().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case LogiclanguagePackage.DEFINED_ELEMENT__DEFINED_IN_TYPE: + return definedInType != null && !definedInType.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //DefinedElementImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/DistinctImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/DistinctImpl.java new file mode 100644 index 00000000..04636b3d --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/DistinctImpl.java @@ -0,0 +1,150 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Distinct; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +/** + * + * An implementation of the model object 'Distinct'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.DistinctImpl#getOperands Operands}
  • + *
+ * + * @generated + */ +public class DistinctImpl extends PrimitiveRelationImpl implements Distinct { + /** + * The cached value of the '{@link #getOperands() Operands}' containment reference list. + * + * + * @see #getOperands() + * @generated + * @ordered + */ + protected EList operands; + + /** + * + * + * @generated + */ + protected DistinctImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogiclanguagePackage.Literals.DISTINCT; + } + + /** + * + * + * @generated + */ + public EList getOperands() { + if (operands == null) { + operands = new EObjectContainmentEList(Term.class, this, LogiclanguagePackage.DISTINCT__OPERANDS); + } + return operands; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case LogiclanguagePackage.DISTINCT__OPERANDS: + return ((InternalEList)getOperands()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case LogiclanguagePackage.DISTINCT__OPERANDS: + return getOperands(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case LogiclanguagePackage.DISTINCT__OPERANDS: + getOperands().clear(); + getOperands().addAll((Collection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case LogiclanguagePackage.DISTINCT__OPERANDS: + getOperands().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case LogiclanguagePackage.DISTINCT__OPERANDS: + return operands != null && !operands.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //DistinctImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/DivisonImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/DivisonImpl.java new file mode 100644 index 00000000..0ce40588 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/DivisonImpl.java @@ -0,0 +1,37 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Divison; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; + +import org.eclipse.emf.ecore.EClass; + +/** + * + * An implementation of the model object 'Divison'. + * + * + * @generated + */ +public class DivisonImpl extends IntOperationImpl implements Divison { + /** + * + * + * @generated + */ + protected DivisonImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogiclanguagePackage.Literals.DIVISON; + } + +} //DivisonImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/EqualsImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/EqualsImpl.java new file mode 100644 index 00000000..186f2ee6 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/EqualsImpl.java @@ -0,0 +1,241 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Equals; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'Equals'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.EqualsImpl#getLeftOperand Left Operand}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.EqualsImpl#getRightOperand Right Operand}
  • + *
+ * + * @generated + */ +public class EqualsImpl extends PrimitiveRelationImpl implements Equals { + /** + * The cached value of the '{@link #getLeftOperand() Left Operand}' containment reference. + * + * + * @see #getLeftOperand() + * @generated + * @ordered + */ + protected Term leftOperand; + + /** + * The cached value of the '{@link #getRightOperand() Right Operand}' containment reference. + * + * + * @see #getRightOperand() + * @generated + * @ordered + */ + protected Term rightOperand; + + /** + * + * + * @generated + */ + protected EqualsImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogiclanguagePackage.Literals.EQUALS; + } + + /** + * + * + * @generated + */ + public Term getLeftOperand() { + return leftOperand; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetLeftOperand(Term newLeftOperand, NotificationChain msgs) { + Term oldLeftOperand = leftOperand; + leftOperand = newLeftOperand; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.EQUALS__LEFT_OPERAND, oldLeftOperand, newLeftOperand); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setLeftOperand(Term newLeftOperand) { + if (newLeftOperand != leftOperand) { + NotificationChain msgs = null; + if (leftOperand != null) + msgs = ((InternalEObject)leftOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.EQUALS__LEFT_OPERAND, null, msgs); + if (newLeftOperand != null) + msgs = ((InternalEObject)newLeftOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.EQUALS__LEFT_OPERAND, null, msgs); + msgs = basicSetLeftOperand(newLeftOperand, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.EQUALS__LEFT_OPERAND, newLeftOperand, newLeftOperand)); + } + + /** + * + * + * @generated + */ + public Term getRightOperand() { + return rightOperand; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetRightOperand(Term newRightOperand, NotificationChain msgs) { + Term oldRightOperand = rightOperand; + rightOperand = newRightOperand; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.EQUALS__RIGHT_OPERAND, oldRightOperand, newRightOperand); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setRightOperand(Term newRightOperand) { + if (newRightOperand != rightOperand) { + NotificationChain msgs = null; + if (rightOperand != null) + msgs = ((InternalEObject)rightOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.EQUALS__RIGHT_OPERAND, null, msgs); + if (newRightOperand != null) + msgs = ((InternalEObject)newRightOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.EQUALS__RIGHT_OPERAND, null, msgs); + msgs = basicSetRightOperand(newRightOperand, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.EQUALS__RIGHT_OPERAND, newRightOperand, newRightOperand)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case LogiclanguagePackage.EQUALS__LEFT_OPERAND: + return basicSetLeftOperand(null, msgs); + case LogiclanguagePackage.EQUALS__RIGHT_OPERAND: + return basicSetRightOperand(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case LogiclanguagePackage.EQUALS__LEFT_OPERAND: + return getLeftOperand(); + case LogiclanguagePackage.EQUALS__RIGHT_OPERAND: + return getRightOperand(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case LogiclanguagePackage.EQUALS__LEFT_OPERAND: + setLeftOperand((Term)newValue); + return; + case LogiclanguagePackage.EQUALS__RIGHT_OPERAND: + setRightOperand((Term)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case LogiclanguagePackage.EQUALS__LEFT_OPERAND: + setLeftOperand((Term)null); + return; + case LogiclanguagePackage.EQUALS__RIGHT_OPERAND: + setRightOperand((Term)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case LogiclanguagePackage.EQUALS__LEFT_OPERAND: + return leftOperand != null; + case LogiclanguagePackage.EQUALS__RIGHT_OPERAND: + return rightOperand != null; + } + return super.eIsSet(featureID); + } + +} //EqualsImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/ExistsImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/ExistsImpl.java new file mode 100644 index 00000000..b242cd7a --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/ExistsImpl.java @@ -0,0 +1,37 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Exists; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; + +import org.eclipse.emf.ecore.EClass; + +/** + * + * An implementation of the model object 'Exists'. + * + * + * @generated + */ +public class ExistsImpl extends QuantifiedExpressionImpl implements Exists { + /** + * + * + * @generated + */ + protected ExistsImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogiclanguagePackage.Literals.EXISTS; + } + +} //ExistsImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/ForallImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/ForallImpl.java new file mode 100644 index 00000000..032d104f --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/ForallImpl.java @@ -0,0 +1,37 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Forall; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; + +import org.eclipse.emf.ecore.EClass; + +/** + * + * An implementation of the model object 'Forall'. + * + * + * @generated + */ +public class ForallImpl extends QuantifiedExpressionImpl implements Forall { + /** + * + * + * @generated + */ + protected ForallImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogiclanguagePackage.Literals.FORALL; + } + +} //ForallImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/FunctionDeclarationImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/FunctionDeclarationImpl.java new file mode 100644 index 00000000..4e683133 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/FunctionDeclarationImpl.java @@ -0,0 +1,37 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.FunctionDeclaration; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; + +import org.eclipse.emf.ecore.EClass; + +/** + * + * An implementation of the model object 'Function Declaration'. + * + * + * @generated + */ +public class FunctionDeclarationImpl extends FunctionImpl implements FunctionDeclaration { + /** + * + * + * @generated + */ + protected FunctionDeclarationImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogiclanguagePackage.Literals.FUNCTION_DECLARATION; + } + +} //FunctionDeclarationImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/FunctionDefinitionImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/FunctionDefinitionImpl.java new file mode 100644 index 00000000..0f14289a --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/FunctionDefinitionImpl.java @@ -0,0 +1,278 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.FunctionDeclaration; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.FunctionDefinition; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Variable; + +import java.util.Collection; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +/** + * + * An implementation of the model object 'Function Definition'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.FunctionDefinitionImpl#getVariable Variable}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.FunctionDefinitionImpl#getDefines Defines}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.FunctionDefinitionImpl#getValue Value}
  • + *
+ * + * @generated + */ +public class FunctionDefinitionImpl extends FunctionImpl implements FunctionDefinition { + /** + * The cached value of the '{@link #getVariable() Variable}' containment reference list. + * + * + * @see #getVariable() + * @generated + * @ordered + */ + protected EList variable; + + /** + * The cached value of the '{@link #getDefines() Defines}' reference. + * + * + * @see #getDefines() + * @generated + * @ordered + */ + protected FunctionDeclaration defines; + + /** + * The cached value of the '{@link #getValue() Value}' containment reference. + * + * + * @see #getValue() + * @generated + * @ordered + */ + protected Term value; + + /** + * + * + * @generated + */ + protected FunctionDefinitionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogiclanguagePackage.Literals.FUNCTION_DEFINITION; + } + + /** + * + * + * @generated + */ + public EList getVariable() { + if (variable == null) { + variable = new EObjectContainmentEList(Variable.class, this, LogiclanguagePackage.FUNCTION_DEFINITION__VARIABLE); + } + return variable; + } + + /** + * + * + * @generated + */ + public FunctionDeclaration getDefines() { + if (defines != null && defines.eIsProxy()) { + InternalEObject oldDefines = (InternalEObject)defines; + defines = (FunctionDeclaration)eResolveProxy(oldDefines); + if (defines != oldDefines) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, LogiclanguagePackage.FUNCTION_DEFINITION__DEFINES, oldDefines, defines)); + } + } + return defines; + } + + /** + * + * + * @generated + */ + public FunctionDeclaration basicGetDefines() { + return defines; + } + + /** + * + * + * @generated + */ + public void setDefines(FunctionDeclaration newDefines) { + FunctionDeclaration oldDefines = defines; + defines = newDefines; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.FUNCTION_DEFINITION__DEFINES, oldDefines, defines)); + } + + /** + * + * + * @generated + */ + public Term getValue() { + return value; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetValue(Term newValue, NotificationChain msgs) { + Term oldValue = value; + value = newValue; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.FUNCTION_DEFINITION__VALUE, oldValue, newValue); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setValue(Term newValue) { + if (newValue != value) { + NotificationChain msgs = null; + if (value != null) + msgs = ((InternalEObject)value).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.FUNCTION_DEFINITION__VALUE, null, msgs); + if (newValue != null) + msgs = ((InternalEObject)newValue).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.FUNCTION_DEFINITION__VALUE, null, msgs); + msgs = basicSetValue(newValue, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.FUNCTION_DEFINITION__VALUE, newValue, newValue)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case LogiclanguagePackage.FUNCTION_DEFINITION__VARIABLE: + return ((InternalEList)getVariable()).basicRemove(otherEnd, msgs); + case LogiclanguagePackage.FUNCTION_DEFINITION__VALUE: + return basicSetValue(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case LogiclanguagePackage.FUNCTION_DEFINITION__VARIABLE: + return getVariable(); + case LogiclanguagePackage.FUNCTION_DEFINITION__DEFINES: + if (resolve) return getDefines(); + return basicGetDefines(); + case LogiclanguagePackage.FUNCTION_DEFINITION__VALUE: + return getValue(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case LogiclanguagePackage.FUNCTION_DEFINITION__VARIABLE: + getVariable().clear(); + getVariable().addAll((Collection)newValue); + return; + case LogiclanguagePackage.FUNCTION_DEFINITION__DEFINES: + setDefines((FunctionDeclaration)newValue); + return; + case LogiclanguagePackage.FUNCTION_DEFINITION__VALUE: + setValue((Term)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case LogiclanguagePackage.FUNCTION_DEFINITION__VARIABLE: + getVariable().clear(); + return; + case LogiclanguagePackage.FUNCTION_DEFINITION__DEFINES: + setDefines((FunctionDeclaration)null); + return; + case LogiclanguagePackage.FUNCTION_DEFINITION__VALUE: + setValue((Term)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case LogiclanguagePackage.FUNCTION_DEFINITION__VARIABLE: + return variable != null && !variable.isEmpty(); + case LogiclanguagePackage.FUNCTION_DEFINITION__DEFINES: + return defines != null; + case LogiclanguagePackage.FUNCTION_DEFINITION__VALUE: + return value != null; + } + return super.eIsSet(featureID); + } + +} //FunctionDefinitionImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/FunctionImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/FunctionImpl.java new file mode 100644 index 00000000..da85ae54 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/FunctionImpl.java @@ -0,0 +1,273 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Function; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeReference; + +import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.FunctionAnnotation; +import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage; +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.EObjectWithInverseResolvingEList; +import org.eclipse.emf.ecore.util.InternalEList; + +/** + * + * An implementation of the model object 'Function'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.FunctionImpl#getRange Range}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.FunctionImpl#getParameters Parameters}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.FunctionImpl#getAnnotations Annotations}
  • + *
+ * + * @generated + */ +public abstract class FunctionImpl extends SymbolicDeclarationImpl implements Function { + /** + * The cached value of the '{@link #getRange() Range}' containment reference. + * + * + * @see #getRange() + * @generated + * @ordered + */ + protected TypeReference range; + + /** + * The cached value of the '{@link #getParameters() Parameters}' containment reference list. + * + * + * @see #getParameters() + * @generated + * @ordered + */ + protected EList parameters; + + /** + * The cached value of the '{@link #getAnnotations() Annotations}' reference list. + * + * + * @see #getAnnotations() + * @generated + * @ordered + */ + protected EList annotations; + + /** + * + * + * @generated + */ + protected FunctionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogiclanguagePackage.Literals.FUNCTION; + } + + /** + * + * + * @generated + */ + public TypeReference getRange() { + return range; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetRange(TypeReference newRange, NotificationChain msgs) { + TypeReference oldRange = range; + range = newRange; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.FUNCTION__RANGE, oldRange, newRange); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setRange(TypeReference newRange) { + if (newRange != range) { + NotificationChain msgs = null; + if (range != null) + msgs = ((InternalEObject)range).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.FUNCTION__RANGE, null, msgs); + if (newRange != null) + msgs = ((InternalEObject)newRange).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.FUNCTION__RANGE, null, msgs); + msgs = basicSetRange(newRange, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.FUNCTION__RANGE, newRange, newRange)); + } + + /** + * + * + * @generated + */ + public EList getParameters() { + if (parameters == null) { + parameters = new EObjectContainmentEList(TypeReference.class, this, LogiclanguagePackage.FUNCTION__PARAMETERS); + } + return parameters; + } + + /** + * + * + * @generated + */ + public EList getAnnotations() { + if (annotations == null) { + annotations = new EObjectWithInverseResolvingEList(FunctionAnnotation.class, this, LogiclanguagePackage.FUNCTION__ANNOTATIONS, LogicproblemPackage.FUNCTION_ANNOTATION__TARGET); + } + return annotations; + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case LogiclanguagePackage.FUNCTION__ANNOTATIONS: + return ((InternalEList)(InternalEList)getAnnotations()).basicAdd(otherEnd, msgs); + } + return super.eInverseAdd(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case LogiclanguagePackage.FUNCTION__RANGE: + return basicSetRange(null, msgs); + case LogiclanguagePackage.FUNCTION__PARAMETERS: + return ((InternalEList)getParameters()).basicRemove(otherEnd, msgs); + case LogiclanguagePackage.FUNCTION__ANNOTATIONS: + return ((InternalEList)getAnnotations()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case LogiclanguagePackage.FUNCTION__RANGE: + return getRange(); + case LogiclanguagePackage.FUNCTION__PARAMETERS: + return getParameters(); + case LogiclanguagePackage.FUNCTION__ANNOTATIONS: + return getAnnotations(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case LogiclanguagePackage.FUNCTION__RANGE: + setRange((TypeReference)newValue); + return; + case LogiclanguagePackage.FUNCTION__PARAMETERS: + getParameters().clear(); + getParameters().addAll((Collection)newValue); + return; + case LogiclanguagePackage.FUNCTION__ANNOTATIONS: + getAnnotations().clear(); + getAnnotations().addAll((Collection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case LogiclanguagePackage.FUNCTION__RANGE: + setRange((TypeReference)null); + return; + case LogiclanguagePackage.FUNCTION__PARAMETERS: + getParameters().clear(); + return; + case LogiclanguagePackage.FUNCTION__ANNOTATIONS: + getAnnotations().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case LogiclanguagePackage.FUNCTION__RANGE: + return range != null; + case LogiclanguagePackage.FUNCTION__PARAMETERS: + return parameters != null && !parameters.isEmpty(); + case LogiclanguagePackage.FUNCTION__ANNOTATIONS: + return annotations != null && !annotations.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //FunctionImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/IfThenElseImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/IfThenElseImpl.java new file mode 100644 index 00000000..27f1a358 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/IfThenElseImpl.java @@ -0,0 +1,307 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IfThenElse; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'If Then Else'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.IfThenElseImpl#getCondition Condition}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.IfThenElseImpl#getIfTrue If True}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.IfThenElseImpl#getIfFalse If False}
  • + *
+ * + * @generated + */ +public class IfThenElseImpl extends TermImpl implements IfThenElse { + /** + * The cached value of the '{@link #getCondition() Condition}' containment reference. + * + * + * @see #getCondition() + * @generated + * @ordered + */ + protected Term condition; + + /** + * The cached value of the '{@link #getIfTrue() If True}' containment reference. + * + * + * @see #getIfTrue() + * @generated + * @ordered + */ + protected Term ifTrue; + + /** + * The cached value of the '{@link #getIfFalse() If False}' containment reference. + * + * + * @see #getIfFalse() + * @generated + * @ordered + */ + protected Term ifFalse; + + /** + * + * + * @generated + */ + protected IfThenElseImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogiclanguagePackage.Literals.IF_THEN_ELSE; + } + + /** + * + * + * @generated + */ + public Term getCondition() { + return condition; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetCondition(Term newCondition, NotificationChain msgs) { + Term oldCondition = condition; + condition = newCondition; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.IF_THEN_ELSE__CONDITION, oldCondition, newCondition); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setCondition(Term newCondition) { + if (newCondition != condition) { + NotificationChain msgs = null; + if (condition != null) + msgs = ((InternalEObject)condition).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.IF_THEN_ELSE__CONDITION, null, msgs); + if (newCondition != null) + msgs = ((InternalEObject)newCondition).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.IF_THEN_ELSE__CONDITION, null, msgs); + msgs = basicSetCondition(newCondition, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.IF_THEN_ELSE__CONDITION, newCondition, newCondition)); + } + + /** + * + * + * @generated + */ + public Term getIfTrue() { + return ifTrue; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetIfTrue(Term newIfTrue, NotificationChain msgs) { + Term oldIfTrue = ifTrue; + ifTrue = newIfTrue; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.IF_THEN_ELSE__IF_TRUE, oldIfTrue, newIfTrue); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setIfTrue(Term newIfTrue) { + if (newIfTrue != ifTrue) { + NotificationChain msgs = null; + if (ifTrue != null) + msgs = ((InternalEObject)ifTrue).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.IF_THEN_ELSE__IF_TRUE, null, msgs); + if (newIfTrue != null) + msgs = ((InternalEObject)newIfTrue).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.IF_THEN_ELSE__IF_TRUE, null, msgs); + msgs = basicSetIfTrue(newIfTrue, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.IF_THEN_ELSE__IF_TRUE, newIfTrue, newIfTrue)); + } + + /** + * + * + * @generated + */ + public Term getIfFalse() { + return ifFalse; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetIfFalse(Term newIfFalse, NotificationChain msgs) { + Term oldIfFalse = ifFalse; + ifFalse = newIfFalse; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.IF_THEN_ELSE__IF_FALSE, oldIfFalse, newIfFalse); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setIfFalse(Term newIfFalse) { + if (newIfFalse != ifFalse) { + NotificationChain msgs = null; + if (ifFalse != null) + msgs = ((InternalEObject)ifFalse).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.IF_THEN_ELSE__IF_FALSE, null, msgs); + if (newIfFalse != null) + msgs = ((InternalEObject)newIfFalse).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.IF_THEN_ELSE__IF_FALSE, null, msgs); + msgs = basicSetIfFalse(newIfFalse, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.IF_THEN_ELSE__IF_FALSE, newIfFalse, newIfFalse)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case LogiclanguagePackage.IF_THEN_ELSE__CONDITION: + return basicSetCondition(null, msgs); + case LogiclanguagePackage.IF_THEN_ELSE__IF_TRUE: + return basicSetIfTrue(null, msgs); + case LogiclanguagePackage.IF_THEN_ELSE__IF_FALSE: + return basicSetIfFalse(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case LogiclanguagePackage.IF_THEN_ELSE__CONDITION: + return getCondition(); + case LogiclanguagePackage.IF_THEN_ELSE__IF_TRUE: + return getIfTrue(); + case LogiclanguagePackage.IF_THEN_ELSE__IF_FALSE: + return getIfFalse(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case LogiclanguagePackage.IF_THEN_ELSE__CONDITION: + setCondition((Term)newValue); + return; + case LogiclanguagePackage.IF_THEN_ELSE__IF_TRUE: + setIfTrue((Term)newValue); + return; + case LogiclanguagePackage.IF_THEN_ELSE__IF_FALSE: + setIfFalse((Term)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case LogiclanguagePackage.IF_THEN_ELSE__CONDITION: + setCondition((Term)null); + return; + case LogiclanguagePackage.IF_THEN_ELSE__IF_TRUE: + setIfTrue((Term)null); + return; + case LogiclanguagePackage.IF_THEN_ELSE__IF_FALSE: + setIfFalse((Term)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case LogiclanguagePackage.IF_THEN_ELSE__CONDITION: + return condition != null; + case LogiclanguagePackage.IF_THEN_ELSE__IF_TRUE: + return ifTrue != null; + case LogiclanguagePackage.IF_THEN_ELSE__IF_FALSE: + return ifFalse != null; + } + return super.eIsSet(featureID); + } + +} //IfThenElseImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/IffImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/IffImpl.java new file mode 100644 index 00000000..52c80e4a --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/IffImpl.java @@ -0,0 +1,241 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Iff; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'Iff'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.IffImpl#getLeftOperand Left Operand}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.IffImpl#getRightOperand Right Operand}
  • + *
+ * + * @generated + */ +public class IffImpl extends BoolOperationImpl implements Iff { + /** + * The cached value of the '{@link #getLeftOperand() Left Operand}' containment reference. + * + * + * @see #getLeftOperand() + * @generated + * @ordered + */ + protected Term leftOperand; + + /** + * The cached value of the '{@link #getRightOperand() Right Operand}' containment reference. + * + * + * @see #getRightOperand() + * @generated + * @ordered + */ + protected Term rightOperand; + + /** + * + * + * @generated + */ + protected IffImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogiclanguagePackage.Literals.IFF; + } + + /** + * + * + * @generated + */ + public Term getLeftOperand() { + return leftOperand; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetLeftOperand(Term newLeftOperand, NotificationChain msgs) { + Term oldLeftOperand = leftOperand; + leftOperand = newLeftOperand; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.IFF__LEFT_OPERAND, oldLeftOperand, newLeftOperand); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setLeftOperand(Term newLeftOperand) { + if (newLeftOperand != leftOperand) { + NotificationChain msgs = null; + if (leftOperand != null) + msgs = ((InternalEObject)leftOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.IFF__LEFT_OPERAND, null, msgs); + if (newLeftOperand != null) + msgs = ((InternalEObject)newLeftOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.IFF__LEFT_OPERAND, null, msgs); + msgs = basicSetLeftOperand(newLeftOperand, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.IFF__LEFT_OPERAND, newLeftOperand, newLeftOperand)); + } + + /** + * + * + * @generated + */ + public Term getRightOperand() { + return rightOperand; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetRightOperand(Term newRightOperand, NotificationChain msgs) { + Term oldRightOperand = rightOperand; + rightOperand = newRightOperand; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.IFF__RIGHT_OPERAND, oldRightOperand, newRightOperand); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setRightOperand(Term newRightOperand) { + if (newRightOperand != rightOperand) { + NotificationChain msgs = null; + if (rightOperand != null) + msgs = ((InternalEObject)rightOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.IFF__RIGHT_OPERAND, null, msgs); + if (newRightOperand != null) + msgs = ((InternalEObject)newRightOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.IFF__RIGHT_OPERAND, null, msgs); + msgs = basicSetRightOperand(newRightOperand, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.IFF__RIGHT_OPERAND, newRightOperand, newRightOperand)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case LogiclanguagePackage.IFF__LEFT_OPERAND: + return basicSetLeftOperand(null, msgs); + case LogiclanguagePackage.IFF__RIGHT_OPERAND: + return basicSetRightOperand(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case LogiclanguagePackage.IFF__LEFT_OPERAND: + return getLeftOperand(); + case LogiclanguagePackage.IFF__RIGHT_OPERAND: + return getRightOperand(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case LogiclanguagePackage.IFF__LEFT_OPERAND: + setLeftOperand((Term)newValue); + return; + case LogiclanguagePackage.IFF__RIGHT_OPERAND: + setRightOperand((Term)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case LogiclanguagePackage.IFF__LEFT_OPERAND: + setLeftOperand((Term)null); + return; + case LogiclanguagePackage.IFF__RIGHT_OPERAND: + setRightOperand((Term)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case LogiclanguagePackage.IFF__LEFT_OPERAND: + return leftOperand != null; + case LogiclanguagePackage.IFF__RIGHT_OPERAND: + return rightOperand != null; + } + return super.eIsSet(featureID); + } + +} //IffImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/ImplImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/ImplImpl.java new file mode 100644 index 00000000..af915e5d --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/ImplImpl.java @@ -0,0 +1,241 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Impl; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'Impl'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ImplImpl#getLeftOperand Left Operand}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.ImplImpl#getRightOperand Right Operand}
  • + *
+ * + * @generated + */ +public class ImplImpl extends BoolOperationImpl implements Impl { + /** + * The cached value of the '{@link #getLeftOperand() Left Operand}' containment reference. + * + * + * @see #getLeftOperand() + * @generated + * @ordered + */ + protected Term leftOperand; + + /** + * The cached value of the '{@link #getRightOperand() Right Operand}' containment reference. + * + * + * @see #getRightOperand() + * @generated + * @ordered + */ + protected Term rightOperand; + + /** + * + * + * @generated + */ + protected ImplImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogiclanguagePackage.Literals.IMPL; + } + + /** + * + * + * @generated + */ + public Term getLeftOperand() { + return leftOperand; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetLeftOperand(Term newLeftOperand, NotificationChain msgs) { + Term oldLeftOperand = leftOperand; + leftOperand = newLeftOperand; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.IMPL__LEFT_OPERAND, oldLeftOperand, newLeftOperand); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setLeftOperand(Term newLeftOperand) { + if (newLeftOperand != leftOperand) { + NotificationChain msgs = null; + if (leftOperand != null) + msgs = ((InternalEObject)leftOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.IMPL__LEFT_OPERAND, null, msgs); + if (newLeftOperand != null) + msgs = ((InternalEObject)newLeftOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.IMPL__LEFT_OPERAND, null, msgs); + msgs = basicSetLeftOperand(newLeftOperand, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.IMPL__LEFT_OPERAND, newLeftOperand, newLeftOperand)); + } + + /** + * + * + * @generated + */ + public Term getRightOperand() { + return rightOperand; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetRightOperand(Term newRightOperand, NotificationChain msgs) { + Term oldRightOperand = rightOperand; + rightOperand = newRightOperand; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.IMPL__RIGHT_OPERAND, oldRightOperand, newRightOperand); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setRightOperand(Term newRightOperand) { + if (newRightOperand != rightOperand) { + NotificationChain msgs = null; + if (rightOperand != null) + msgs = ((InternalEObject)rightOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.IMPL__RIGHT_OPERAND, null, msgs); + if (newRightOperand != null) + msgs = ((InternalEObject)newRightOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.IMPL__RIGHT_OPERAND, null, msgs); + msgs = basicSetRightOperand(newRightOperand, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.IMPL__RIGHT_OPERAND, newRightOperand, newRightOperand)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case LogiclanguagePackage.IMPL__LEFT_OPERAND: + return basicSetLeftOperand(null, msgs); + case LogiclanguagePackage.IMPL__RIGHT_OPERAND: + return basicSetRightOperand(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case LogiclanguagePackage.IMPL__LEFT_OPERAND: + return getLeftOperand(); + case LogiclanguagePackage.IMPL__RIGHT_OPERAND: + return getRightOperand(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case LogiclanguagePackage.IMPL__LEFT_OPERAND: + setLeftOperand((Term)newValue); + return; + case LogiclanguagePackage.IMPL__RIGHT_OPERAND: + setRightOperand((Term)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case LogiclanguagePackage.IMPL__LEFT_OPERAND: + setLeftOperand((Term)null); + return; + case LogiclanguagePackage.IMPL__RIGHT_OPERAND: + setRightOperand((Term)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case LogiclanguagePackage.IMPL__LEFT_OPERAND: + return leftOperand != null; + case LogiclanguagePackage.IMPL__RIGHT_OPERAND: + return rightOperand != null; + } + return super.eIsSet(featureID); + } + +} //ImplImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/InstanceOfImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/InstanceOfImpl.java new file mode 100644 index 00000000..9d36b076 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/InstanceOfImpl.java @@ -0,0 +1,242 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.InstanceOf; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeReference; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'Instance Of'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.InstanceOfImpl#getValue Value}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.InstanceOfImpl#getRange Range}
  • + *
+ * + * @generated + */ +public class InstanceOfImpl extends TermImpl implements InstanceOf { + /** + * The cached value of the '{@link #getValue() Value}' containment reference. + * + * + * @see #getValue() + * @generated + * @ordered + */ + protected Term value; + + /** + * The cached value of the '{@link #getRange() Range}' containment reference. + * + * + * @see #getRange() + * @generated + * @ordered + */ + protected TypeReference range; + + /** + * + * + * @generated + */ + protected InstanceOfImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogiclanguagePackage.Literals.INSTANCE_OF; + } + + /** + * + * + * @generated + */ + public Term getValue() { + return value; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetValue(Term newValue, NotificationChain msgs) { + Term oldValue = value; + value = newValue; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.INSTANCE_OF__VALUE, oldValue, newValue); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setValue(Term newValue) { + if (newValue != value) { + NotificationChain msgs = null; + if (value != null) + msgs = ((InternalEObject)value).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.INSTANCE_OF__VALUE, null, msgs); + if (newValue != null) + msgs = ((InternalEObject)newValue).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.INSTANCE_OF__VALUE, null, msgs); + msgs = basicSetValue(newValue, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.INSTANCE_OF__VALUE, newValue, newValue)); + } + + /** + * + * + * @generated + */ + public TypeReference getRange() { + return range; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetRange(TypeReference newRange, NotificationChain msgs) { + TypeReference oldRange = range; + range = newRange; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.INSTANCE_OF__RANGE, oldRange, newRange); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setRange(TypeReference newRange) { + if (newRange != range) { + NotificationChain msgs = null; + if (range != null) + msgs = ((InternalEObject)range).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.INSTANCE_OF__RANGE, null, msgs); + if (newRange != null) + msgs = ((InternalEObject)newRange).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.INSTANCE_OF__RANGE, null, msgs); + msgs = basicSetRange(newRange, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.INSTANCE_OF__RANGE, newRange, newRange)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case LogiclanguagePackage.INSTANCE_OF__VALUE: + return basicSetValue(null, msgs); + case LogiclanguagePackage.INSTANCE_OF__RANGE: + return basicSetRange(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case LogiclanguagePackage.INSTANCE_OF__VALUE: + return getValue(); + case LogiclanguagePackage.INSTANCE_OF__RANGE: + return getRange(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case LogiclanguagePackage.INSTANCE_OF__VALUE: + setValue((Term)newValue); + return; + case LogiclanguagePackage.INSTANCE_OF__RANGE: + setRange((TypeReference)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case LogiclanguagePackage.INSTANCE_OF__VALUE: + setValue((Term)null); + return; + case LogiclanguagePackage.INSTANCE_OF__RANGE: + setRange((TypeReference)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case LogiclanguagePackage.INSTANCE_OF__VALUE: + return value != null; + case LogiclanguagePackage.INSTANCE_OF__RANGE: + return range != null; + } + return super.eIsSet(featureID); + } + +} //InstanceOfImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/IntLiteralImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/IntLiteralImpl.java new file mode 100644 index 00000000..c0ec1001 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/IntLiteralImpl.java @@ -0,0 +1,162 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntLiteral; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'Int Literal'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.IntLiteralImpl#getValue Value}
  • + *
+ * + * @generated + */ +public class IntLiteralImpl extends AtomicTermImpl implements IntLiteral { + /** + * The default value of the '{@link #getValue() Value}' attribute. + * + * + * @see #getValue() + * @generated + * @ordered + */ + protected static final int VALUE_EDEFAULT = 0; + + /** + * The cached value of the '{@link #getValue() Value}' attribute. + * + * + * @see #getValue() + * @generated + * @ordered + */ + protected int value = VALUE_EDEFAULT; + + /** + * + * + * @generated + */ + protected IntLiteralImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogiclanguagePackage.Literals.INT_LITERAL; + } + + /** + * + * + * @generated + */ + public int getValue() { + return value; + } + + /** + * + * + * @generated + */ + public void setValue(int newValue) { + int oldValue = value; + value = newValue; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.INT_LITERAL__VALUE, oldValue, value)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case LogiclanguagePackage.INT_LITERAL__VALUE: + return getValue(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case LogiclanguagePackage.INT_LITERAL__VALUE: + setValue((Integer)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case LogiclanguagePackage.INT_LITERAL__VALUE: + setValue(VALUE_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case LogiclanguagePackage.INT_LITERAL__VALUE: + return value != VALUE_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (value: "); + result.append(value); + result.append(')'); + return result.toString(); + } + +} //IntLiteralImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/IntOperationImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/IntOperationImpl.java new file mode 100644 index 00000000..dab1f9ec --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/IntOperationImpl.java @@ -0,0 +1,241 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntOperation; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'Int Operation'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.IntOperationImpl#getLeftOperand Left Operand}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.IntOperationImpl#getRightOperand Right Operand}
  • + *
+ * + * @generated + */ +public abstract class IntOperationImpl extends TermImpl implements IntOperation { + /** + * The cached value of the '{@link #getLeftOperand() Left Operand}' containment reference. + * + * + * @see #getLeftOperand() + * @generated + * @ordered + */ + protected Term leftOperand; + + /** + * The cached value of the '{@link #getRightOperand() Right Operand}' containment reference. + * + * + * @see #getRightOperand() + * @generated + * @ordered + */ + protected Term rightOperand; + + /** + * + * + * @generated + */ + protected IntOperationImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogiclanguagePackage.Literals.INT_OPERATION; + } + + /** + * + * + * @generated + */ + public Term getLeftOperand() { + return leftOperand; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetLeftOperand(Term newLeftOperand, NotificationChain msgs) { + Term oldLeftOperand = leftOperand; + leftOperand = newLeftOperand; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.INT_OPERATION__LEFT_OPERAND, oldLeftOperand, newLeftOperand); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setLeftOperand(Term newLeftOperand) { + if (newLeftOperand != leftOperand) { + NotificationChain msgs = null; + if (leftOperand != null) + msgs = ((InternalEObject)leftOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.INT_OPERATION__LEFT_OPERAND, null, msgs); + if (newLeftOperand != null) + msgs = ((InternalEObject)newLeftOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.INT_OPERATION__LEFT_OPERAND, null, msgs); + msgs = basicSetLeftOperand(newLeftOperand, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.INT_OPERATION__LEFT_OPERAND, newLeftOperand, newLeftOperand)); + } + + /** + * + * + * @generated + */ + public Term getRightOperand() { + return rightOperand; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetRightOperand(Term newRightOperand, NotificationChain msgs) { + Term oldRightOperand = rightOperand; + rightOperand = newRightOperand; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.INT_OPERATION__RIGHT_OPERAND, oldRightOperand, newRightOperand); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setRightOperand(Term newRightOperand) { + if (newRightOperand != rightOperand) { + NotificationChain msgs = null; + if (rightOperand != null) + msgs = ((InternalEObject)rightOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.INT_OPERATION__RIGHT_OPERAND, null, msgs); + if (newRightOperand != null) + msgs = ((InternalEObject)newRightOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.INT_OPERATION__RIGHT_OPERAND, null, msgs); + msgs = basicSetRightOperand(newRightOperand, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.INT_OPERATION__RIGHT_OPERAND, newRightOperand, newRightOperand)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case LogiclanguagePackage.INT_OPERATION__LEFT_OPERAND: + return basicSetLeftOperand(null, msgs); + case LogiclanguagePackage.INT_OPERATION__RIGHT_OPERAND: + return basicSetRightOperand(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case LogiclanguagePackage.INT_OPERATION__LEFT_OPERAND: + return getLeftOperand(); + case LogiclanguagePackage.INT_OPERATION__RIGHT_OPERAND: + return getRightOperand(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case LogiclanguagePackage.INT_OPERATION__LEFT_OPERAND: + setLeftOperand((Term)newValue); + return; + case LogiclanguagePackage.INT_OPERATION__RIGHT_OPERAND: + setRightOperand((Term)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case LogiclanguagePackage.INT_OPERATION__LEFT_OPERAND: + setLeftOperand((Term)null); + return; + case LogiclanguagePackage.INT_OPERATION__RIGHT_OPERAND: + setRightOperand((Term)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case LogiclanguagePackage.INT_OPERATION__LEFT_OPERAND: + return leftOperand != null; + case LogiclanguagePackage.INT_OPERATION__RIGHT_OPERAND: + return rightOperand != null; + } + return super.eIsSet(featureID); + } + +} //IntOperationImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/IntTypeReferenceImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/IntTypeReferenceImpl.java new file mode 100644 index 00000000..fc40a3ae --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/IntTypeReferenceImpl.java @@ -0,0 +1,37 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntTypeReference; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; + +import org.eclipse.emf.ecore.EClass; + +/** + * + * An implementation of the model object 'Int Type Reference'. + * + * + * @generated + */ +public class IntTypeReferenceImpl extends PrimitiveTypeReferenceImpl implements IntTypeReference { + /** + * + * + * @generated + */ + protected IntTypeReferenceImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogiclanguagePackage.Literals.INT_TYPE_REFERENCE; + } + +} //IntTypeReferenceImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/LessOrEqualThanImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/LessOrEqualThanImpl.java new file mode 100644 index 00000000..4213ad37 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/LessOrEqualThanImpl.java @@ -0,0 +1,241 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LessOrEqualThan; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'Less Or Equal Than'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LessOrEqualThanImpl#getLeftOperand Left Operand}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LessOrEqualThanImpl#getRightOperand Right Operand}
  • + *
+ * + * @generated + */ +public class LessOrEqualThanImpl extends PrimitiveRelationImpl implements LessOrEqualThan { + /** + * The cached value of the '{@link #getLeftOperand() Left Operand}' containment reference. + * + * + * @see #getLeftOperand() + * @generated + * @ordered + */ + protected Term leftOperand; + + /** + * The cached value of the '{@link #getRightOperand() Right Operand}' containment reference. + * + * + * @see #getRightOperand() + * @generated + * @ordered + */ + protected Term rightOperand; + + /** + * + * + * @generated + */ + protected LessOrEqualThanImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogiclanguagePackage.Literals.LESS_OR_EQUAL_THAN; + } + + /** + * + * + * @generated + */ + public Term getLeftOperand() { + return leftOperand; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetLeftOperand(Term newLeftOperand, NotificationChain msgs) { + Term oldLeftOperand = leftOperand; + leftOperand = newLeftOperand; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.LESS_OR_EQUAL_THAN__LEFT_OPERAND, oldLeftOperand, newLeftOperand); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setLeftOperand(Term newLeftOperand) { + if (newLeftOperand != leftOperand) { + NotificationChain msgs = null; + if (leftOperand != null) + msgs = ((InternalEObject)leftOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.LESS_OR_EQUAL_THAN__LEFT_OPERAND, null, msgs); + if (newLeftOperand != null) + msgs = ((InternalEObject)newLeftOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.LESS_OR_EQUAL_THAN__LEFT_OPERAND, null, msgs); + msgs = basicSetLeftOperand(newLeftOperand, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.LESS_OR_EQUAL_THAN__LEFT_OPERAND, newLeftOperand, newLeftOperand)); + } + + /** + * + * + * @generated + */ + public Term getRightOperand() { + return rightOperand; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetRightOperand(Term newRightOperand, NotificationChain msgs) { + Term oldRightOperand = rightOperand; + rightOperand = newRightOperand; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.LESS_OR_EQUAL_THAN__RIGHT_OPERAND, oldRightOperand, newRightOperand); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setRightOperand(Term newRightOperand) { + if (newRightOperand != rightOperand) { + NotificationChain msgs = null; + if (rightOperand != null) + msgs = ((InternalEObject)rightOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.LESS_OR_EQUAL_THAN__RIGHT_OPERAND, null, msgs); + if (newRightOperand != null) + msgs = ((InternalEObject)newRightOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.LESS_OR_EQUAL_THAN__RIGHT_OPERAND, null, msgs); + msgs = basicSetRightOperand(newRightOperand, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.LESS_OR_EQUAL_THAN__RIGHT_OPERAND, newRightOperand, newRightOperand)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case LogiclanguagePackage.LESS_OR_EQUAL_THAN__LEFT_OPERAND: + return basicSetLeftOperand(null, msgs); + case LogiclanguagePackage.LESS_OR_EQUAL_THAN__RIGHT_OPERAND: + return basicSetRightOperand(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case LogiclanguagePackage.LESS_OR_EQUAL_THAN__LEFT_OPERAND: + return getLeftOperand(); + case LogiclanguagePackage.LESS_OR_EQUAL_THAN__RIGHT_OPERAND: + return getRightOperand(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case LogiclanguagePackage.LESS_OR_EQUAL_THAN__LEFT_OPERAND: + setLeftOperand((Term)newValue); + return; + case LogiclanguagePackage.LESS_OR_EQUAL_THAN__RIGHT_OPERAND: + setRightOperand((Term)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case LogiclanguagePackage.LESS_OR_EQUAL_THAN__LEFT_OPERAND: + setLeftOperand((Term)null); + return; + case LogiclanguagePackage.LESS_OR_EQUAL_THAN__RIGHT_OPERAND: + setRightOperand((Term)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case LogiclanguagePackage.LESS_OR_EQUAL_THAN__LEFT_OPERAND: + return leftOperand != null; + case LogiclanguagePackage.LESS_OR_EQUAL_THAN__RIGHT_OPERAND: + return rightOperand != null; + } + return super.eIsSet(featureID); + } + +} //LessOrEqualThanImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/LessThanImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/LessThanImpl.java new file mode 100644 index 00000000..8a36abdd --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/LessThanImpl.java @@ -0,0 +1,241 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LessThan; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'Less Than'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LessThanImpl#getLeftOperand Left Operand}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LessThanImpl#getRightOperand Right Operand}
  • + *
+ * + * @generated + */ +public class LessThanImpl extends PrimitiveRelationImpl implements LessThan { + /** + * The cached value of the '{@link #getLeftOperand() Left Operand}' containment reference. + * + * + * @see #getLeftOperand() + * @generated + * @ordered + */ + protected Term leftOperand; + + /** + * The cached value of the '{@link #getRightOperand() Right Operand}' containment reference. + * + * + * @see #getRightOperand() + * @generated + * @ordered + */ + protected Term rightOperand; + + /** + * + * + * @generated + */ + protected LessThanImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogiclanguagePackage.Literals.LESS_THAN; + } + + /** + * + * + * @generated + */ + public Term getLeftOperand() { + return leftOperand; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetLeftOperand(Term newLeftOperand, NotificationChain msgs) { + Term oldLeftOperand = leftOperand; + leftOperand = newLeftOperand; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.LESS_THAN__LEFT_OPERAND, oldLeftOperand, newLeftOperand); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setLeftOperand(Term newLeftOperand) { + if (newLeftOperand != leftOperand) { + NotificationChain msgs = null; + if (leftOperand != null) + msgs = ((InternalEObject)leftOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.LESS_THAN__LEFT_OPERAND, null, msgs); + if (newLeftOperand != null) + msgs = ((InternalEObject)newLeftOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.LESS_THAN__LEFT_OPERAND, null, msgs); + msgs = basicSetLeftOperand(newLeftOperand, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.LESS_THAN__LEFT_OPERAND, newLeftOperand, newLeftOperand)); + } + + /** + * + * + * @generated + */ + public Term getRightOperand() { + return rightOperand; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetRightOperand(Term newRightOperand, NotificationChain msgs) { + Term oldRightOperand = rightOperand; + rightOperand = newRightOperand; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.LESS_THAN__RIGHT_OPERAND, oldRightOperand, newRightOperand); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setRightOperand(Term newRightOperand) { + if (newRightOperand != rightOperand) { + NotificationChain msgs = null; + if (rightOperand != null) + msgs = ((InternalEObject)rightOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.LESS_THAN__RIGHT_OPERAND, null, msgs); + if (newRightOperand != null) + msgs = ((InternalEObject)newRightOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.LESS_THAN__RIGHT_OPERAND, null, msgs); + msgs = basicSetRightOperand(newRightOperand, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.LESS_THAN__RIGHT_OPERAND, newRightOperand, newRightOperand)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case LogiclanguagePackage.LESS_THAN__LEFT_OPERAND: + return basicSetLeftOperand(null, msgs); + case LogiclanguagePackage.LESS_THAN__RIGHT_OPERAND: + return basicSetRightOperand(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case LogiclanguagePackage.LESS_THAN__LEFT_OPERAND: + return getLeftOperand(); + case LogiclanguagePackage.LESS_THAN__RIGHT_OPERAND: + return getRightOperand(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case LogiclanguagePackage.LESS_THAN__LEFT_OPERAND: + setLeftOperand((Term)newValue); + return; + case LogiclanguagePackage.LESS_THAN__RIGHT_OPERAND: + setRightOperand((Term)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case LogiclanguagePackage.LESS_THAN__LEFT_OPERAND: + setLeftOperand((Term)null); + return; + case LogiclanguagePackage.LESS_THAN__RIGHT_OPERAND: + setRightOperand((Term)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case LogiclanguagePackage.LESS_THAN__LEFT_OPERAND: + return leftOperand != null; + case LogiclanguagePackage.LESS_THAN__RIGHT_OPERAND: + return rightOperand != null; + } + return super.eIsSet(featureID); + } + +} //LessThanImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/LogiclanguageFactoryImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/LogiclanguageFactoryImpl.java new file mode 100644 index 00000000..876947e4 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/LogiclanguageFactoryImpl.java @@ -0,0 +1,524 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.*; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.impl.EFactoryImpl; + +import org.eclipse.emf.ecore.plugin.EcorePlugin; + +/** + * + * An implementation of the model Factory. + * + * @generated + */ +public class LogiclanguageFactoryImpl extends EFactoryImpl implements LogiclanguageFactory { + /** + * Creates the default factory implementation. + * + * + * @generated + */ + public static LogiclanguageFactory init() { + try { + LogiclanguageFactory theLogiclanguageFactory = (LogiclanguageFactory)EPackage.Registry.INSTANCE.getEFactory(LogiclanguagePackage.eNS_URI); + if (theLogiclanguageFactory != null) { + return theLogiclanguageFactory; + } + } + catch (Exception exception) { + EcorePlugin.INSTANCE.log(exception); + } + return new LogiclanguageFactoryImpl(); + } + + /** + * Creates an instance of the factory. + * + * + * @generated + */ + public LogiclanguageFactoryImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + public EObject create(EClass eClass) { + switch (eClass.getClassifierID()) { + case LogiclanguagePackage.DEFINED_ELEMENT: return createDefinedElement(); + case LogiclanguagePackage.TYPE_DEFINITION: return createTypeDefinition(); + case LogiclanguagePackage.COMPLEX_TYPE_REFERENCE: return createComplexTypeReference(); + case LogiclanguagePackage.INT_TYPE_REFERENCE: return createIntTypeReference(); + case LogiclanguagePackage.BOOL_TYPE_REFERENCE: return createBoolTypeReference(); + case LogiclanguagePackage.REAL_TYPE_REFERENCE: return createRealTypeReference(); + case LogiclanguagePackage.SYMBOLIC_VALUE: return createSymbolicValue(); + case LogiclanguagePackage.INT_LITERAL: return createIntLiteral(); + case LogiclanguagePackage.BOOL_LITERAL: return createBoolLiteral(); + case LogiclanguagePackage.REAL_LITERAL: return createRealLiteral(); + case LogiclanguagePackage.VARIABLE: return createVariable(); + case LogiclanguagePackage.EXISTS: return createExists(); + case LogiclanguagePackage.FORALL: return createForall(); + case LogiclanguagePackage.AND: return createAnd(); + case LogiclanguagePackage.OR: return createOr(); + case LogiclanguagePackage.IMPL: return createImpl(); + case LogiclanguagePackage.NOT: return createNot(); + case LogiclanguagePackage.IFF: return createIff(); + case LogiclanguagePackage.EQUALS: return createEquals(); + case LogiclanguagePackage.DISTINCT: return createDistinct(); + case LogiclanguagePackage.LESS_THAN: return createLessThan(); + case LogiclanguagePackage.MORE_THAN: return createMoreThan(); + case LogiclanguagePackage.LESS_OR_EQUAL_THAN: return createLessOrEqualThan(); + case LogiclanguagePackage.MORE_OR_EQUAL_THAN: return createMoreOrEqualThan(); + case LogiclanguagePackage.PLUS: return createPlus(); + case LogiclanguagePackage.MINUS: return createMinus(); + case LogiclanguagePackage.MULTIPLY: return createMultiply(); + case LogiclanguagePackage.DIVISON: return createDivison(); + case LogiclanguagePackage.MOD: return createMod(); + case LogiclanguagePackage.ASSERTION: return createAssertion(); + case LogiclanguagePackage.CONSTANT_DEFINITION: return createConstantDefinition(); + case LogiclanguagePackage.RELATION_DEFINITION: return createRelationDefinition(); + case LogiclanguagePackage.FUNCTION_DEFINITION: return createFunctionDefinition(); + case LogiclanguagePackage.IF_THEN_ELSE: return createIfThenElse(); + case LogiclanguagePackage.CONSTANT_DECLARATION: return createConstantDeclaration(); + case LogiclanguagePackage.RELATION_DECLARATION: return createRelationDeclaration(); + case LogiclanguagePackage.FUNCTION_DECLARATION: return createFunctionDeclaration(); + case LogiclanguagePackage.TYPE_DECLARATION: return createTypeDeclaration(); + case LogiclanguagePackage.UNKNOWN_BECAUSE_UNINTERPRETED: return createUnknownBecauseUninterpreted(); + case LogiclanguagePackage.INSTANCE_OF: return createInstanceOf(); + default: + throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); + } + } + + /** + * + * + * @generated + */ + public DefinedElement createDefinedElement() { + DefinedElementImpl definedElement = new DefinedElementImpl(); + return definedElement; + } + + /** + * + * + * @generated + */ + public TypeDefinition createTypeDefinition() { + TypeDefinitionImpl typeDefinition = new TypeDefinitionImpl(); + return typeDefinition; + } + + /** + * + * + * @generated + */ + public ComplexTypeReference createComplexTypeReference() { + ComplexTypeReferenceImpl complexTypeReference = new ComplexTypeReferenceImpl(); + return complexTypeReference; + } + + /** + * + * + * @generated + */ + public IntTypeReference createIntTypeReference() { + IntTypeReferenceImpl intTypeReference = new IntTypeReferenceImpl(); + return intTypeReference; + } + + /** + * + * + * @generated + */ + public BoolTypeReference createBoolTypeReference() { + BoolTypeReferenceImpl boolTypeReference = new BoolTypeReferenceImpl(); + return boolTypeReference; + } + + /** + * + * + * @generated + */ + public RealTypeReference createRealTypeReference() { + RealTypeReferenceImpl realTypeReference = new RealTypeReferenceImpl(); + return realTypeReference; + } + + /** + * + * + * @generated + */ + public SymbolicValue createSymbolicValue() { + SymbolicValueImpl symbolicValue = new SymbolicValueImpl(); + return symbolicValue; + } + + /** + * + * + * @generated + */ + public IntLiteral createIntLiteral() { + IntLiteralImpl intLiteral = new IntLiteralImpl(); + return intLiteral; + } + + /** + * + * + * @generated + */ + public BoolLiteral createBoolLiteral() { + BoolLiteralImpl boolLiteral = new BoolLiteralImpl(); + return boolLiteral; + } + + /** + * + * + * @generated + */ + public RealLiteral createRealLiteral() { + RealLiteralImpl realLiteral = new RealLiteralImpl(); + return realLiteral; + } + + /** + * + * + * @generated + */ + public Variable createVariable() { + VariableImpl variable = new VariableImpl(); + return variable; + } + + /** + * + * + * @generated + */ + public Exists createExists() { + ExistsImpl exists = new ExistsImpl(); + return exists; + } + + /** + * + * + * @generated + */ + public Forall createForall() { + ForallImpl forall = new ForallImpl(); + return forall; + } + + /** + * + * + * @generated + */ + public And createAnd() { + AndImpl and = new AndImpl(); + return and; + } + + /** + * + * + * @generated + */ + public Or createOr() { + OrImpl or = new OrImpl(); + return or; + } + + /** + * + * + * @generated + */ + public Impl createImpl() { + ImplImpl impl = new ImplImpl(); + return impl; + } + + /** + * + * + * @generated + */ + public Not createNot() { + NotImpl not = new NotImpl(); + return not; + } + + /** + * + * + * @generated + */ + public Iff createIff() { + IffImpl iff = new IffImpl(); + return iff; + } + + /** + * + * + * @generated + */ + public Equals createEquals() { + EqualsImpl equals = new EqualsImpl(); + return equals; + } + + /** + * + * + * @generated + */ + public Distinct createDistinct() { + DistinctImpl distinct = new DistinctImpl(); + return distinct; + } + + /** + * + * + * @generated + */ + public LessThan createLessThan() { + LessThanImpl lessThan = new LessThanImpl(); + return lessThan; + } + + /** + * + * + * @generated + */ + public MoreThan createMoreThan() { + MoreThanImpl moreThan = new MoreThanImpl(); + return moreThan; + } + + /** + * + * + * @generated + */ + public LessOrEqualThan createLessOrEqualThan() { + LessOrEqualThanImpl lessOrEqualThan = new LessOrEqualThanImpl(); + return lessOrEqualThan; + } + + /** + * + * + * @generated + */ + public MoreOrEqualThan createMoreOrEqualThan() { + MoreOrEqualThanImpl moreOrEqualThan = new MoreOrEqualThanImpl(); + return moreOrEqualThan; + } + + /** + * + * + * @generated + */ + public Plus createPlus() { + PlusImpl plus = new PlusImpl(); + return plus; + } + + /** + * + * + * @generated + */ + public Minus createMinus() { + MinusImpl minus = new MinusImpl(); + return minus; + } + + /** + * + * + * @generated + */ + public Multiply createMultiply() { + MultiplyImpl multiply = new MultiplyImpl(); + return multiply; + } + + /** + * + * + * @generated + */ + public Divison createDivison() { + DivisonImpl divison = new DivisonImpl(); + return divison; + } + + /** + * + * + * @generated + */ + public Mod createMod() { + ModImpl mod = new ModImpl(); + return mod; + } + + /** + * + * + * @generated + */ + public Assertion createAssertion() { + AssertionImpl assertion = new AssertionImpl(); + return assertion; + } + + /** + * + * + * @generated + */ + public ConstantDefinition createConstantDefinition() { + ConstantDefinitionImpl constantDefinition = new ConstantDefinitionImpl(); + return constantDefinition; + } + + /** + * + * + * @generated + */ + public RelationDefinition createRelationDefinition() { + RelationDefinitionImpl relationDefinition = new RelationDefinitionImpl(); + return relationDefinition; + } + + /** + * + * + * @generated + */ + public FunctionDefinition createFunctionDefinition() { + FunctionDefinitionImpl functionDefinition = new FunctionDefinitionImpl(); + return functionDefinition; + } + + /** + * + * + * @generated + */ + public IfThenElse createIfThenElse() { + IfThenElseImpl ifThenElse = new IfThenElseImpl(); + return ifThenElse; + } + + /** + * + * + * @generated + */ + public ConstantDeclaration createConstantDeclaration() { + ConstantDeclarationImpl constantDeclaration = new ConstantDeclarationImpl(); + return constantDeclaration; + } + + /** + * + * + * @generated + */ + public RelationDeclaration createRelationDeclaration() { + RelationDeclarationImpl relationDeclaration = new RelationDeclarationImpl(); + return relationDeclaration; + } + + /** + * + * + * @generated + */ + public FunctionDeclaration createFunctionDeclaration() { + FunctionDeclarationImpl functionDeclaration = new FunctionDeclarationImpl(); + return functionDeclaration; + } + + /** + * + * + * @generated + */ + public TypeDeclaration createTypeDeclaration() { + TypeDeclarationImpl typeDeclaration = new TypeDeclarationImpl(); + return typeDeclaration; + } + + /** + * + * + * @generated + */ + public UnknownBecauseUninterpreted createUnknownBecauseUninterpreted() { + UnknownBecauseUninterpretedImpl unknownBecauseUninterpreted = new UnknownBecauseUninterpretedImpl(); + return unknownBecauseUninterpreted; + } + + /** + * + * + * @generated + */ + public InstanceOf createInstanceOf() { + InstanceOfImpl instanceOf = new InstanceOfImpl(); + return instanceOf; + } + + /** + * + * + * @generated + */ + public LogiclanguagePackage getLogiclanguagePackage() { + return (LogiclanguagePackage)getEPackage(); + } + + /** + * + * + * @deprecated + * @generated + */ + @Deprecated + public static LogiclanguagePackage getPackage() { + return LogiclanguagePackage.eINSTANCE; + } + +} //LogiclanguageFactoryImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/LogiclanguagePackageImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/LogiclanguagePackageImpl.java new file mode 100644 index 00000000..b73d679d --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/LogiclanguagePackageImpl.java @@ -0,0 +1,2032 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.And; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Assertion; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.AtomicTerm; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.BoolLiteral; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.BoolOperation; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.BoolTypeReference; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ComplexTypeReference; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Constant; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ConstantDeclaration; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ConstantDefinition; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.DefinedElement; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Distinct; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Divison; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Equals; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Exists; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Forall; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Function; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.FunctionDeclaration; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.FunctionDefinition; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IfThenElse; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Iff; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Impl; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.InstanceOf; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntLiteral; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntOperation; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntTypeReference; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LessOrEqualThan; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LessThan; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguageFactory; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Minus; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Mod; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.MoreOrEqualThan; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.MoreThan; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Multiply; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Not; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Or; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Plus; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.PrimitiveRelation; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.PrimitiveTypeReference; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.QuantifiedExpression; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RealLiteral; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RealTypeReference; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Relation; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDeclaration; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDefinition; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.SymbolicDeclaration; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.SymbolicValue; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TermDescription; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDeclaration; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDefinition; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDescriptor; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeReference; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.UnknownBecauseUninterpreted; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Variable; + +import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage; + +import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.LogicproblemPackageImpl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage; + +import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicresultPackageImpl; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; + +import org.eclipse.emf.ecore.impl.EPackageImpl; + +/** + * + * An implementation of the model Package. + * + * @generated + */ +public class LogiclanguagePackageImpl extends EPackageImpl implements LogiclanguagePackage { + /** + * + * + * @generated + */ + private EClass typeEClass = null; + + /** + * + * + * @generated + */ + private EClass definedElementEClass = null; + + /** + * + * + * @generated + */ + private EClass typeDefinitionEClass = null; + + /** + * + * + * @generated + */ + private EClass typeReferenceEClass = null; + + /** + * + * + * @generated + */ + private EClass complexTypeReferenceEClass = null; + + /** + * + * + * @generated + */ + private EClass primitiveTypeReferenceEClass = null; + + /** + * + * + * @generated + */ + private EClass intTypeReferenceEClass = null; + + /** + * + * + * @generated + */ + private EClass boolTypeReferenceEClass = null; + + /** + * + * + * @generated + */ + private EClass realTypeReferenceEClass = null; + + /** + * + * + * @generated + */ + private EClass functionEClass = null; + + /** + * + * + * @generated + */ + private EClass termEClass = null; + + /** + * + * + * @generated + */ + private EClass symbolicDeclarationEClass = null; + + /** + * + * + * @generated + */ + private EClass symbolicValueEClass = null; + + /** + * + * + * @generated + */ + private EClass atomicTermEClass = null; + + /** + * + * + * @generated + */ + private EClass intLiteralEClass = null; + + /** + * + * + * @generated + */ + private EClass boolLiteralEClass = null; + + /** + * + * + * @generated + */ + private EClass realLiteralEClass = null; + + /** + * + * + * @generated + */ + private EClass variableEClass = null; + + /** + * + * + * @generated + */ + private EClass quantifiedExpressionEClass = null; + + /** + * + * + * @generated + */ + private EClass existsEClass = null; + + /** + * + * + * @generated + */ + private EClass forallEClass = null; + + /** + * + * + * @generated + */ + private EClass boolOperationEClass = null; + + /** + * + * + * @generated + */ + private EClass andEClass = null; + + /** + * + * + * @generated + */ + private EClass orEClass = null; + + /** + * + * + * @generated + */ + private EClass implEClass = null; + + /** + * + * + * @generated + */ + private EClass notEClass = null; + + /** + * + * + * @generated + */ + private EClass iffEClass = null; + + /** + * + * + * @generated + */ + private EClass primitiveRelationEClass = null; + + /** + * + * + * @generated + */ + private EClass equalsEClass = null; + + /** + * + * + * @generated + */ + private EClass distinctEClass = null; + + /** + * + * + * @generated + */ + private EClass lessThanEClass = null; + + /** + * + * + * @generated + */ + private EClass moreThanEClass = null; + + /** + * + * + * @generated + */ + private EClass lessOrEqualThanEClass = null; + + /** + * + * + * @generated + */ + private EClass moreOrEqualThanEClass = null; + + /** + * + * + * @generated + */ + private EClass intOperationEClass = null; + + /** + * + * + * @generated + */ + private EClass plusEClass = null; + + /** + * + * + * @generated + */ + private EClass minusEClass = null; + + /** + * + * + * @generated + */ + private EClass multiplyEClass = null; + + /** + * + * + * @generated + */ + private EClass divisonEClass = null; + + /** + * + * + * @generated + */ + private EClass modEClass = null; + + /** + * + * + * @generated + */ + private EClass typeDescriptorEClass = null; + + /** + * + * + * @generated + */ + private EClass termDescriptionEClass = null; + + /** + * + * + * @generated + */ + private EClass assertionEClass = null; + + /** + * + * + * @generated + */ + private EClass relationEClass = null; + + /** + * + * + * @generated + */ + private EClass constantEClass = null; + + /** + * + * + * @generated + */ + private EClass constantDefinitionEClass = null; + + /** + * + * + * @generated + */ + private EClass relationDefinitionEClass = null; + + /** + * + * + * @generated + */ + private EClass functionDefinitionEClass = null; + + /** + * + * + * @generated + */ + private EClass ifThenElseEClass = null; + + /** + * + * + * @generated + */ + private EClass constantDeclarationEClass = null; + + /** + * + * + * @generated + */ + private EClass relationDeclarationEClass = null; + + /** + * + * + * @generated + */ + private EClass functionDeclarationEClass = null; + + /** + * + * + * @generated + */ + private EClass typeDeclarationEClass = null; + + /** + * + * + * @generated + */ + private EClass unknownBecauseUninterpretedEClass = null; + + /** + * + * + * @generated + */ + private EClass instanceOfEClass = null; + + /** + * Creates an instance of the model Package, registered with + * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package + * package URI value. + *

Note: the correct way to create the package is via the static + * factory method {@link #init init()}, which also performs + * initialization of the package, or returns the registered package, + * if one already exists. + * + * + * @see org.eclipse.emf.ecore.EPackage.Registry + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage#eNS_URI + * @see #init() + * @generated + */ + private LogiclanguagePackageImpl() { + super(eNS_URI, LogiclanguageFactory.eINSTANCE); + } + + /** + * + * + * @generated + */ + private static boolean isInited = false; + + /** + * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. + * + *

This method is used to initialize {@link LogiclanguagePackage#eINSTANCE} when that field is accessed. + * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. + * + * + * @see #eNS_URI + * @see #createPackageContents() + * @see #initializePackageContents() + * @generated + */ + public static LogiclanguagePackage init() { + if (isInited) return (LogiclanguagePackage)EPackage.Registry.INSTANCE.getEPackage(LogiclanguagePackage.eNS_URI); + + // Obtain or create and register package + LogiclanguagePackageImpl theLogiclanguagePackage = (LogiclanguagePackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof LogiclanguagePackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new LogiclanguagePackageImpl()); + + isInited = true; + + // Obtain or create and register interdependencies + LogicproblemPackageImpl theLogicproblemPackage = (LogicproblemPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(LogicproblemPackage.eNS_URI) instanceof LogicproblemPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(LogicproblemPackage.eNS_URI) : LogicproblemPackage.eINSTANCE); + LogicresultPackageImpl theLogicresultPackage = (LogicresultPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(LogicresultPackage.eNS_URI) instanceof LogicresultPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(LogicresultPackage.eNS_URI) : LogicresultPackage.eINSTANCE); + + // Create package meta-data objects + theLogiclanguagePackage.createPackageContents(); + theLogicproblemPackage.createPackageContents(); + theLogicresultPackage.createPackageContents(); + + // Initialize created meta-data + theLogiclanguagePackage.initializePackageContents(); + theLogicproblemPackage.initializePackageContents(); + theLogicresultPackage.initializePackageContents(); + + // Mark meta-data to indicate it can't be changed + theLogiclanguagePackage.freeze(); + + + // Update the registry and return the package + EPackage.Registry.INSTANCE.put(LogiclanguagePackage.eNS_URI, theLogiclanguagePackage); + return theLogiclanguagePackage; + } + + /** + * + * + * @generated + */ + public EClass getType() { + return typeEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getType_Name() { + return (EAttribute)typeEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getType_Subtypes() { + return (EReference)typeEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EReference getType_Supertypes() { + return (EReference)typeEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EAttribute getType_IsAbstract() { + return (EAttribute)typeEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + public EClass getDefinedElement() { + return definedElementEClass; + } + + /** + * + * + * @generated + */ + public EReference getDefinedElement_DefinedInType() { + return (EReference)definedElementEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getTypeDefinition() { + return typeDefinitionEClass; + } + + /** + * + * + * @generated + */ + public EReference getTypeDefinition_Elements() { + return (EReference)typeDefinitionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getTypeDefinition_Defines() { + return (EReference)typeDefinitionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getTypeReference() { + return typeReferenceEClass; + } + + /** + * + * + * @generated + */ + public EClass getComplexTypeReference() { + return complexTypeReferenceEClass; + } + + /** + * + * + * @generated + */ + public EReference getComplexTypeReference_Referred() { + return (EReference)complexTypeReferenceEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getPrimitiveTypeReference() { + return primitiveTypeReferenceEClass; + } + + /** + * + * + * @generated + */ + public EClass getIntTypeReference() { + return intTypeReferenceEClass; + } + + /** + * + * + * @generated + */ + public EClass getBoolTypeReference() { + return boolTypeReferenceEClass; + } + + /** + * + * + * @generated + */ + public EClass getRealTypeReference() { + return realTypeReferenceEClass; + } + + /** + * + * + * @generated + */ + public EClass getFunction() { + return functionEClass; + } + + /** + * + * + * @generated + */ + public EReference getFunction_Range() { + return (EReference)functionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getFunction_Parameters() { + return (EReference)functionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EReference getFunction_Annotations() { + return (EReference)functionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EClass getTerm() { + return termEClass; + } + + /** + * + * + * @generated + */ + public EClass getSymbolicDeclaration() { + return symbolicDeclarationEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getSymbolicDeclaration_Name() { + return (EAttribute)symbolicDeclarationEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getSymbolicValue() { + return symbolicValueEClass; + } + + /** + * + * + * @generated + */ + public EReference getSymbolicValue_SymbolicReference() { + return (EReference)symbolicValueEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getSymbolicValue_ParameterSubstitutions() { + return (EReference)symbolicValueEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getAtomicTerm() { + return atomicTermEClass; + } + + /** + * + * + * @generated + */ + public EClass getIntLiteral() { + return intLiteralEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getIntLiteral_Value() { + return (EAttribute)intLiteralEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getBoolLiteral() { + return boolLiteralEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getBoolLiteral_Value() { + return (EAttribute)boolLiteralEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getRealLiteral() { + return realLiteralEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getRealLiteral_Value() { + return (EAttribute)realLiteralEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getVariable() { + return variableEClass; + } + + /** + * + * + * @generated + */ + public EReference getVariable_Range() { + return (EReference)variableEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getQuantifiedExpression() { + return quantifiedExpressionEClass; + } + + /** + * + * + * @generated + */ + public EReference getQuantifiedExpression_QuantifiedVariables() { + return (EReference)quantifiedExpressionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getQuantifiedExpression_Expression() { + return (EReference)quantifiedExpressionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getExists() { + return existsEClass; + } + + /** + * + * + * @generated + */ + public EClass getForall() { + return forallEClass; + } + + /** + * + * + * @generated + */ + public EClass getBoolOperation() { + return boolOperationEClass; + } + + /** + * + * + * @generated + */ + public EClass getAnd() { + return andEClass; + } + + /** + * + * + * @generated + */ + public EReference getAnd_Operands() { + return (EReference)andEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getOr() { + return orEClass; + } + + /** + * + * + * @generated + */ + public EReference getOr_Operands() { + return (EReference)orEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getImpl() { + return implEClass; + } + + /** + * + * + * @generated + */ + public EReference getImpl_LeftOperand() { + return (EReference)implEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getImpl_RightOperand() { + return (EReference)implEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getNot() { + return notEClass; + } + + /** + * + * + * @generated + */ + public EReference getNot_Operand() { + return (EReference)notEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getIff() { + return iffEClass; + } + + /** + * + * + * @generated + */ + public EReference getIff_LeftOperand() { + return (EReference)iffEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getIff_RightOperand() { + return (EReference)iffEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getPrimitiveRelation() { + return primitiveRelationEClass; + } + + /** + * + * + * @generated + */ + public EClass getEquals() { + return equalsEClass; + } + + /** + * + * + * @generated + */ + public EReference getEquals_LeftOperand() { + return (EReference)equalsEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getEquals_RightOperand() { + return (EReference)equalsEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getDistinct() { + return distinctEClass; + } + + /** + * + * + * @generated + */ + public EReference getDistinct_Operands() { + return (EReference)distinctEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getLessThan() { + return lessThanEClass; + } + + /** + * + * + * @generated + */ + public EReference getLessThan_LeftOperand() { + return (EReference)lessThanEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getLessThan_RightOperand() { + return (EReference)lessThanEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getMoreThan() { + return moreThanEClass; + } + + /** + * + * + * @generated + */ + public EReference getMoreThan_LeftOperand() { + return (EReference)moreThanEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getMoreThan_RightOperand() { + return (EReference)moreThanEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getLessOrEqualThan() { + return lessOrEqualThanEClass; + } + + /** + * + * + * @generated + */ + public EReference getLessOrEqualThan_LeftOperand() { + return (EReference)lessOrEqualThanEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getLessOrEqualThan_RightOperand() { + return (EReference)lessOrEqualThanEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getMoreOrEqualThan() { + return moreOrEqualThanEClass; + } + + /** + * + * + * @generated + */ + public EReference getMoreOrEqualThan_LeftOperand() { + return (EReference)moreOrEqualThanEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getMoreOrEqualThan_RightOperand() { + return (EReference)moreOrEqualThanEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getIntOperation() { + return intOperationEClass; + } + + /** + * + * + * @generated + */ + public EReference getIntOperation_LeftOperand() { + return (EReference)intOperationEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getIntOperation_RightOperand() { + return (EReference)intOperationEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getPlus() { + return plusEClass; + } + + /** + * + * + * @generated + */ + public EClass getMinus() { + return minusEClass; + } + + /** + * + * + * @generated + */ + public EClass getMultiply() { + return multiplyEClass; + } + + /** + * + * + * @generated + */ + public EClass getDivison() { + return divisonEClass; + } + + /** + * + * + * @generated + */ + public EClass getMod() { + return modEClass; + } + + /** + * + * + * @generated + */ + public EClass getTypeDescriptor() { + return typeDescriptorEClass; + } + + /** + * + * + * @generated + */ + public EClass getTermDescription() { + return termDescriptionEClass; + } + + /** + * + * + * @generated + */ + public EClass getAssertion() { + return assertionEClass; + } + + /** + * + * + * @generated + */ + public EReference getAssertion_Value() { + return (EReference)assertionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getAssertion_Name() { + return (EAttribute)assertionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EReference getAssertion_Annotations() { + return (EReference)assertionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EClass getRelation() { + return relationEClass; + } + + /** + * + * + * @generated + */ + public EReference getRelation_Parameters() { + return (EReference)relationEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getRelation_Annotations() { + return (EReference)relationEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getConstant() { + return constantEClass; + } + + /** + * + * + * @generated + */ + public EReference getConstant_Type() { + return (EReference)constantEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getConstant_Annotations() { + return (EReference)constantEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getConstantDefinition() { + return constantDefinitionEClass; + } + + /** + * + * + * @generated + */ + public EReference getConstantDefinition_Value() { + return (EReference)constantDefinitionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getConstantDefinition_Defines() { + return (EReference)constantDefinitionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getRelationDefinition() { + return relationDefinitionEClass; + } + + /** + * + * + * @generated + */ + public EReference getRelationDefinition_Variables() { + return (EReference)relationDefinitionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getRelationDefinition_Value() { + return (EReference)relationDefinitionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EReference getRelationDefinition_Defines() { + return (EReference)relationDefinitionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EClass getFunctionDefinition() { + return functionDefinitionEClass; + } + + /** + * + * + * @generated + */ + public EReference getFunctionDefinition_Variable() { + return (EReference)functionDefinitionEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getFunctionDefinition_Defines() { + return (EReference)functionDefinitionEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EReference getFunctionDefinition_Value() { + return (EReference)functionDefinitionEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EClass getIfThenElse() { + return ifThenElseEClass; + } + + /** + * + * + * @generated + */ + public EReference getIfThenElse_Condition() { + return (EReference)ifThenElseEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getIfThenElse_IfTrue() { + return (EReference)ifThenElseEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EReference getIfThenElse_IfFalse() { + return (EReference)ifThenElseEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EClass getConstantDeclaration() { + return constantDeclarationEClass; + } + + /** + * + * + * @generated + */ + public EClass getRelationDeclaration() { + return relationDeclarationEClass; + } + + /** + * + * + * @generated + */ + public EClass getFunctionDeclaration() { + return functionDeclarationEClass; + } + + /** + * + * + * @generated + */ + public EClass getTypeDeclaration() { + return typeDeclarationEClass; + } + + /** + * + * + * @generated + */ + public EClass getUnknownBecauseUninterpreted() { + return unknownBecauseUninterpretedEClass; + } + + /** + * + * + * @generated + */ + public EClass getInstanceOf() { + return instanceOfEClass; + } + + /** + * + * + * @generated + */ + public EReference getInstanceOf_Value() { + return (EReference)instanceOfEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getInstanceOf_Range() { + return (EReference)instanceOfEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public LogiclanguageFactory getLogiclanguageFactory() { + return (LogiclanguageFactory)getEFactoryInstance(); + } + + /** + * + * + * @generated + */ + private boolean isCreated = false; + + /** + * Creates the meta-model objects for the package. This method is + * guarded to have no affect on any invocation but its first. + * + * + * @generated + */ + public void createPackageContents() { + if (isCreated) return; + isCreated = true; + + // Create classes and their features + typeEClass = createEClass(TYPE); + createEAttribute(typeEClass, TYPE__NAME); + createEReference(typeEClass, TYPE__SUBTYPES); + createEReference(typeEClass, TYPE__SUPERTYPES); + createEAttribute(typeEClass, TYPE__IS_ABSTRACT); + + definedElementEClass = createEClass(DEFINED_ELEMENT); + createEReference(definedElementEClass, DEFINED_ELEMENT__DEFINED_IN_TYPE); + + typeDefinitionEClass = createEClass(TYPE_DEFINITION); + createEReference(typeDefinitionEClass, TYPE_DEFINITION__ELEMENTS); + createEReference(typeDefinitionEClass, TYPE_DEFINITION__DEFINES); + + typeReferenceEClass = createEClass(TYPE_REFERENCE); + + complexTypeReferenceEClass = createEClass(COMPLEX_TYPE_REFERENCE); + createEReference(complexTypeReferenceEClass, COMPLEX_TYPE_REFERENCE__REFERRED); + + primitiveTypeReferenceEClass = createEClass(PRIMITIVE_TYPE_REFERENCE); + + intTypeReferenceEClass = createEClass(INT_TYPE_REFERENCE); + + boolTypeReferenceEClass = createEClass(BOOL_TYPE_REFERENCE); + + realTypeReferenceEClass = createEClass(REAL_TYPE_REFERENCE); + + functionEClass = createEClass(FUNCTION); + createEReference(functionEClass, FUNCTION__RANGE); + createEReference(functionEClass, FUNCTION__PARAMETERS); + createEReference(functionEClass, FUNCTION__ANNOTATIONS); + + termEClass = createEClass(TERM); + + symbolicDeclarationEClass = createEClass(SYMBOLIC_DECLARATION); + createEAttribute(symbolicDeclarationEClass, SYMBOLIC_DECLARATION__NAME); + + symbolicValueEClass = createEClass(SYMBOLIC_VALUE); + createEReference(symbolicValueEClass, SYMBOLIC_VALUE__SYMBOLIC_REFERENCE); + createEReference(symbolicValueEClass, SYMBOLIC_VALUE__PARAMETER_SUBSTITUTIONS); + + atomicTermEClass = createEClass(ATOMIC_TERM); + + intLiteralEClass = createEClass(INT_LITERAL); + createEAttribute(intLiteralEClass, INT_LITERAL__VALUE); + + boolLiteralEClass = createEClass(BOOL_LITERAL); + createEAttribute(boolLiteralEClass, BOOL_LITERAL__VALUE); + + realLiteralEClass = createEClass(REAL_LITERAL); + createEAttribute(realLiteralEClass, REAL_LITERAL__VALUE); + + variableEClass = createEClass(VARIABLE); + createEReference(variableEClass, VARIABLE__RANGE); + + quantifiedExpressionEClass = createEClass(QUANTIFIED_EXPRESSION); + createEReference(quantifiedExpressionEClass, QUANTIFIED_EXPRESSION__QUANTIFIED_VARIABLES); + createEReference(quantifiedExpressionEClass, QUANTIFIED_EXPRESSION__EXPRESSION); + + existsEClass = createEClass(EXISTS); + + forallEClass = createEClass(FORALL); + + boolOperationEClass = createEClass(BOOL_OPERATION); + + andEClass = createEClass(AND); + createEReference(andEClass, AND__OPERANDS); + + orEClass = createEClass(OR); + createEReference(orEClass, OR__OPERANDS); + + implEClass = createEClass(IMPL); + createEReference(implEClass, IMPL__LEFT_OPERAND); + createEReference(implEClass, IMPL__RIGHT_OPERAND); + + notEClass = createEClass(NOT); + createEReference(notEClass, NOT__OPERAND); + + iffEClass = createEClass(IFF); + createEReference(iffEClass, IFF__LEFT_OPERAND); + createEReference(iffEClass, IFF__RIGHT_OPERAND); + + primitiveRelationEClass = createEClass(PRIMITIVE_RELATION); + + equalsEClass = createEClass(EQUALS); + createEReference(equalsEClass, EQUALS__LEFT_OPERAND); + createEReference(equalsEClass, EQUALS__RIGHT_OPERAND); + + distinctEClass = createEClass(DISTINCT); + createEReference(distinctEClass, DISTINCT__OPERANDS); + + lessThanEClass = createEClass(LESS_THAN); + createEReference(lessThanEClass, LESS_THAN__LEFT_OPERAND); + createEReference(lessThanEClass, LESS_THAN__RIGHT_OPERAND); + + moreThanEClass = createEClass(MORE_THAN); + createEReference(moreThanEClass, MORE_THAN__LEFT_OPERAND); + createEReference(moreThanEClass, MORE_THAN__RIGHT_OPERAND); + + lessOrEqualThanEClass = createEClass(LESS_OR_EQUAL_THAN); + createEReference(lessOrEqualThanEClass, LESS_OR_EQUAL_THAN__LEFT_OPERAND); + createEReference(lessOrEqualThanEClass, LESS_OR_EQUAL_THAN__RIGHT_OPERAND); + + moreOrEqualThanEClass = createEClass(MORE_OR_EQUAL_THAN); + createEReference(moreOrEqualThanEClass, MORE_OR_EQUAL_THAN__LEFT_OPERAND); + createEReference(moreOrEqualThanEClass, MORE_OR_EQUAL_THAN__RIGHT_OPERAND); + + intOperationEClass = createEClass(INT_OPERATION); + createEReference(intOperationEClass, INT_OPERATION__LEFT_OPERAND); + createEReference(intOperationEClass, INT_OPERATION__RIGHT_OPERAND); + + plusEClass = createEClass(PLUS); + + minusEClass = createEClass(MINUS); + + multiplyEClass = createEClass(MULTIPLY); + + divisonEClass = createEClass(DIVISON); + + modEClass = createEClass(MOD); + + typeDescriptorEClass = createEClass(TYPE_DESCRIPTOR); + + termDescriptionEClass = createEClass(TERM_DESCRIPTION); + + assertionEClass = createEClass(ASSERTION); + createEReference(assertionEClass, ASSERTION__VALUE); + createEAttribute(assertionEClass, ASSERTION__NAME); + createEReference(assertionEClass, ASSERTION__ANNOTATIONS); + + relationEClass = createEClass(RELATION); + createEReference(relationEClass, RELATION__PARAMETERS); + createEReference(relationEClass, RELATION__ANNOTATIONS); + + constantEClass = createEClass(CONSTANT); + createEReference(constantEClass, CONSTANT__TYPE); + createEReference(constantEClass, CONSTANT__ANNOTATIONS); + + constantDefinitionEClass = createEClass(CONSTANT_DEFINITION); + createEReference(constantDefinitionEClass, CONSTANT_DEFINITION__VALUE); + createEReference(constantDefinitionEClass, CONSTANT_DEFINITION__DEFINES); + + relationDefinitionEClass = createEClass(RELATION_DEFINITION); + createEReference(relationDefinitionEClass, RELATION_DEFINITION__VARIABLES); + createEReference(relationDefinitionEClass, RELATION_DEFINITION__VALUE); + createEReference(relationDefinitionEClass, RELATION_DEFINITION__DEFINES); + + functionDefinitionEClass = createEClass(FUNCTION_DEFINITION); + createEReference(functionDefinitionEClass, FUNCTION_DEFINITION__VARIABLE); + createEReference(functionDefinitionEClass, FUNCTION_DEFINITION__DEFINES); + createEReference(functionDefinitionEClass, FUNCTION_DEFINITION__VALUE); + + ifThenElseEClass = createEClass(IF_THEN_ELSE); + createEReference(ifThenElseEClass, IF_THEN_ELSE__CONDITION); + createEReference(ifThenElseEClass, IF_THEN_ELSE__IF_TRUE); + createEReference(ifThenElseEClass, IF_THEN_ELSE__IF_FALSE); + + constantDeclarationEClass = createEClass(CONSTANT_DECLARATION); + + relationDeclarationEClass = createEClass(RELATION_DECLARATION); + + functionDeclarationEClass = createEClass(FUNCTION_DECLARATION); + + typeDeclarationEClass = createEClass(TYPE_DECLARATION); + + unknownBecauseUninterpretedEClass = createEClass(UNKNOWN_BECAUSE_UNINTERPRETED); + + instanceOfEClass = createEClass(INSTANCE_OF); + createEReference(instanceOfEClass, INSTANCE_OF__VALUE); + createEReference(instanceOfEClass, INSTANCE_OF__RANGE); + } + + /** + * + * + * @generated + */ + private boolean isInitialized = false; + + /** + * Complete the initialization of the package and its meta-model. This + * method is guarded to have no affect on any invocation but its first. + * + * + * @generated + */ + public void initializePackageContents() { + if (isInitialized) return; + isInitialized = true; + + // Initialize package + setName(eNAME); + setNsPrefix(eNS_PREFIX); + setNsURI(eNS_URI); + + // Obtain other dependent packages + LogicproblemPackage theLogicproblemPackage = (LogicproblemPackage)EPackage.Registry.INSTANCE.getEPackage(LogicproblemPackage.eNS_URI); + + // Create type parameters + + // Set bounds for type parameters + + // Add supertypes to classes + typeEClass.getESuperTypes().add(this.getTypeDescriptor()); + definedElementEClass.getESuperTypes().add(this.getSymbolicDeclaration()); + typeDefinitionEClass.getESuperTypes().add(this.getType()); + typeReferenceEClass.getESuperTypes().add(this.getTypeDescriptor()); + complexTypeReferenceEClass.getESuperTypes().add(this.getTypeReference()); + primitiveTypeReferenceEClass.getESuperTypes().add(this.getTypeReference()); + intTypeReferenceEClass.getESuperTypes().add(this.getPrimitiveTypeReference()); + boolTypeReferenceEClass.getESuperTypes().add(this.getPrimitiveTypeReference()); + realTypeReferenceEClass.getESuperTypes().add(this.getPrimitiveTypeReference()); + functionEClass.getESuperTypes().add(this.getSymbolicDeclaration()); + termEClass.getESuperTypes().add(this.getTermDescription()); + symbolicDeclarationEClass.getESuperTypes().add(this.getTermDescription()); + symbolicValueEClass.getESuperTypes().add(this.getTerm()); + atomicTermEClass.getESuperTypes().add(this.getTerm()); + intLiteralEClass.getESuperTypes().add(this.getAtomicTerm()); + boolLiteralEClass.getESuperTypes().add(this.getAtomicTerm()); + realLiteralEClass.getESuperTypes().add(this.getAtomicTerm()); + variableEClass.getESuperTypes().add(this.getSymbolicDeclaration()); + quantifiedExpressionEClass.getESuperTypes().add(this.getTerm()); + existsEClass.getESuperTypes().add(this.getQuantifiedExpression()); + forallEClass.getESuperTypes().add(this.getQuantifiedExpression()); + boolOperationEClass.getESuperTypes().add(this.getTerm()); + andEClass.getESuperTypes().add(this.getBoolOperation()); + orEClass.getESuperTypes().add(this.getBoolOperation()); + implEClass.getESuperTypes().add(this.getBoolOperation()); + notEClass.getESuperTypes().add(this.getBoolOperation()); + iffEClass.getESuperTypes().add(this.getBoolOperation()); + primitiveRelationEClass.getESuperTypes().add(this.getTerm()); + equalsEClass.getESuperTypes().add(this.getPrimitiveRelation()); + distinctEClass.getESuperTypes().add(this.getPrimitiveRelation()); + lessThanEClass.getESuperTypes().add(this.getPrimitiveRelation()); + moreThanEClass.getESuperTypes().add(this.getPrimitiveRelation()); + lessOrEqualThanEClass.getESuperTypes().add(this.getPrimitiveRelation()); + moreOrEqualThanEClass.getESuperTypes().add(this.getPrimitiveRelation()); + intOperationEClass.getESuperTypes().add(this.getTerm()); + plusEClass.getESuperTypes().add(this.getIntOperation()); + minusEClass.getESuperTypes().add(this.getIntOperation()); + multiplyEClass.getESuperTypes().add(this.getIntOperation()); + divisonEClass.getESuperTypes().add(this.getIntOperation()); + modEClass.getESuperTypes().add(this.getIntOperation()); + relationEClass.getESuperTypes().add(this.getSymbolicDeclaration()); + constantEClass.getESuperTypes().add(this.getSymbolicDeclaration()); + constantDefinitionEClass.getESuperTypes().add(this.getConstant()); + relationDefinitionEClass.getESuperTypes().add(this.getRelation()); + functionDefinitionEClass.getESuperTypes().add(this.getFunction()); + ifThenElseEClass.getESuperTypes().add(this.getTerm()); + constantDeclarationEClass.getESuperTypes().add(this.getConstant()); + relationDeclarationEClass.getESuperTypes().add(this.getRelation()); + functionDeclarationEClass.getESuperTypes().add(this.getFunction()); + typeDeclarationEClass.getESuperTypes().add(this.getType()); + unknownBecauseUninterpretedEClass.getESuperTypes().add(this.getTerm()); + instanceOfEClass.getESuperTypes().add(this.getTerm()); + + // Initialize classes, features, and operations; add parameters + initEClass(typeEClass, Type.class, "Type", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getType_Name(), ecorePackage.getEString(), "name", null, 1, 1, Type.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getType_Subtypes(), this.getType(), this.getType_Supertypes(), "subtypes", null, 0, -1, Type.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getType_Supertypes(), this.getType(), this.getType_Subtypes(), "supertypes", null, 0, -1, Type.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getType_IsAbstract(), ecorePackage.getEBoolean(), "isAbstract", null, 1, 1, Type.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(definedElementEClass, DefinedElement.class, "DefinedElement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getDefinedElement_DefinedInType(), this.getTypeDefinition(), this.getTypeDefinition_Elements(), "definedInType", null, 1, -1, DefinedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(typeDefinitionEClass, TypeDefinition.class, "TypeDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getTypeDefinition_Elements(), this.getDefinedElement(), this.getDefinedElement_DefinedInType(), "elements", null, 0, -1, TypeDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getTypeDefinition_Defines(), this.getTypeDeclaration(), null, "defines", null, 0, 1, TypeDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(typeReferenceEClass, TypeReference.class, "TypeReference", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(complexTypeReferenceEClass, ComplexTypeReference.class, "ComplexTypeReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getComplexTypeReference_Referred(), this.getType(), null, "referred", null, 0, 1, ComplexTypeReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(primitiveTypeReferenceEClass, PrimitiveTypeReference.class, "PrimitiveTypeReference", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(intTypeReferenceEClass, IntTypeReference.class, "IntTypeReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(boolTypeReferenceEClass, BoolTypeReference.class, "BoolTypeReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(realTypeReferenceEClass, RealTypeReference.class, "RealTypeReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(functionEClass, Function.class, "Function", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getFunction_Range(), this.getTypeReference(), null, "range", null, 1, 1, Function.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getFunction_Parameters(), this.getTypeReference(), null, "parameters", null, 0, -1, Function.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getFunction_Annotations(), theLogicproblemPackage.getFunctionAnnotation(), theLogicproblemPackage.getFunctionAnnotation_Target(), "annotations", null, 0, -1, Function.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(termEClass, Term.class, "Term", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(symbolicDeclarationEClass, SymbolicDeclaration.class, "SymbolicDeclaration", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getSymbolicDeclaration_Name(), ecorePackage.getEString(), "name", null, 1, 1, SymbolicDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(symbolicValueEClass, SymbolicValue.class, "SymbolicValue", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getSymbolicValue_SymbolicReference(), this.getSymbolicDeclaration(), null, "symbolicReference", null, 0, 1, SymbolicValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getSymbolicValue_ParameterSubstitutions(), this.getTerm(), null, "parameterSubstitutions", null, 0, -1, SymbolicValue.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(atomicTermEClass, AtomicTerm.class, "AtomicTerm", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(intLiteralEClass, IntLiteral.class, "IntLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getIntLiteral_Value(), ecorePackage.getEInt(), "value", null, 0, 1, IntLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(boolLiteralEClass, BoolLiteral.class, "BoolLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getBoolLiteral_Value(), ecorePackage.getEBoolean(), "value", null, 0, 1, BoolLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(realLiteralEClass, RealLiteral.class, "RealLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getRealLiteral_Value(), ecorePackage.getEBigDecimal(), "value", null, 0, 1, RealLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(variableEClass, Variable.class, "Variable", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getVariable_Range(), this.getTypeReference(), null, "range", null, 1, 1, Variable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(quantifiedExpressionEClass, QuantifiedExpression.class, "QuantifiedExpression", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getQuantifiedExpression_QuantifiedVariables(), this.getVariable(), null, "quantifiedVariables", null, 0, -1, QuantifiedExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getQuantifiedExpression_Expression(), this.getTerm(), null, "expression", null, 0, 1, QuantifiedExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(existsEClass, Exists.class, "Exists", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(forallEClass, Forall.class, "Forall", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(boolOperationEClass, BoolOperation.class, "BoolOperation", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(andEClass, And.class, "And", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getAnd_Operands(), this.getTerm(), null, "operands", null, 0, -1, And.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(orEClass, Or.class, "Or", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getOr_Operands(), this.getTerm(), null, "operands", null, 0, -1, Or.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(implEClass, Impl.class, "Impl", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getImpl_LeftOperand(), this.getTerm(), null, "leftOperand", null, 0, 1, Impl.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getImpl_RightOperand(), this.getTerm(), null, "rightOperand", null, 0, 1, Impl.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(notEClass, Not.class, "Not", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getNot_Operand(), this.getTerm(), null, "operand", null, 0, 1, Not.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(iffEClass, Iff.class, "Iff", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getIff_LeftOperand(), this.getTerm(), null, "leftOperand", null, 0, 1, Iff.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getIff_RightOperand(), this.getTerm(), null, "rightOperand", null, 0, 1, Iff.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(primitiveRelationEClass, PrimitiveRelation.class, "PrimitiveRelation", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(equalsEClass, Equals.class, "Equals", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getEquals_LeftOperand(), this.getTerm(), null, "leftOperand", null, 0, 1, Equals.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getEquals_RightOperand(), this.getTerm(), null, "rightOperand", null, 0, 1, Equals.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(distinctEClass, Distinct.class, "Distinct", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getDistinct_Operands(), this.getTerm(), null, "operands", null, 0, -1, Distinct.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(lessThanEClass, LessThan.class, "LessThan", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getLessThan_LeftOperand(), this.getTerm(), null, "leftOperand", null, 0, 1, LessThan.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getLessThan_RightOperand(), this.getTerm(), null, "rightOperand", null, 0, 1, LessThan.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(moreThanEClass, MoreThan.class, "MoreThan", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getMoreThan_LeftOperand(), this.getTerm(), null, "leftOperand", null, 0, 1, MoreThan.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getMoreThan_RightOperand(), this.getTerm(), null, "rightOperand", null, 0, 1, MoreThan.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(lessOrEqualThanEClass, LessOrEqualThan.class, "LessOrEqualThan", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getLessOrEqualThan_LeftOperand(), this.getTerm(), null, "leftOperand", null, 0, 1, LessOrEqualThan.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getLessOrEqualThan_RightOperand(), this.getTerm(), null, "rightOperand", null, 0, 1, LessOrEqualThan.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(moreOrEqualThanEClass, MoreOrEqualThan.class, "MoreOrEqualThan", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getMoreOrEqualThan_LeftOperand(), this.getTerm(), null, "leftOperand", null, 0, 1, MoreOrEqualThan.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getMoreOrEqualThan_RightOperand(), this.getTerm(), null, "rightOperand", null, 0, 1, MoreOrEqualThan.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(intOperationEClass, IntOperation.class, "IntOperation", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getIntOperation_LeftOperand(), this.getTerm(), null, "leftOperand", null, 0, 1, IntOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getIntOperation_RightOperand(), this.getTerm(), null, "rightOperand", null, 0, 1, IntOperation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(plusEClass, Plus.class, "Plus", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(minusEClass, Minus.class, "Minus", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(multiplyEClass, Multiply.class, "Multiply", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(divisonEClass, Divison.class, "Divison", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(modEClass, Mod.class, "Mod", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(typeDescriptorEClass, TypeDescriptor.class, "TypeDescriptor", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(termDescriptionEClass, TermDescription.class, "TermDescription", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(assertionEClass, Assertion.class, "Assertion", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getAssertion_Value(), this.getTerm(), null, "value", null, 1, 1, Assertion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getAssertion_Name(), ecorePackage.getEString(), "name", null, 1, 1, Assertion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getAssertion_Annotations(), theLogicproblemPackage.getAssertionAnnotation(), theLogicproblemPackage.getAssertionAnnotation_Target(), "annotations", null, 0, -1, Assertion.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(relationEClass, Relation.class, "Relation", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getRelation_Parameters(), this.getTypeReference(), null, "parameters", null, 0, -1, Relation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getRelation_Annotations(), theLogicproblemPackage.getRelationAnnotation(), theLogicproblemPackage.getRelationAnnotation_Target(), "annotations", null, 0, -1, Relation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(constantEClass, Constant.class, "Constant", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getConstant_Type(), this.getTypeReference(), null, "type", null, 1, 1, Constant.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getConstant_Annotations(), theLogicproblemPackage.getConstantAnnotation(), theLogicproblemPackage.getConstantAnnotation_Target(), "annotations", null, 0, -1, Constant.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(constantDefinitionEClass, ConstantDefinition.class, "ConstantDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getConstantDefinition_Value(), this.getTerm(), null, "value", null, 1, 1, ConstantDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getConstantDefinition_Defines(), this.getConstantDeclaration(), null, "defines", null, 0, 1, ConstantDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(relationDefinitionEClass, RelationDefinition.class, "RelationDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getRelationDefinition_Variables(), this.getVariable(), null, "variables", null, 0, -1, RelationDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getRelationDefinition_Value(), this.getTerm(), null, "value", null, 1, 1, RelationDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getRelationDefinition_Defines(), this.getRelationDeclaration(), null, "defines", null, 0, 1, RelationDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(functionDefinitionEClass, FunctionDefinition.class, "FunctionDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getFunctionDefinition_Variable(), this.getVariable(), null, "variable", null, 0, -1, FunctionDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getFunctionDefinition_Defines(), this.getFunctionDeclaration(), null, "defines", null, 0, 1, FunctionDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getFunctionDefinition_Value(), this.getTerm(), null, "value", null, 1, 1, FunctionDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(ifThenElseEClass, IfThenElse.class, "IfThenElse", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getIfThenElse_Condition(), this.getTerm(), null, "condition", null, 1, 1, IfThenElse.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getIfThenElse_IfTrue(), this.getTerm(), null, "ifTrue", null, 1, 1, IfThenElse.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getIfThenElse_IfFalse(), this.getTerm(), null, "ifFalse", null, 1, 1, IfThenElse.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(constantDeclarationEClass, ConstantDeclaration.class, "ConstantDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(relationDeclarationEClass, RelationDeclaration.class, "RelationDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(functionDeclarationEClass, FunctionDeclaration.class, "FunctionDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(typeDeclarationEClass, TypeDeclaration.class, "TypeDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(unknownBecauseUninterpretedEClass, UnknownBecauseUninterpreted.class, "UnknownBecauseUninterpreted", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(instanceOfEClass, InstanceOf.class, "InstanceOf", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getInstanceOf_Value(), this.getTerm(), null, "value", null, 1, 1, InstanceOf.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getInstanceOf_Range(), this.getTypeReference(), null, "range", null, 1, 1, InstanceOf.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + // Create resource + createResource(eNS_URI); + } + +} //LogiclanguagePackageImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/MinusImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/MinusImpl.java new file mode 100644 index 00000000..28c21b08 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/MinusImpl.java @@ -0,0 +1,37 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Minus; + +import org.eclipse.emf.ecore.EClass; + +/** + * + * An implementation of the model object 'Minus'. + * + * + * @generated + */ +public class MinusImpl extends IntOperationImpl implements Minus { + /** + * + * + * @generated + */ + protected MinusImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogiclanguagePackage.Literals.MINUS; + } + +} //MinusImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/ModImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/ModImpl.java new file mode 100644 index 00000000..bab8d326 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/ModImpl.java @@ -0,0 +1,37 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Mod; + +import org.eclipse.emf.ecore.EClass; + +/** + * + * An implementation of the model object 'Mod'. + * + * + * @generated + */ +public class ModImpl extends IntOperationImpl implements Mod { + /** + * + * + * @generated + */ + protected ModImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogiclanguagePackage.Literals.MOD; + } + +} //ModImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/MoreOrEqualThanImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/MoreOrEqualThanImpl.java new file mode 100644 index 00000000..8ebf0ccf --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/MoreOrEqualThanImpl.java @@ -0,0 +1,241 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.MoreOrEqualThan; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'More Or Equal Than'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.MoreOrEqualThanImpl#getLeftOperand Left Operand}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.MoreOrEqualThanImpl#getRightOperand Right Operand}
  • + *
+ * + * @generated + */ +public class MoreOrEqualThanImpl extends PrimitiveRelationImpl implements MoreOrEqualThan { + /** + * The cached value of the '{@link #getLeftOperand() Left Operand}' containment reference. + * + * + * @see #getLeftOperand() + * @generated + * @ordered + */ + protected Term leftOperand; + + /** + * The cached value of the '{@link #getRightOperand() Right Operand}' containment reference. + * + * + * @see #getRightOperand() + * @generated + * @ordered + */ + protected Term rightOperand; + + /** + * + * + * @generated + */ + protected MoreOrEqualThanImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogiclanguagePackage.Literals.MORE_OR_EQUAL_THAN; + } + + /** + * + * + * @generated + */ + public Term getLeftOperand() { + return leftOperand; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetLeftOperand(Term newLeftOperand, NotificationChain msgs) { + Term oldLeftOperand = leftOperand; + leftOperand = newLeftOperand; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.MORE_OR_EQUAL_THAN__LEFT_OPERAND, oldLeftOperand, newLeftOperand); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setLeftOperand(Term newLeftOperand) { + if (newLeftOperand != leftOperand) { + NotificationChain msgs = null; + if (leftOperand != null) + msgs = ((InternalEObject)leftOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.MORE_OR_EQUAL_THAN__LEFT_OPERAND, null, msgs); + if (newLeftOperand != null) + msgs = ((InternalEObject)newLeftOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.MORE_OR_EQUAL_THAN__LEFT_OPERAND, null, msgs); + msgs = basicSetLeftOperand(newLeftOperand, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.MORE_OR_EQUAL_THAN__LEFT_OPERAND, newLeftOperand, newLeftOperand)); + } + + /** + * + * + * @generated + */ + public Term getRightOperand() { + return rightOperand; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetRightOperand(Term newRightOperand, NotificationChain msgs) { + Term oldRightOperand = rightOperand; + rightOperand = newRightOperand; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.MORE_OR_EQUAL_THAN__RIGHT_OPERAND, oldRightOperand, newRightOperand); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setRightOperand(Term newRightOperand) { + if (newRightOperand != rightOperand) { + NotificationChain msgs = null; + if (rightOperand != null) + msgs = ((InternalEObject)rightOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.MORE_OR_EQUAL_THAN__RIGHT_OPERAND, null, msgs); + if (newRightOperand != null) + msgs = ((InternalEObject)newRightOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.MORE_OR_EQUAL_THAN__RIGHT_OPERAND, null, msgs); + msgs = basicSetRightOperand(newRightOperand, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.MORE_OR_EQUAL_THAN__RIGHT_OPERAND, newRightOperand, newRightOperand)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case LogiclanguagePackage.MORE_OR_EQUAL_THAN__LEFT_OPERAND: + return basicSetLeftOperand(null, msgs); + case LogiclanguagePackage.MORE_OR_EQUAL_THAN__RIGHT_OPERAND: + return basicSetRightOperand(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case LogiclanguagePackage.MORE_OR_EQUAL_THAN__LEFT_OPERAND: + return getLeftOperand(); + case LogiclanguagePackage.MORE_OR_EQUAL_THAN__RIGHT_OPERAND: + return getRightOperand(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case LogiclanguagePackage.MORE_OR_EQUAL_THAN__LEFT_OPERAND: + setLeftOperand((Term)newValue); + return; + case LogiclanguagePackage.MORE_OR_EQUAL_THAN__RIGHT_OPERAND: + setRightOperand((Term)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case LogiclanguagePackage.MORE_OR_EQUAL_THAN__LEFT_OPERAND: + setLeftOperand((Term)null); + return; + case LogiclanguagePackage.MORE_OR_EQUAL_THAN__RIGHT_OPERAND: + setRightOperand((Term)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case LogiclanguagePackage.MORE_OR_EQUAL_THAN__LEFT_OPERAND: + return leftOperand != null; + case LogiclanguagePackage.MORE_OR_EQUAL_THAN__RIGHT_OPERAND: + return rightOperand != null; + } + return super.eIsSet(featureID); + } + +} //MoreOrEqualThanImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/MoreThanImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/MoreThanImpl.java new file mode 100644 index 00000000..a7756650 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/MoreThanImpl.java @@ -0,0 +1,241 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.MoreThan; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'More Than'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.MoreThanImpl#getLeftOperand Left Operand}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.MoreThanImpl#getRightOperand Right Operand}
  • + *
+ * + * @generated + */ +public class MoreThanImpl extends PrimitiveRelationImpl implements MoreThan { + /** + * The cached value of the '{@link #getLeftOperand() Left Operand}' containment reference. + * + * + * @see #getLeftOperand() + * @generated + * @ordered + */ + protected Term leftOperand; + + /** + * The cached value of the '{@link #getRightOperand() Right Operand}' containment reference. + * + * + * @see #getRightOperand() + * @generated + * @ordered + */ + protected Term rightOperand; + + /** + * + * + * @generated + */ + protected MoreThanImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogiclanguagePackage.Literals.MORE_THAN; + } + + /** + * + * + * @generated + */ + public Term getLeftOperand() { + return leftOperand; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetLeftOperand(Term newLeftOperand, NotificationChain msgs) { + Term oldLeftOperand = leftOperand; + leftOperand = newLeftOperand; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.MORE_THAN__LEFT_OPERAND, oldLeftOperand, newLeftOperand); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setLeftOperand(Term newLeftOperand) { + if (newLeftOperand != leftOperand) { + NotificationChain msgs = null; + if (leftOperand != null) + msgs = ((InternalEObject)leftOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.MORE_THAN__LEFT_OPERAND, null, msgs); + if (newLeftOperand != null) + msgs = ((InternalEObject)newLeftOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.MORE_THAN__LEFT_OPERAND, null, msgs); + msgs = basicSetLeftOperand(newLeftOperand, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.MORE_THAN__LEFT_OPERAND, newLeftOperand, newLeftOperand)); + } + + /** + * + * + * @generated + */ + public Term getRightOperand() { + return rightOperand; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetRightOperand(Term newRightOperand, NotificationChain msgs) { + Term oldRightOperand = rightOperand; + rightOperand = newRightOperand; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.MORE_THAN__RIGHT_OPERAND, oldRightOperand, newRightOperand); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setRightOperand(Term newRightOperand) { + if (newRightOperand != rightOperand) { + NotificationChain msgs = null; + if (rightOperand != null) + msgs = ((InternalEObject)rightOperand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.MORE_THAN__RIGHT_OPERAND, null, msgs); + if (newRightOperand != null) + msgs = ((InternalEObject)newRightOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.MORE_THAN__RIGHT_OPERAND, null, msgs); + msgs = basicSetRightOperand(newRightOperand, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.MORE_THAN__RIGHT_OPERAND, newRightOperand, newRightOperand)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case LogiclanguagePackage.MORE_THAN__LEFT_OPERAND: + return basicSetLeftOperand(null, msgs); + case LogiclanguagePackage.MORE_THAN__RIGHT_OPERAND: + return basicSetRightOperand(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case LogiclanguagePackage.MORE_THAN__LEFT_OPERAND: + return getLeftOperand(); + case LogiclanguagePackage.MORE_THAN__RIGHT_OPERAND: + return getRightOperand(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case LogiclanguagePackage.MORE_THAN__LEFT_OPERAND: + setLeftOperand((Term)newValue); + return; + case LogiclanguagePackage.MORE_THAN__RIGHT_OPERAND: + setRightOperand((Term)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case LogiclanguagePackage.MORE_THAN__LEFT_OPERAND: + setLeftOperand((Term)null); + return; + case LogiclanguagePackage.MORE_THAN__RIGHT_OPERAND: + setRightOperand((Term)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case LogiclanguagePackage.MORE_THAN__LEFT_OPERAND: + return leftOperand != null; + case LogiclanguagePackage.MORE_THAN__RIGHT_OPERAND: + return rightOperand != null; + } + return super.eIsSet(featureID); + } + +} //MoreThanImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/MultiplyImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/MultiplyImpl.java new file mode 100644 index 00000000..50797800 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/MultiplyImpl.java @@ -0,0 +1,37 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Multiply; + +import org.eclipse.emf.ecore.EClass; + +/** + * + * An implementation of the model object 'Multiply'. + * + * + * @generated + */ +public class MultiplyImpl extends IntOperationImpl implements Multiply { + /** + * + * + * @generated + */ + protected MultiplyImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogiclanguagePackage.Literals.MULTIPLY; + } + +} //MultiplyImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/NotImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/NotImpl.java new file mode 100644 index 00000000..74c4dd6f --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/NotImpl.java @@ -0,0 +1,175 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Not; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'Not'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.NotImpl#getOperand Operand}
  • + *
+ * + * @generated + */ +public class NotImpl extends BoolOperationImpl implements Not { + /** + * The cached value of the '{@link #getOperand() Operand}' containment reference. + * + * + * @see #getOperand() + * @generated + * @ordered + */ + protected Term operand; + + /** + * + * + * @generated + */ + protected NotImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogiclanguagePackage.Literals.NOT; + } + + /** + * + * + * @generated + */ + public Term getOperand() { + return operand; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetOperand(Term newOperand, NotificationChain msgs) { + Term oldOperand = operand; + operand = newOperand; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.NOT__OPERAND, oldOperand, newOperand); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setOperand(Term newOperand) { + if (newOperand != operand) { + NotificationChain msgs = null; + if (operand != null) + msgs = ((InternalEObject)operand).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.NOT__OPERAND, null, msgs); + if (newOperand != null) + msgs = ((InternalEObject)newOperand).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.NOT__OPERAND, null, msgs); + msgs = basicSetOperand(newOperand, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.NOT__OPERAND, newOperand, newOperand)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case LogiclanguagePackage.NOT__OPERAND: + return basicSetOperand(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case LogiclanguagePackage.NOT__OPERAND: + return getOperand(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case LogiclanguagePackage.NOT__OPERAND: + setOperand((Term)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case LogiclanguagePackage.NOT__OPERAND: + setOperand((Term)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case LogiclanguagePackage.NOT__OPERAND: + return operand != null; + } + return super.eIsSet(featureID); + } + +} //NotImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/OrImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/OrImpl.java new file mode 100644 index 00000000..9ef8357a --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/OrImpl.java @@ -0,0 +1,150 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Or; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +/** + * + * An implementation of the model object 'Or'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.OrImpl#getOperands Operands}
  • + *
+ * + * @generated + */ +public class OrImpl extends BoolOperationImpl implements Or { + /** + * The cached value of the '{@link #getOperands() Operands}' containment reference list. + * + * + * @see #getOperands() + * @generated + * @ordered + */ + protected EList operands; + + /** + * + * + * @generated + */ + protected OrImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogiclanguagePackage.Literals.OR; + } + + /** + * + * + * @generated + */ + public EList getOperands() { + if (operands == null) { + operands = new EObjectContainmentEList(Term.class, this, LogiclanguagePackage.OR__OPERANDS); + } + return operands; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case LogiclanguagePackage.OR__OPERANDS: + return ((InternalEList)getOperands()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case LogiclanguagePackage.OR__OPERANDS: + return getOperands(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case LogiclanguagePackage.OR__OPERANDS: + getOperands().clear(); + getOperands().addAll((Collection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case LogiclanguagePackage.OR__OPERANDS: + getOperands().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case LogiclanguagePackage.OR__OPERANDS: + return operands != null && !operands.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //OrImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/PlusImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/PlusImpl.java new file mode 100644 index 00000000..c9d0d591 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/PlusImpl.java @@ -0,0 +1,37 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Plus; + +import org.eclipse.emf.ecore.EClass; + +/** + * + * An implementation of the model object 'Plus'. + * + * + * @generated + */ +public class PlusImpl extends IntOperationImpl implements Plus { + /** + * + * + * @generated + */ + protected PlusImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogiclanguagePackage.Literals.PLUS; + } + +} //PlusImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/PrimitiveRelationImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/PrimitiveRelationImpl.java new file mode 100644 index 00000000..a9e521c5 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/PrimitiveRelationImpl.java @@ -0,0 +1,37 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.PrimitiveRelation; + +import org.eclipse.emf.ecore.EClass; + +/** + * + * An implementation of the model object 'Primitive Relation'. + * + * + * @generated + */ +public abstract class PrimitiveRelationImpl extends TermImpl implements PrimitiveRelation { + /** + * + * + * @generated + */ + protected PrimitiveRelationImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogiclanguagePackage.Literals.PRIMITIVE_RELATION; + } + +} //PrimitiveRelationImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/PrimitiveTypeReferenceImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/PrimitiveTypeReferenceImpl.java new file mode 100644 index 00000000..2e0d56c9 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/PrimitiveTypeReferenceImpl.java @@ -0,0 +1,37 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.PrimitiveTypeReference; + +import org.eclipse.emf.ecore.EClass; + +/** + * + * An implementation of the model object 'Primitive Type Reference'. + * + * + * @generated + */ +public abstract class PrimitiveTypeReferenceImpl extends TypeReferenceImpl implements PrimitiveTypeReference { + /** + * + * + * @generated + */ + protected PrimitiveTypeReferenceImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogiclanguagePackage.Literals.PRIMITIVE_TYPE_REFERENCE; + } + +} //PrimitiveTypeReferenceImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/QuantifiedExpressionImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/QuantifiedExpressionImpl.java new file mode 100644 index 00000000..dad2d1af --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/QuantifiedExpressionImpl.java @@ -0,0 +1,220 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.QuantifiedExpression; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Variable; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +/** + * + * An implementation of the model object 'Quantified Expression'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.QuantifiedExpressionImpl#getQuantifiedVariables Quantified Variables}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.QuantifiedExpressionImpl#getExpression Expression}
  • + *
+ * + * @generated + */ +public abstract class QuantifiedExpressionImpl extends TermImpl implements QuantifiedExpression { + /** + * The cached value of the '{@link #getQuantifiedVariables() Quantified Variables}' containment reference list. + * + * + * @see #getQuantifiedVariables() + * @generated + * @ordered + */ + protected EList quantifiedVariables; + + /** + * The cached value of the '{@link #getExpression() Expression}' containment reference. + * + * + * @see #getExpression() + * @generated + * @ordered + */ + protected Term expression; + + /** + * + * + * @generated + */ + protected QuantifiedExpressionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogiclanguagePackage.Literals.QUANTIFIED_EXPRESSION; + } + + /** + * + * + * @generated + */ + public EList getQuantifiedVariables() { + if (quantifiedVariables == null) { + quantifiedVariables = new EObjectContainmentEList(Variable.class, this, LogiclanguagePackage.QUANTIFIED_EXPRESSION__QUANTIFIED_VARIABLES); + } + return quantifiedVariables; + } + + /** + * + * + * @generated + */ + public Term getExpression() { + return expression; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetExpression(Term newExpression, NotificationChain msgs) { + Term oldExpression = expression; + expression = newExpression; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.QUANTIFIED_EXPRESSION__EXPRESSION, oldExpression, newExpression); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setExpression(Term newExpression) { + if (newExpression != expression) { + NotificationChain msgs = null; + if (expression != null) + msgs = ((InternalEObject)expression).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.QUANTIFIED_EXPRESSION__EXPRESSION, null, msgs); + if (newExpression != null) + msgs = ((InternalEObject)newExpression).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.QUANTIFIED_EXPRESSION__EXPRESSION, null, msgs); + msgs = basicSetExpression(newExpression, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.QUANTIFIED_EXPRESSION__EXPRESSION, newExpression, newExpression)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case LogiclanguagePackage.QUANTIFIED_EXPRESSION__QUANTIFIED_VARIABLES: + return ((InternalEList)getQuantifiedVariables()).basicRemove(otherEnd, msgs); + case LogiclanguagePackage.QUANTIFIED_EXPRESSION__EXPRESSION: + return basicSetExpression(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case LogiclanguagePackage.QUANTIFIED_EXPRESSION__QUANTIFIED_VARIABLES: + return getQuantifiedVariables(); + case LogiclanguagePackage.QUANTIFIED_EXPRESSION__EXPRESSION: + return getExpression(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case LogiclanguagePackage.QUANTIFIED_EXPRESSION__QUANTIFIED_VARIABLES: + getQuantifiedVariables().clear(); + getQuantifiedVariables().addAll((Collection)newValue); + return; + case LogiclanguagePackage.QUANTIFIED_EXPRESSION__EXPRESSION: + setExpression((Term)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case LogiclanguagePackage.QUANTIFIED_EXPRESSION__QUANTIFIED_VARIABLES: + getQuantifiedVariables().clear(); + return; + case LogiclanguagePackage.QUANTIFIED_EXPRESSION__EXPRESSION: + setExpression((Term)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case LogiclanguagePackage.QUANTIFIED_EXPRESSION__QUANTIFIED_VARIABLES: + return quantifiedVariables != null && !quantifiedVariables.isEmpty(); + case LogiclanguagePackage.QUANTIFIED_EXPRESSION__EXPRESSION: + return expression != null; + } + return super.eIsSet(featureID); + } + +} //QuantifiedExpressionImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/RealLiteralImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/RealLiteralImpl.java new file mode 100644 index 00000000..54594606 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/RealLiteralImpl.java @@ -0,0 +1,164 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RealLiteral; + +import java.math.BigDecimal; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'Real Literal'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.RealLiteralImpl#getValue Value}
  • + *
+ * + * @generated + */ +public class RealLiteralImpl extends AtomicTermImpl implements RealLiteral { + /** + * The default value of the '{@link #getValue() Value}' attribute. + * + * + * @see #getValue() + * @generated + * @ordered + */ + protected static final BigDecimal VALUE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getValue() Value}' attribute. + * + * + * @see #getValue() + * @generated + * @ordered + */ + protected BigDecimal value = VALUE_EDEFAULT; + + /** + * + * + * @generated + */ + protected RealLiteralImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogiclanguagePackage.Literals.REAL_LITERAL; + } + + /** + * + * + * @generated + */ + public BigDecimal getValue() { + return value; + } + + /** + * + * + * @generated + */ + public void setValue(BigDecimal newValue) { + BigDecimal oldValue = value; + value = newValue; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.REAL_LITERAL__VALUE, oldValue, value)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case LogiclanguagePackage.REAL_LITERAL__VALUE: + return getValue(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case LogiclanguagePackage.REAL_LITERAL__VALUE: + setValue((BigDecimal)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case LogiclanguagePackage.REAL_LITERAL__VALUE: + setValue(VALUE_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case LogiclanguagePackage.REAL_LITERAL__VALUE: + return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (value: "); + result.append(value); + result.append(')'); + return result.toString(); + } + +} //RealLiteralImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/RealTypeReferenceImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/RealTypeReferenceImpl.java new file mode 100644 index 00000000..8c12c66c --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/RealTypeReferenceImpl.java @@ -0,0 +1,37 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RealTypeReference; + +import org.eclipse.emf.ecore.EClass; + +/** + * + * An implementation of the model object 'Real Type Reference'. + * + * + * @generated + */ +public class RealTypeReferenceImpl extends PrimitiveTypeReferenceImpl implements RealTypeReference { + /** + * + * + * @generated + */ + protected RealTypeReferenceImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogiclanguagePackage.Literals.REAL_TYPE_REFERENCE; + } + +} //RealTypeReferenceImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/RelationDeclarationImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/RelationDeclarationImpl.java new file mode 100644 index 00000000..22b588ab --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/RelationDeclarationImpl.java @@ -0,0 +1,37 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDeclaration; + +import org.eclipse.emf.ecore.EClass; + +/** + * + * An implementation of the model object 'Relation Declaration'. + * + * + * @generated + */ +public class RelationDeclarationImpl extends RelationImpl implements RelationDeclaration { + /** + * + * + * @generated + */ + protected RelationDeclarationImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogiclanguagePackage.Literals.RELATION_DECLARATION; + } + +} //RelationDeclarationImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/RelationDefinitionImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/RelationDefinitionImpl.java new file mode 100644 index 00000000..017518eb --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/RelationDefinitionImpl.java @@ -0,0 +1,280 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDeclaration; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDefinition; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Variable; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +/** + * + * An implementation of the model object 'Relation Definition'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.RelationDefinitionImpl#getVariables Variables}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.RelationDefinitionImpl#getValue Value}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.RelationDefinitionImpl#getDefines Defines}
  • + *
+ * + * @generated + */ +public class RelationDefinitionImpl extends RelationImpl implements RelationDefinition { + /** + * The cached value of the '{@link #getVariables() Variables}' containment reference list. + * + * + * @see #getVariables() + * @generated + * @ordered + */ + protected EList variables; + + /** + * The cached value of the '{@link #getValue() Value}' containment reference. + * + * + * @see #getValue() + * @generated + * @ordered + */ + protected Term value; + + /** + * The cached value of the '{@link #getDefines() Defines}' reference. + * + * + * @see #getDefines() + * @generated + * @ordered + */ + protected RelationDeclaration defines; + + /** + * + * + * @generated + */ + protected RelationDefinitionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogiclanguagePackage.Literals.RELATION_DEFINITION; + } + + /** + * + * + * @generated + */ + public EList getVariables() { + if (variables == null) { + variables = new EObjectContainmentEList(Variable.class, this, LogiclanguagePackage.RELATION_DEFINITION__VARIABLES); + } + return variables; + } + + /** + * + * + * @generated + */ + public Term getValue() { + return value; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetValue(Term newValue, NotificationChain msgs) { + Term oldValue = value; + value = newValue; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.RELATION_DEFINITION__VALUE, oldValue, newValue); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setValue(Term newValue) { + if (newValue != value) { + NotificationChain msgs = null; + if (value != null) + msgs = ((InternalEObject)value).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.RELATION_DEFINITION__VALUE, null, msgs); + if (newValue != null) + msgs = ((InternalEObject)newValue).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.RELATION_DEFINITION__VALUE, null, msgs); + msgs = basicSetValue(newValue, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.RELATION_DEFINITION__VALUE, newValue, newValue)); + } + + /** + * + * + * @generated + */ + public RelationDeclaration getDefines() { + if (defines != null && defines.eIsProxy()) { + InternalEObject oldDefines = (InternalEObject)defines; + defines = (RelationDeclaration)eResolveProxy(oldDefines); + if (defines != oldDefines) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, LogiclanguagePackage.RELATION_DEFINITION__DEFINES, oldDefines, defines)); + } + } + return defines; + } + + /** + * + * + * @generated + */ + public RelationDeclaration basicGetDefines() { + return defines; + } + + /** + * + * + * @generated + */ + public void setDefines(RelationDeclaration newDefines) { + RelationDeclaration oldDefines = defines; + defines = newDefines; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.RELATION_DEFINITION__DEFINES, oldDefines, defines)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case LogiclanguagePackage.RELATION_DEFINITION__VARIABLES: + return ((InternalEList)getVariables()).basicRemove(otherEnd, msgs); + case LogiclanguagePackage.RELATION_DEFINITION__VALUE: + return basicSetValue(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case LogiclanguagePackage.RELATION_DEFINITION__VARIABLES: + return getVariables(); + case LogiclanguagePackage.RELATION_DEFINITION__VALUE: + return getValue(); + case LogiclanguagePackage.RELATION_DEFINITION__DEFINES: + if (resolve) return getDefines(); + return basicGetDefines(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case LogiclanguagePackage.RELATION_DEFINITION__VARIABLES: + getVariables().clear(); + getVariables().addAll((Collection)newValue); + return; + case LogiclanguagePackage.RELATION_DEFINITION__VALUE: + setValue((Term)newValue); + return; + case LogiclanguagePackage.RELATION_DEFINITION__DEFINES: + setDefines((RelationDeclaration)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case LogiclanguagePackage.RELATION_DEFINITION__VARIABLES: + getVariables().clear(); + return; + case LogiclanguagePackage.RELATION_DEFINITION__VALUE: + setValue((Term)null); + return; + case LogiclanguagePackage.RELATION_DEFINITION__DEFINES: + setDefines((RelationDeclaration)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case LogiclanguagePackage.RELATION_DEFINITION__VARIABLES: + return variables != null && !variables.isEmpty(); + case LogiclanguagePackage.RELATION_DEFINITION__VALUE: + return value != null; + case LogiclanguagePackage.RELATION_DEFINITION__DEFINES: + return defines != null; + } + return super.eIsSet(featureID); + } + +} //RelationDefinitionImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/RelationImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/RelationImpl.java new file mode 100644 index 00000000..a0127ab8 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/RelationImpl.java @@ -0,0 +1,204 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Relation; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeReference; + +import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage; +import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.RelationAnnotation; +import java.util.Collection; + +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.EObjectWithInverseResolvingEList; +import org.eclipse.emf.ecore.util.InternalEList; + +/** + * + * An implementation of the model object 'Relation'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.RelationImpl#getParameters Parameters}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.RelationImpl#getAnnotations Annotations}
  • + *
+ * + * @generated + */ +public abstract class RelationImpl extends SymbolicDeclarationImpl implements Relation { + /** + * The cached value of the '{@link #getParameters() Parameters}' containment reference list. + * + * + * @see #getParameters() + * @generated + * @ordered + */ + protected EList parameters; + + /** + * The cached value of the '{@link #getAnnotations() Annotations}' reference list. + * + * + * @see #getAnnotations() + * @generated + * @ordered + */ + protected EList annotations; + + /** + * + * + * @generated + */ + protected RelationImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogiclanguagePackage.Literals.RELATION; + } + + /** + * + * + * @generated + */ + public EList getParameters() { + if (parameters == null) { + parameters = new EObjectContainmentEList(TypeReference.class, this, LogiclanguagePackage.RELATION__PARAMETERS); + } + return parameters; + } + + /** + * + * + * @generated + */ + public EList getAnnotations() { + if (annotations == null) { + annotations = new EObjectWithInverseResolvingEList(RelationAnnotation.class, this, LogiclanguagePackage.RELATION__ANNOTATIONS, LogicproblemPackage.RELATION_ANNOTATION__TARGET); + } + return annotations; + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case LogiclanguagePackage.RELATION__ANNOTATIONS: + return ((InternalEList)(InternalEList)getAnnotations()).basicAdd(otherEnd, msgs); + } + return super.eInverseAdd(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case LogiclanguagePackage.RELATION__PARAMETERS: + return ((InternalEList)getParameters()).basicRemove(otherEnd, msgs); + case LogiclanguagePackage.RELATION__ANNOTATIONS: + return ((InternalEList)getAnnotations()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case LogiclanguagePackage.RELATION__PARAMETERS: + return getParameters(); + case LogiclanguagePackage.RELATION__ANNOTATIONS: + return getAnnotations(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case LogiclanguagePackage.RELATION__PARAMETERS: + getParameters().clear(); + getParameters().addAll((Collection)newValue); + return; + case LogiclanguagePackage.RELATION__ANNOTATIONS: + getAnnotations().clear(); + getAnnotations().addAll((Collection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case LogiclanguagePackage.RELATION__PARAMETERS: + getParameters().clear(); + return; + case LogiclanguagePackage.RELATION__ANNOTATIONS: + getAnnotations().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case LogiclanguagePackage.RELATION__PARAMETERS: + return parameters != null && !parameters.isEmpty(); + case LogiclanguagePackage.RELATION__ANNOTATIONS: + return annotations != null && !annotations.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //RelationImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/SymbolicDeclarationImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/SymbolicDeclarationImpl.java new file mode 100644 index 00000000..1f28cbd7 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/SymbolicDeclarationImpl.java @@ -0,0 +1,161 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.SymbolicDeclaration; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +/** + * + * An implementation of the model object 'Symbolic Declaration'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.SymbolicDeclarationImpl#getName Name}
  • + *
+ * + * @generated + */ +public abstract class SymbolicDeclarationImpl extends MinimalEObjectImpl.Container implements SymbolicDeclaration { + /** + * The default value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected static final String NAME_EDEFAULT = null; + /** + * The cached value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected String name = NAME_EDEFAULT; + + /** + * + * + * @generated + */ + protected SymbolicDeclarationImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogiclanguagePackage.Literals.SYMBOLIC_DECLARATION; + } + + /** + * + * + * @generated + */ + public String getName() { + return name; + } + + /** + * + * + * @generated + */ + public void setName(String newName) { + String oldName = name; + name = newName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.SYMBOLIC_DECLARATION__NAME, oldName, name)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case LogiclanguagePackage.SYMBOLIC_DECLARATION__NAME: + return getName(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case LogiclanguagePackage.SYMBOLIC_DECLARATION__NAME: + setName((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case LogiclanguagePackage.SYMBOLIC_DECLARATION__NAME: + setName(NAME_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case LogiclanguagePackage.SYMBOLIC_DECLARATION__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (name: "); + result.append(name); + result.append(')'); + return result.toString(); + } + +} //SymbolicDeclarationImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/SymbolicValueImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/SymbolicValueImpl.java new file mode 100644 index 00000000..59e1a7d3 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/SymbolicValueImpl.java @@ -0,0 +1,214 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.SymbolicDeclaration; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.SymbolicValue; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +/** + * + * An implementation of the model object 'Symbolic Value'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.SymbolicValueImpl#getSymbolicReference Symbolic Reference}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.SymbolicValueImpl#getParameterSubstitutions Parameter Substitutions}
  • + *
+ * + * @generated + */ +public class SymbolicValueImpl extends TermImpl implements SymbolicValue { + /** + * The cached value of the '{@link #getSymbolicReference() Symbolic Reference}' reference. + * + * + * @see #getSymbolicReference() + * @generated + * @ordered + */ + protected SymbolicDeclaration symbolicReference; + + /** + * The cached value of the '{@link #getParameterSubstitutions() Parameter Substitutions}' containment reference list. + * + * + * @see #getParameterSubstitutions() + * @generated + * @ordered + */ + protected EList parameterSubstitutions; + + /** + * + * + * @generated + */ + protected SymbolicValueImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogiclanguagePackage.Literals.SYMBOLIC_VALUE; + } + + /** + * + * + * @generated + */ + public SymbolicDeclaration getSymbolicReference() { + if (symbolicReference != null && symbolicReference.eIsProxy()) { + InternalEObject oldSymbolicReference = (InternalEObject)symbolicReference; + symbolicReference = (SymbolicDeclaration)eResolveProxy(oldSymbolicReference); + if (symbolicReference != oldSymbolicReference) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, LogiclanguagePackage.SYMBOLIC_VALUE__SYMBOLIC_REFERENCE, oldSymbolicReference, symbolicReference)); + } + } + return symbolicReference; + } + + /** + * + * + * @generated + */ + public SymbolicDeclaration basicGetSymbolicReference() { + return symbolicReference; + } + + /** + * + * + * @generated + */ + public void setSymbolicReference(SymbolicDeclaration newSymbolicReference) { + SymbolicDeclaration oldSymbolicReference = symbolicReference; + symbolicReference = newSymbolicReference; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.SYMBOLIC_VALUE__SYMBOLIC_REFERENCE, oldSymbolicReference, symbolicReference)); + } + + /** + * + * + * @generated + */ + public EList getParameterSubstitutions() { + if (parameterSubstitutions == null) { + parameterSubstitutions = new EObjectContainmentEList(Term.class, this, LogiclanguagePackage.SYMBOLIC_VALUE__PARAMETER_SUBSTITUTIONS); + } + return parameterSubstitutions; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case LogiclanguagePackage.SYMBOLIC_VALUE__PARAMETER_SUBSTITUTIONS: + return ((InternalEList)getParameterSubstitutions()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case LogiclanguagePackage.SYMBOLIC_VALUE__SYMBOLIC_REFERENCE: + if (resolve) return getSymbolicReference(); + return basicGetSymbolicReference(); + case LogiclanguagePackage.SYMBOLIC_VALUE__PARAMETER_SUBSTITUTIONS: + return getParameterSubstitutions(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case LogiclanguagePackage.SYMBOLIC_VALUE__SYMBOLIC_REFERENCE: + setSymbolicReference((SymbolicDeclaration)newValue); + return; + case LogiclanguagePackage.SYMBOLIC_VALUE__PARAMETER_SUBSTITUTIONS: + getParameterSubstitutions().clear(); + getParameterSubstitutions().addAll((Collection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case LogiclanguagePackage.SYMBOLIC_VALUE__SYMBOLIC_REFERENCE: + setSymbolicReference((SymbolicDeclaration)null); + return; + case LogiclanguagePackage.SYMBOLIC_VALUE__PARAMETER_SUBSTITUTIONS: + getParameterSubstitutions().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case LogiclanguagePackage.SYMBOLIC_VALUE__SYMBOLIC_REFERENCE: + return symbolicReference != null; + case LogiclanguagePackage.SYMBOLIC_VALUE__PARAMETER_SUBSTITUTIONS: + return parameterSubstitutions != null && !parameterSubstitutions.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //SymbolicValueImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/TermImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/TermImpl.java new file mode 100644 index 00000000..e3a9eec4 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/TermImpl.java @@ -0,0 +1,39 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +/** + * + * An implementation of the model object 'Term'. + * + * + * @generated + */ +public abstract class TermImpl extends MinimalEObjectImpl.Container implements Term { + /** + * + * + * @generated + */ + protected TermImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogiclanguagePackage.Literals.TERM; + } + +} //TermImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/TypeDeclarationImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/TypeDeclarationImpl.java new file mode 100644 index 00000000..dfcf17dc --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/TypeDeclarationImpl.java @@ -0,0 +1,37 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDeclaration; + +import org.eclipse.emf.ecore.EClass; + +/** + * + * An implementation of the model object 'Type Declaration'. + * + * + * @generated + */ +public class TypeDeclarationImpl extends TypeImpl implements TypeDeclaration { + /** + * + * + * @generated + */ + protected TypeDeclarationImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogiclanguagePackage.Literals.TYPE_DECLARATION; + } + +} //TypeDeclarationImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/TypeDefinitionImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/TypeDefinitionImpl.java new file mode 100644 index 00000000..02b2ec52 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/TypeDefinitionImpl.java @@ -0,0 +1,225 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.DefinedElement; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDeclaration; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDefinition; + +import java.util.Collection; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.util.EObjectWithInverseResolvingEList; +import org.eclipse.emf.ecore.util.InternalEList; + +/** + * + * An implementation of the model object 'Type Definition'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.TypeDefinitionImpl#getElements Elements}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.TypeDefinitionImpl#getDefines Defines}
  • + *
+ * + * @generated + */ +public class TypeDefinitionImpl extends TypeImpl implements TypeDefinition { + /** + * The cached value of the '{@link #getElements() Elements}' reference list. + * + * + * @see #getElements() + * @generated + * @ordered + */ + protected EList elements; + + /** + * The cached value of the '{@link #getDefines() Defines}' reference. + * + * + * @see #getDefines() + * @generated + * @ordered + */ + protected TypeDeclaration defines; + + /** + * + * + * @generated + */ + protected TypeDefinitionImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogiclanguagePackage.Literals.TYPE_DEFINITION; + } + + /** + * + * + * @generated + */ + public EList getElements() { + if (elements == null) { + elements = new EObjectWithInverseResolvingEList.ManyInverse(DefinedElement.class, this, LogiclanguagePackage.TYPE_DEFINITION__ELEMENTS, LogiclanguagePackage.DEFINED_ELEMENT__DEFINED_IN_TYPE); + } + return elements; + } + + /** + * + * + * @generated + */ + public TypeDeclaration getDefines() { + if (defines != null && defines.eIsProxy()) { + InternalEObject oldDefines = (InternalEObject)defines; + defines = (TypeDeclaration)eResolveProxy(oldDefines); + if (defines != oldDefines) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, LogiclanguagePackage.TYPE_DEFINITION__DEFINES, oldDefines, defines)); + } + } + return defines; + } + + /** + * + * + * @generated + */ + public TypeDeclaration basicGetDefines() { + return defines; + } + + /** + * + * + * @generated + */ + public void setDefines(TypeDeclaration newDefines) { + TypeDeclaration oldDefines = defines; + defines = newDefines; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.TYPE_DEFINITION__DEFINES, oldDefines, defines)); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case LogiclanguagePackage.TYPE_DEFINITION__ELEMENTS: + return ((InternalEList)(InternalEList)getElements()).basicAdd(otherEnd, msgs); + } + return super.eInverseAdd(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case LogiclanguagePackage.TYPE_DEFINITION__ELEMENTS: + return ((InternalEList)getElements()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case LogiclanguagePackage.TYPE_DEFINITION__ELEMENTS: + return getElements(); + case LogiclanguagePackage.TYPE_DEFINITION__DEFINES: + if (resolve) return getDefines(); + return basicGetDefines(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case LogiclanguagePackage.TYPE_DEFINITION__ELEMENTS: + getElements().clear(); + getElements().addAll((Collection)newValue); + return; + case LogiclanguagePackage.TYPE_DEFINITION__DEFINES: + setDefines((TypeDeclaration)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case LogiclanguagePackage.TYPE_DEFINITION__ELEMENTS: + getElements().clear(); + return; + case LogiclanguagePackage.TYPE_DEFINITION__DEFINES: + setDefines((TypeDeclaration)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case LogiclanguagePackage.TYPE_DEFINITION__ELEMENTS: + return elements != null && !elements.isEmpty(); + case LogiclanguagePackage.TYPE_DEFINITION__DEFINES: + return defines != null; + } + return super.eIsSet(featureID); + } + +} //TypeDefinitionImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/TypeImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/TypeImpl.java new file mode 100644 index 00000000..f51d7ef5 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/TypeImpl.java @@ -0,0 +1,325 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.InternalEObject; +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; +import org.eclipse.emf.ecore.util.EObjectWithInverseResolvingEList; +import org.eclipse.emf.ecore.util.InternalEList; + +/** + * + * An implementation of the model object 'Type'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.TypeImpl#getName Name}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.TypeImpl#getSubtypes Subtypes}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.TypeImpl#getSupertypes Supertypes}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.TypeImpl#isIsAbstract Is Abstract}
  • + *
+ * + * @generated + */ +public abstract class TypeImpl extends MinimalEObjectImpl.Container implements Type { + /** + * The default value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected static final String NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected String name = NAME_EDEFAULT; + + /** + * The cached value of the '{@link #getSubtypes() Subtypes}' reference list. + * + * + * @see #getSubtypes() + * @generated + * @ordered + */ + protected EList subtypes; + /** + * The cached value of the '{@link #getSupertypes() Supertypes}' reference list. + * + * + * @see #getSupertypes() + * @generated + * @ordered + */ + protected EList supertypes; + + /** + * The default value of the '{@link #isIsAbstract() Is Abstract}' attribute. + * + * + * @see #isIsAbstract() + * @generated + * @ordered + */ + protected static final boolean IS_ABSTRACT_EDEFAULT = false; + + /** + * The cached value of the '{@link #isIsAbstract() Is Abstract}' attribute. + * + * + * @see #isIsAbstract() + * @generated + * @ordered + */ + protected boolean isAbstract = IS_ABSTRACT_EDEFAULT; + + /** + * + * + * @generated + */ + protected TypeImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogiclanguagePackage.Literals.TYPE; + } + + /** + * + * + * @generated + */ + public String getName() { + return name; + } + + /** + * + * + * @generated + */ + public void setName(String newName) { + String oldName = name; + name = newName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.TYPE__NAME, oldName, name)); + } + + /** + * + * + * @generated + */ + public EList getSubtypes() { + if (subtypes == null) { + subtypes = new EObjectWithInverseResolvingEList.ManyInverse(Type.class, this, LogiclanguagePackage.TYPE__SUBTYPES, LogiclanguagePackage.TYPE__SUPERTYPES); + } + return subtypes; + } + + /** + * + * + * @generated + */ + public EList getSupertypes() { + if (supertypes == null) { + supertypes = new EObjectWithInverseResolvingEList.ManyInverse(Type.class, this, LogiclanguagePackage.TYPE__SUPERTYPES, LogiclanguagePackage.TYPE__SUBTYPES); + } + return supertypes; + } + + /** + * + * + * @generated + */ + public boolean isIsAbstract() { + return isAbstract; + } + + /** + * + * + * @generated + */ + public void setIsAbstract(boolean newIsAbstract) { + boolean oldIsAbstract = isAbstract; + isAbstract = newIsAbstract; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.TYPE__IS_ABSTRACT, oldIsAbstract, isAbstract)); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case LogiclanguagePackage.TYPE__SUBTYPES: + return ((InternalEList)(InternalEList)getSubtypes()).basicAdd(otherEnd, msgs); + case LogiclanguagePackage.TYPE__SUPERTYPES: + return ((InternalEList)(InternalEList)getSupertypes()).basicAdd(otherEnd, msgs); + } + return super.eInverseAdd(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case LogiclanguagePackage.TYPE__SUBTYPES: + return ((InternalEList)getSubtypes()).basicRemove(otherEnd, msgs); + case LogiclanguagePackage.TYPE__SUPERTYPES: + return ((InternalEList)getSupertypes()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case LogiclanguagePackage.TYPE__NAME: + return getName(); + case LogiclanguagePackage.TYPE__SUBTYPES: + return getSubtypes(); + case LogiclanguagePackage.TYPE__SUPERTYPES: + return getSupertypes(); + case LogiclanguagePackage.TYPE__IS_ABSTRACT: + return isIsAbstract(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case LogiclanguagePackage.TYPE__NAME: + setName((String)newValue); + return; + case LogiclanguagePackage.TYPE__SUBTYPES: + getSubtypes().clear(); + getSubtypes().addAll((Collection)newValue); + return; + case LogiclanguagePackage.TYPE__SUPERTYPES: + getSupertypes().clear(); + getSupertypes().addAll((Collection)newValue); + return; + case LogiclanguagePackage.TYPE__IS_ABSTRACT: + setIsAbstract((Boolean)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case LogiclanguagePackage.TYPE__NAME: + setName(NAME_EDEFAULT); + return; + case LogiclanguagePackage.TYPE__SUBTYPES: + getSubtypes().clear(); + return; + case LogiclanguagePackage.TYPE__SUPERTYPES: + getSupertypes().clear(); + return; + case LogiclanguagePackage.TYPE__IS_ABSTRACT: + setIsAbstract(IS_ABSTRACT_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case LogiclanguagePackage.TYPE__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + case LogiclanguagePackage.TYPE__SUBTYPES: + return subtypes != null && !subtypes.isEmpty(); + case LogiclanguagePackage.TYPE__SUPERTYPES: + return supertypes != null && !supertypes.isEmpty(); + case LogiclanguagePackage.TYPE__IS_ABSTRACT: + return isAbstract != IS_ABSTRACT_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (name: "); + result.append(name); + result.append(", isAbstract: "); + result.append(isAbstract); + result.append(')'); + return result.toString(); + } + +} //TypeImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/TypeReferenceImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/TypeReferenceImpl.java new file mode 100644 index 00000000..c8e8b782 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/TypeReferenceImpl.java @@ -0,0 +1,39 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeReference; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +/** + * + * An implementation of the model object 'Type Reference'. + * + * + * @generated + */ +public abstract class TypeReferenceImpl extends MinimalEObjectImpl.Container implements TypeReference { + /** + * + * + * @generated + */ + protected TypeReferenceImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogiclanguagePackage.Literals.TYPE_REFERENCE; + } + +} //TypeReferenceImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/UnknownBecauseUninterpretedImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/UnknownBecauseUninterpretedImpl.java new file mode 100644 index 00000000..af7e9a11 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/UnknownBecauseUninterpretedImpl.java @@ -0,0 +1,37 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.UnknownBecauseUninterpreted; + +import org.eclipse.emf.ecore.EClass; + +/** + * + * An implementation of the model object 'Unknown Because Uninterpreted'. + * + * + * @generated + */ +public class UnknownBecauseUninterpretedImpl extends TermImpl implements UnknownBecauseUninterpreted { + /** + * + * + * @generated + */ + protected UnknownBecauseUninterpretedImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogiclanguagePackage.Literals.UNKNOWN_BECAUSE_UNINTERPRETED; + } + +} //UnknownBecauseUninterpretedImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/VariableImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/VariableImpl.java new file mode 100644 index 00000000..5e862b9f --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/impl/VariableImpl.java @@ -0,0 +1,175 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeReference; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Variable; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'Variable'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.VariableImpl#getRange Range}
  • + *
+ * + * @generated + */ +public class VariableImpl extends SymbolicDeclarationImpl implements Variable { + /** + * The cached value of the '{@link #getRange() Range}' containment reference. + * + * + * @see #getRange() + * @generated + * @ordered + */ + protected TypeReference range; + + /** + * + * + * @generated + */ + protected VariableImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogiclanguagePackage.Literals.VARIABLE; + } + + /** + * + * + * @generated + */ + public TypeReference getRange() { + return range; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetRange(TypeReference newRange, NotificationChain msgs) { + TypeReference oldRange = range; + range = newRange; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.VARIABLE__RANGE, oldRange, newRange); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setRange(TypeReference newRange) { + if (newRange != range) { + NotificationChain msgs = null; + if (range != null) + msgs = ((InternalEObject)range).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.VARIABLE__RANGE, null, msgs); + if (newRange != null) + msgs = ((InternalEObject)newRange).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogiclanguagePackage.VARIABLE__RANGE, null, msgs); + msgs = basicSetRange(newRange, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, LogiclanguagePackage.VARIABLE__RANGE, newRange, newRange)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case LogiclanguagePackage.VARIABLE__RANGE: + return basicSetRange(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case LogiclanguagePackage.VARIABLE__RANGE: + return getRange(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case LogiclanguagePackage.VARIABLE__RANGE: + setRange((TypeReference)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case LogiclanguagePackage.VARIABLE__RANGE: + setRange((TypeReference)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case LogiclanguagePackage.VARIABLE__RANGE: + return range != null; + } + return super.eIsSet(featureID); + } + +} //VariableImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/util/LogiclanguageAdapterFactory.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/util/LogiclanguageAdapterFactory.java new file mode 100644 index 00000000..a3372dc9 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/util/LogiclanguageAdapterFactory.java @@ -0,0 +1,1092 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.util; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.*; + +import org.eclipse.emf.common.notify.Adapter; +import org.eclipse.emf.common.notify.Notifier; + +import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * The Adapter Factory for the model. + * It provides an adapter createXXX method for each class of the model. + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage + * @generated + */ +public class LogiclanguageAdapterFactory extends AdapterFactoryImpl { + /** + * The cached model package. + * + * + * @generated + */ + protected static LogiclanguagePackage modelPackage; + + /** + * Creates an instance of the adapter factory. + * + * + * @generated + */ + public LogiclanguageAdapterFactory() { + if (modelPackage == null) { + modelPackage = LogiclanguagePackage.eINSTANCE; + } + } + + /** + * Returns whether this factory is applicable for the type of the object. + * + * This implementation returns true if the object is either the model's package or is an instance object of the model. + * + * @return whether this factory is applicable for the type of the object. + * @generated + */ + @Override + public boolean isFactoryForType(Object object) { + if (object == modelPackage) { + return true; + } + if (object instanceof EObject) { + return ((EObject)object).eClass().getEPackage() == modelPackage; + } + return false; + } + + /** + * The switch that delegates to the createXXX methods. + * + * + * @generated + */ + protected LogiclanguageSwitch modelSwitch = + new LogiclanguageSwitch() { + @Override + public Adapter caseType(Type object) { + return createTypeAdapter(); + } + @Override + public Adapter caseDefinedElement(DefinedElement object) { + return createDefinedElementAdapter(); + } + @Override + public Adapter caseTypeDefinition(TypeDefinition object) { + return createTypeDefinitionAdapter(); + } + @Override + public Adapter caseTypeReference(TypeReference object) { + return createTypeReferenceAdapter(); + } + @Override + public Adapter caseComplexTypeReference(ComplexTypeReference object) { + return createComplexTypeReferenceAdapter(); + } + @Override + public Adapter casePrimitiveTypeReference(PrimitiveTypeReference object) { + return createPrimitiveTypeReferenceAdapter(); + } + @Override + public Adapter caseIntTypeReference(IntTypeReference object) { + return createIntTypeReferenceAdapter(); + } + @Override + public Adapter caseBoolTypeReference(BoolTypeReference object) { + return createBoolTypeReferenceAdapter(); + } + @Override + public Adapter caseRealTypeReference(RealTypeReference object) { + return createRealTypeReferenceAdapter(); + } + @Override + public Adapter caseFunction(Function object) { + return createFunctionAdapter(); + } + @Override + public Adapter caseTerm(Term object) { + return createTermAdapter(); + } + @Override + public Adapter caseSymbolicDeclaration(SymbolicDeclaration object) { + return createSymbolicDeclarationAdapter(); + } + @Override + public Adapter caseSymbolicValue(SymbolicValue object) { + return createSymbolicValueAdapter(); + } + @Override + public Adapter caseAtomicTerm(AtomicTerm object) { + return createAtomicTermAdapter(); + } + @Override + public Adapter caseIntLiteral(IntLiteral object) { + return createIntLiteralAdapter(); + } + @Override + public Adapter caseBoolLiteral(BoolLiteral object) { + return createBoolLiteralAdapter(); + } + @Override + public Adapter caseRealLiteral(RealLiteral object) { + return createRealLiteralAdapter(); + } + @Override + public Adapter caseVariable(Variable object) { + return createVariableAdapter(); + } + @Override + public Adapter caseQuantifiedExpression(QuantifiedExpression object) { + return createQuantifiedExpressionAdapter(); + } + @Override + public Adapter caseExists(Exists object) { + return createExistsAdapter(); + } + @Override + public Adapter caseForall(Forall object) { + return createForallAdapter(); + } + @Override + public Adapter caseBoolOperation(BoolOperation object) { + return createBoolOperationAdapter(); + } + @Override + public Adapter caseAnd(And object) { + return createAndAdapter(); + } + @Override + public Adapter caseOr(Or object) { + return createOrAdapter(); + } + @Override + public Adapter caseImpl(Impl object) { + return createImplAdapter(); + } + @Override + public Adapter caseNot(Not object) { + return createNotAdapter(); + } + @Override + public Adapter caseIff(Iff object) { + return createIffAdapter(); + } + @Override + public Adapter casePrimitiveRelation(PrimitiveRelation object) { + return createPrimitiveRelationAdapter(); + } + @Override + public Adapter caseEquals(Equals object) { + return createEqualsAdapter(); + } + @Override + public Adapter caseDistinct(Distinct object) { + return createDistinctAdapter(); + } + @Override + public Adapter caseLessThan(LessThan object) { + return createLessThanAdapter(); + } + @Override + public Adapter caseMoreThan(MoreThan object) { + return createMoreThanAdapter(); + } + @Override + public Adapter caseLessOrEqualThan(LessOrEqualThan object) { + return createLessOrEqualThanAdapter(); + } + @Override + public Adapter caseMoreOrEqualThan(MoreOrEqualThan object) { + return createMoreOrEqualThanAdapter(); + } + @Override + public Adapter caseIntOperation(IntOperation object) { + return createIntOperationAdapter(); + } + @Override + public Adapter casePlus(Plus object) { + return createPlusAdapter(); + } + @Override + public Adapter caseMinus(Minus object) { + return createMinusAdapter(); + } + @Override + public Adapter caseMultiply(Multiply object) { + return createMultiplyAdapter(); + } + @Override + public Adapter caseDivison(Divison object) { + return createDivisonAdapter(); + } + @Override + public Adapter caseMod(Mod object) { + return createModAdapter(); + } + @Override + public Adapter caseTypeDescriptor(TypeDescriptor object) { + return createTypeDescriptorAdapter(); + } + @Override + public Adapter caseTermDescription(TermDescription object) { + return createTermDescriptionAdapter(); + } + @Override + public Adapter caseAssertion(Assertion object) { + return createAssertionAdapter(); + } + @Override + public Adapter caseRelation(Relation object) { + return createRelationAdapter(); + } + @Override + public Adapter caseConstant(Constant object) { + return createConstantAdapter(); + } + @Override + public Adapter caseConstantDefinition(ConstantDefinition object) { + return createConstantDefinitionAdapter(); + } + @Override + public Adapter caseRelationDefinition(RelationDefinition object) { + return createRelationDefinitionAdapter(); + } + @Override + public Adapter caseFunctionDefinition(FunctionDefinition object) { + return createFunctionDefinitionAdapter(); + } + @Override + public Adapter caseIfThenElse(IfThenElse object) { + return createIfThenElseAdapter(); + } + @Override + public Adapter caseConstantDeclaration(ConstantDeclaration object) { + return createConstantDeclarationAdapter(); + } + @Override + public Adapter caseRelationDeclaration(RelationDeclaration object) { + return createRelationDeclarationAdapter(); + } + @Override + public Adapter caseFunctionDeclaration(FunctionDeclaration object) { + return createFunctionDeclarationAdapter(); + } + @Override + public Adapter caseTypeDeclaration(TypeDeclaration object) { + return createTypeDeclarationAdapter(); + } + @Override + public Adapter caseUnknownBecauseUninterpreted(UnknownBecauseUninterpreted object) { + return createUnknownBecauseUninterpretedAdapter(); + } + @Override + public Adapter caseInstanceOf(InstanceOf object) { + return createInstanceOfAdapter(); + } + @Override + public Adapter defaultCase(EObject object) { + return createEObjectAdapter(); + } + }; + + /** + * Creates an adapter for the target. + * + * + * @param target the object to adapt. + * @return the adapter for the target. + * @generated + */ + @Override + public Adapter createAdapter(Notifier target) { + return modelSwitch.doSwitch((EObject)target); + } + + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type Type}'. + * + * 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 hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type + * @generated + */ + public Adapter createTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.DefinedElement Defined Element}'. + * + * 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 hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.DefinedElement + * @generated + */ + public Adapter createDefinedElementAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDefinition Type Definition}'. + * + * 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 hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDefinition + * @generated + */ + public Adapter createTypeDefinitionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeReference Type Reference}'. + * + * 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 hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeReference + * @generated + */ + public Adapter createTypeReferenceAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ComplexTypeReference Complex Type Reference}'. + * + * 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 hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ComplexTypeReference + * @generated + */ + public Adapter createComplexTypeReferenceAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.PrimitiveTypeReference Primitive Type Reference}'. + * + * 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 hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.PrimitiveTypeReference + * @generated + */ + public Adapter createPrimitiveTypeReferenceAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntTypeReference Int Type Reference}'. + * + * 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 hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntTypeReference + * @generated + */ + public Adapter createIntTypeReferenceAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.BoolTypeReference Bool Type Reference}'. + * + * 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 hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.BoolTypeReference + * @generated + */ + public Adapter createBoolTypeReferenceAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RealTypeReference Real Type Reference}'. + * + * 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 hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RealTypeReference + * @generated + */ + public Adapter createRealTypeReferenceAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Function Function}'. + * + * 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 hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Function + * @generated + */ + public Adapter createFunctionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term Term}'. + * + * 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 hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Term + * @generated + */ + public Adapter createTermAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.SymbolicDeclaration Symbolic Declaration}'. + * + * 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 hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.SymbolicDeclaration + * @generated + */ + public Adapter createSymbolicDeclarationAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.SymbolicValue Symbolic Value}'. + * + * 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 hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.SymbolicValue + * @generated + */ + public Adapter createSymbolicValueAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.AtomicTerm Atomic Term}'. + * + * 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 hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.AtomicTerm + * @generated + */ + public Adapter createAtomicTermAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntLiteral Int Literal}'. + * + * 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 hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntLiteral + * @generated + */ + public Adapter createIntLiteralAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.BoolLiteral Bool Literal}'. + * + * 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 hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.BoolLiteral + * @generated + */ + public Adapter createBoolLiteralAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RealLiteral Real Literal}'. + * + * 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 hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RealLiteral + * @generated + */ + public Adapter createRealLiteralAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Variable Variable}'. + * + * 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 hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Variable + * @generated + */ + public Adapter createVariableAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.QuantifiedExpression Quantified Expression}'. + * + * 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 hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.QuantifiedExpression + * @generated + */ + public Adapter createQuantifiedExpressionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Exists Exists}'. + * + * 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 hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Exists + * @generated + */ + public Adapter createExistsAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Forall Forall}'. + * + * 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 hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Forall + * @generated + */ + public Adapter createForallAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.BoolOperation Bool Operation}'. + * + * 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 hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.BoolOperation + * @generated + */ + public Adapter createBoolOperationAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.And And}'. + * + * 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 hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.And + * @generated + */ + public Adapter createAndAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Or Or}'. + * + * 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 hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Or + * @generated + */ + public Adapter createOrAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Impl Impl}'. + * + * 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 hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Impl + * @generated + */ + public Adapter createImplAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Not Not}'. + * + * 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 hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Not + * @generated + */ + public Adapter createNotAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Iff Iff}'. + * + * 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 hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Iff + * @generated + */ + public Adapter createIffAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.PrimitiveRelation Primitive Relation}'. + * + * 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 hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.PrimitiveRelation + * @generated + */ + public Adapter createPrimitiveRelationAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Equals Equals}'. + * + * 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 hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Equals + * @generated + */ + public Adapter createEqualsAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Distinct Distinct}'. + * + * 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 hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Distinct + * @generated + */ + public Adapter createDistinctAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LessThan Less Than}'. + * + * 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 hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LessThan + * @generated + */ + public Adapter createLessThanAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.MoreThan More Than}'. + * + * 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 hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.MoreThan + * @generated + */ + public Adapter createMoreThanAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LessOrEqualThan Less Or Equal Than}'. + * + * 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 hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LessOrEqualThan + * @generated + */ + public Adapter createLessOrEqualThanAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.MoreOrEqualThan More Or Equal Than}'. + * + * 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 hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.MoreOrEqualThan + * @generated + */ + public Adapter createMoreOrEqualThanAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntOperation Int Operation}'. + * + * 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 hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IntOperation + * @generated + */ + public Adapter createIntOperationAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Plus Plus}'. + * + * 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 hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Plus + * @generated + */ + public Adapter createPlusAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Minus Minus}'. + * + * 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 hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Minus + * @generated + */ + public Adapter createMinusAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Multiply Multiply}'. + * + * 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 hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Multiply + * @generated + */ + public Adapter createMultiplyAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Divison Divison}'. + * + * 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 hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Divison + * @generated + */ + public Adapter createDivisonAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Mod Mod}'. + * + * 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 hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Mod + * @generated + */ + public Adapter createModAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDescriptor Type Descriptor}'. + * + * 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 hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDescriptor + * @generated + */ + public Adapter createTypeDescriptorAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TermDescription Term Description}'. + * + * 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 hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TermDescription + * @generated + */ + public Adapter createTermDescriptionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Assertion Assertion}'. + * + * 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 hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Assertion + * @generated + */ + public Adapter createAssertionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Relation Relation}'. + * + * 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 hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Relation + * @generated + */ + public Adapter createRelationAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Constant Constant}'. + * + * 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 hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Constant + * @generated + */ + public Adapter createConstantAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ConstantDefinition Constant Definition}'. + * + * 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 hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ConstantDefinition + * @generated + */ + public Adapter createConstantDefinitionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDefinition Relation Definition}'. + * + * 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 hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDefinition + * @generated + */ + public Adapter createRelationDefinitionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.FunctionDefinition Function Definition}'. + * + * 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 hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.FunctionDefinition + * @generated + */ + public Adapter createFunctionDefinitionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IfThenElse If Then Else}'. + * + * 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 hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.IfThenElse + * @generated + */ + public Adapter createIfThenElseAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ConstantDeclaration Constant Declaration}'. + * + * 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 hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ConstantDeclaration + * @generated + */ + public Adapter createConstantDeclarationAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDeclaration Relation Declaration}'. + * + * 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 hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDeclaration + * @generated + */ + public Adapter createRelationDeclarationAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.FunctionDeclaration Function Declaration}'. + * + * 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 hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.FunctionDeclaration + * @generated + */ + public Adapter createFunctionDeclarationAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDeclaration Type Declaration}'. + * + * 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 hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDeclaration + * @generated + */ + public Adapter createTypeDeclarationAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.UnknownBecauseUninterpreted Unknown Because Uninterpreted}'. + * + * 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 hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.UnknownBecauseUninterpreted + * @generated + */ + public Adapter createUnknownBecauseUninterpretedAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.InstanceOf Instance Of}'. + * + * 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 hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.InstanceOf + * @generated + */ + public Adapter createInstanceOfAdapter() { + return null; + } + + /** + * Creates a new adapter for the default case. + * + * This default implementation returns null. + * + * @return the new adapter. + * @generated + */ + public Adapter createEObjectAdapter() { + return null; + } + +} //LogiclanguageAdapterFactory diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/util/LogiclanguageSwitch.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/util/LogiclanguageSwitch.java new file mode 100644 index 00000000..a2a1e10a --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logiclanguage/util/LogiclanguageSwitch.java @@ -0,0 +1,1374 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.util; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.*; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.util.Switch; + +/** + * + * The Switch for the model's inheritance hierarchy. + * It supports the call {@link #doSwitch(EObject) doSwitch(object)} + * to invoke the caseXXX method for each class of the model, + * starting with the actual class of the object + * and proceeding up the inheritance hierarchy + * until a non-null result is returned, + * which is the result of the switch. + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage + * @generated + */ +public class LogiclanguageSwitch extends Switch { + /** + * The cached model package + * + * + * @generated + */ + protected static LogiclanguagePackage modelPackage; + + /** + * Creates an instance of the switch. + * + * + * @generated + */ + public LogiclanguageSwitch() { + if (modelPackage == null) { + modelPackage = LogiclanguagePackage.eINSTANCE; + } + } + + /** + * Checks whether this is a switch for the given package. + * + * + * @param ePackage the package in question. + * @return whether this is a switch for the given package. + * @generated + */ + @Override + protected boolean isSwitchFor(EPackage ePackage) { + return ePackage == modelPackage; + } + + /** + * Calls caseXXX for each class of the model until one returns a non null result; it yields that result. + * + * + * @return the first non-null result returned by a caseXXX call. + * @generated + */ + @Override + protected T doSwitch(int classifierID, EObject theEObject) { + switch (classifierID) { + case LogiclanguagePackage.TYPE: { + Type type = (Type)theEObject; + T result = caseType(type); + if (result == null) result = caseTypeDescriptor(type); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogiclanguagePackage.DEFINED_ELEMENT: { + DefinedElement definedElement = (DefinedElement)theEObject; + T result = caseDefinedElement(definedElement); + if (result == null) result = caseSymbolicDeclaration(definedElement); + if (result == null) result = caseTermDescription(definedElement); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogiclanguagePackage.TYPE_DEFINITION: { + TypeDefinition typeDefinition = (TypeDefinition)theEObject; + T result = caseTypeDefinition(typeDefinition); + if (result == null) result = caseType(typeDefinition); + if (result == null) result = caseTypeDescriptor(typeDefinition); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogiclanguagePackage.TYPE_REFERENCE: { + TypeReference typeReference = (TypeReference)theEObject; + T result = caseTypeReference(typeReference); + if (result == null) result = caseTypeDescriptor(typeReference); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogiclanguagePackage.COMPLEX_TYPE_REFERENCE: { + ComplexTypeReference complexTypeReference = (ComplexTypeReference)theEObject; + T result = caseComplexTypeReference(complexTypeReference); + if (result == null) result = caseTypeReference(complexTypeReference); + if (result == null) result = caseTypeDescriptor(complexTypeReference); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogiclanguagePackage.PRIMITIVE_TYPE_REFERENCE: { + PrimitiveTypeReference primitiveTypeReference = (PrimitiveTypeReference)theEObject; + T result = casePrimitiveTypeReference(primitiveTypeReference); + if (result == null) result = caseTypeReference(primitiveTypeReference); + if (result == null) result = caseTypeDescriptor(primitiveTypeReference); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogiclanguagePackage.INT_TYPE_REFERENCE: { + IntTypeReference intTypeReference = (IntTypeReference)theEObject; + T result = caseIntTypeReference(intTypeReference); + if (result == null) result = casePrimitiveTypeReference(intTypeReference); + if (result == null) result = caseTypeReference(intTypeReference); + if (result == null) result = caseTypeDescriptor(intTypeReference); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogiclanguagePackage.BOOL_TYPE_REFERENCE: { + BoolTypeReference boolTypeReference = (BoolTypeReference)theEObject; + T result = caseBoolTypeReference(boolTypeReference); + if (result == null) result = casePrimitiveTypeReference(boolTypeReference); + if (result == null) result = caseTypeReference(boolTypeReference); + if (result == null) result = caseTypeDescriptor(boolTypeReference); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogiclanguagePackage.REAL_TYPE_REFERENCE: { + RealTypeReference realTypeReference = (RealTypeReference)theEObject; + T result = caseRealTypeReference(realTypeReference); + if (result == null) result = casePrimitiveTypeReference(realTypeReference); + if (result == null) result = caseTypeReference(realTypeReference); + if (result == null) result = caseTypeDescriptor(realTypeReference); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogiclanguagePackage.FUNCTION: { + Function function = (Function)theEObject; + T result = caseFunction(function); + if (result == null) result = caseSymbolicDeclaration(function); + if (result == null) result = caseTermDescription(function); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogiclanguagePackage.TERM: { + Term term = (Term)theEObject; + T result = caseTerm(term); + if (result == null) result = caseTermDescription(term); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogiclanguagePackage.SYMBOLIC_DECLARATION: { + SymbolicDeclaration symbolicDeclaration = (SymbolicDeclaration)theEObject; + T result = caseSymbolicDeclaration(symbolicDeclaration); + if (result == null) result = caseTermDescription(symbolicDeclaration); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogiclanguagePackage.SYMBOLIC_VALUE: { + SymbolicValue symbolicValue = (SymbolicValue)theEObject; + T result = caseSymbolicValue(symbolicValue); + if (result == null) result = caseTerm(symbolicValue); + if (result == null) result = caseTermDescription(symbolicValue); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogiclanguagePackage.ATOMIC_TERM: { + AtomicTerm atomicTerm = (AtomicTerm)theEObject; + T result = caseAtomicTerm(atomicTerm); + if (result == null) result = caseTerm(atomicTerm); + if (result == null) result = caseTermDescription(atomicTerm); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogiclanguagePackage.INT_LITERAL: { + IntLiteral intLiteral = (IntLiteral)theEObject; + T result = caseIntLiteral(intLiteral); + if (result == null) result = caseAtomicTerm(intLiteral); + if (result == null) result = caseTerm(intLiteral); + if (result == null) result = caseTermDescription(intLiteral); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogiclanguagePackage.BOOL_LITERAL: { + BoolLiteral boolLiteral = (BoolLiteral)theEObject; + T result = caseBoolLiteral(boolLiteral); + if (result == null) result = caseAtomicTerm(boolLiteral); + if (result == null) result = caseTerm(boolLiteral); + if (result == null) result = caseTermDescription(boolLiteral); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogiclanguagePackage.REAL_LITERAL: { + RealLiteral realLiteral = (RealLiteral)theEObject; + T result = caseRealLiteral(realLiteral); + if (result == null) result = caseAtomicTerm(realLiteral); + if (result == null) result = caseTerm(realLiteral); + if (result == null) result = caseTermDescription(realLiteral); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogiclanguagePackage.VARIABLE: { + Variable variable = (Variable)theEObject; + T result = caseVariable(variable); + if (result == null) result = caseSymbolicDeclaration(variable); + if (result == null) result = caseTermDescription(variable); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogiclanguagePackage.QUANTIFIED_EXPRESSION: { + QuantifiedExpression quantifiedExpression = (QuantifiedExpression)theEObject; + T result = caseQuantifiedExpression(quantifiedExpression); + if (result == null) result = caseTerm(quantifiedExpression); + if (result == null) result = caseTermDescription(quantifiedExpression); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogiclanguagePackage.EXISTS: { + Exists exists = (Exists)theEObject; + T result = caseExists(exists); + if (result == null) result = caseQuantifiedExpression(exists); + if (result == null) result = caseTerm(exists); + if (result == null) result = caseTermDescription(exists); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogiclanguagePackage.FORALL: { + Forall forall = (Forall)theEObject; + T result = caseForall(forall); + if (result == null) result = caseQuantifiedExpression(forall); + if (result == null) result = caseTerm(forall); + if (result == null) result = caseTermDescription(forall); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogiclanguagePackage.BOOL_OPERATION: { + BoolOperation boolOperation = (BoolOperation)theEObject; + T result = caseBoolOperation(boolOperation); + if (result == null) result = caseTerm(boolOperation); + if (result == null) result = caseTermDescription(boolOperation); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogiclanguagePackage.AND: { + And and = (And)theEObject; + T result = caseAnd(and); + if (result == null) result = caseBoolOperation(and); + if (result == null) result = caseTerm(and); + if (result == null) result = caseTermDescription(and); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogiclanguagePackage.OR: { + Or or = (Or)theEObject; + T result = caseOr(or); + if (result == null) result = caseBoolOperation(or); + if (result == null) result = caseTerm(or); + if (result == null) result = caseTermDescription(or); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogiclanguagePackage.IMPL: { + Impl impl = (Impl)theEObject; + T result = caseImpl(impl); + if (result == null) result = caseBoolOperation(impl); + if (result == null) result = caseTerm(impl); + if (result == null) result = caseTermDescription(impl); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogiclanguagePackage.NOT: { + Not not = (Not)theEObject; + T result = caseNot(not); + if (result == null) result = caseBoolOperation(not); + if (result == null) result = caseTerm(not); + if (result == null) result = caseTermDescription(not); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogiclanguagePackage.IFF: { + Iff iff = (Iff)theEObject; + T result = caseIff(iff); + if (result == null) result = caseBoolOperation(iff); + if (result == null) result = caseTerm(iff); + if (result == null) result = caseTermDescription(iff); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogiclanguagePackage.PRIMITIVE_RELATION: { + PrimitiveRelation primitiveRelation = (PrimitiveRelation)theEObject; + T result = casePrimitiveRelation(primitiveRelation); + if (result == null) result = caseTerm(primitiveRelation); + if (result == null) result = caseTermDescription(primitiveRelation); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogiclanguagePackage.EQUALS: { + Equals equals = (Equals)theEObject; + T result = caseEquals(equals); + if (result == null) result = casePrimitiveRelation(equals); + if (result == null) result = caseTerm(equals); + if (result == null) result = caseTermDescription(equals); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogiclanguagePackage.DISTINCT: { + Distinct distinct = (Distinct)theEObject; + T result = caseDistinct(distinct); + if (result == null) result = casePrimitiveRelation(distinct); + if (result == null) result = caseTerm(distinct); + if (result == null) result = caseTermDescription(distinct); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogiclanguagePackage.LESS_THAN: { + LessThan lessThan = (LessThan)theEObject; + T result = caseLessThan(lessThan); + if (result == null) result = casePrimitiveRelation(lessThan); + if (result == null) result = caseTerm(lessThan); + if (result == null) result = caseTermDescription(lessThan); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogiclanguagePackage.MORE_THAN: { + MoreThan moreThan = (MoreThan)theEObject; + T result = caseMoreThan(moreThan); + if (result == null) result = casePrimitiveRelation(moreThan); + if (result == null) result = caseTerm(moreThan); + if (result == null) result = caseTermDescription(moreThan); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogiclanguagePackage.LESS_OR_EQUAL_THAN: { + LessOrEqualThan lessOrEqualThan = (LessOrEqualThan)theEObject; + T result = caseLessOrEqualThan(lessOrEqualThan); + if (result == null) result = casePrimitiveRelation(lessOrEqualThan); + if (result == null) result = caseTerm(lessOrEqualThan); + if (result == null) result = caseTermDescription(lessOrEqualThan); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogiclanguagePackage.MORE_OR_EQUAL_THAN: { + MoreOrEqualThan moreOrEqualThan = (MoreOrEqualThan)theEObject; + T result = caseMoreOrEqualThan(moreOrEqualThan); + if (result == null) result = casePrimitiveRelation(moreOrEqualThan); + if (result == null) result = caseTerm(moreOrEqualThan); + if (result == null) result = caseTermDescription(moreOrEqualThan); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogiclanguagePackage.INT_OPERATION: { + IntOperation intOperation = (IntOperation)theEObject; + T result = caseIntOperation(intOperation); + if (result == null) result = caseTerm(intOperation); + if (result == null) result = caseTermDescription(intOperation); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogiclanguagePackage.PLUS: { + Plus plus = (Plus)theEObject; + T result = casePlus(plus); + if (result == null) result = caseIntOperation(plus); + if (result == null) result = caseTerm(plus); + if (result == null) result = caseTermDescription(plus); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogiclanguagePackage.MINUS: { + Minus minus = (Minus)theEObject; + T result = caseMinus(minus); + if (result == null) result = caseIntOperation(minus); + if (result == null) result = caseTerm(minus); + if (result == null) result = caseTermDescription(minus); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogiclanguagePackage.MULTIPLY: { + Multiply multiply = (Multiply)theEObject; + T result = caseMultiply(multiply); + if (result == null) result = caseIntOperation(multiply); + if (result == null) result = caseTerm(multiply); + if (result == null) result = caseTermDescription(multiply); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogiclanguagePackage.DIVISON: { + Divison divison = (Divison)theEObject; + T result = caseDivison(divison); + if (result == null) result = caseIntOperation(divison); + if (result == null) result = caseTerm(divison); + if (result == null) result = caseTermDescription(divison); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogiclanguagePackage.MOD: { + Mod mod = (Mod)theEObject; + T result = caseMod(mod); + if (result == null) result = caseIntOperation(mod); + if (result == null) result = caseTerm(mod); + if (result == null) result = caseTermDescription(mod); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogiclanguagePackage.TYPE_DESCRIPTOR: { + TypeDescriptor typeDescriptor = (TypeDescriptor)theEObject; + T result = caseTypeDescriptor(typeDescriptor); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogiclanguagePackage.TERM_DESCRIPTION: { + TermDescription termDescription = (TermDescription)theEObject; + T result = caseTermDescription(termDescription); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogiclanguagePackage.ASSERTION: { + Assertion assertion = (Assertion)theEObject; + T result = caseAssertion(assertion); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogiclanguagePackage.RELATION: { + Relation relation = (Relation)theEObject; + T result = caseRelation(relation); + if (result == null) result = caseSymbolicDeclaration(relation); + if (result == null) result = caseTermDescription(relation); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogiclanguagePackage.CONSTANT: { + Constant constant = (Constant)theEObject; + T result = caseConstant(constant); + if (result == null) result = caseSymbolicDeclaration(constant); + if (result == null) result = caseTermDescription(constant); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogiclanguagePackage.CONSTANT_DEFINITION: { + ConstantDefinition constantDefinition = (ConstantDefinition)theEObject; + T result = caseConstantDefinition(constantDefinition); + if (result == null) result = caseConstant(constantDefinition); + if (result == null) result = caseSymbolicDeclaration(constantDefinition); + if (result == null) result = caseTermDescription(constantDefinition); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogiclanguagePackage.RELATION_DEFINITION: { + RelationDefinition relationDefinition = (RelationDefinition)theEObject; + T result = caseRelationDefinition(relationDefinition); + if (result == null) result = caseRelation(relationDefinition); + if (result == null) result = caseSymbolicDeclaration(relationDefinition); + if (result == null) result = caseTermDescription(relationDefinition); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogiclanguagePackage.FUNCTION_DEFINITION: { + FunctionDefinition functionDefinition = (FunctionDefinition)theEObject; + T result = caseFunctionDefinition(functionDefinition); + if (result == null) result = caseFunction(functionDefinition); + if (result == null) result = caseSymbolicDeclaration(functionDefinition); + if (result == null) result = caseTermDescription(functionDefinition); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogiclanguagePackage.IF_THEN_ELSE: { + IfThenElse ifThenElse = (IfThenElse)theEObject; + T result = caseIfThenElse(ifThenElse); + if (result == null) result = caseTerm(ifThenElse); + if (result == null) result = caseTermDescription(ifThenElse); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogiclanguagePackage.CONSTANT_DECLARATION: { + ConstantDeclaration constantDeclaration = (ConstantDeclaration)theEObject; + T result = caseConstantDeclaration(constantDeclaration); + if (result == null) result = caseConstant(constantDeclaration); + if (result == null) result = caseSymbolicDeclaration(constantDeclaration); + if (result == null) result = caseTermDescription(constantDeclaration); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogiclanguagePackage.RELATION_DECLARATION: { + RelationDeclaration relationDeclaration = (RelationDeclaration)theEObject; + T result = caseRelationDeclaration(relationDeclaration); + if (result == null) result = caseRelation(relationDeclaration); + if (result == null) result = caseSymbolicDeclaration(relationDeclaration); + if (result == null) result = caseTermDescription(relationDeclaration); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogiclanguagePackage.FUNCTION_DECLARATION: { + FunctionDeclaration functionDeclaration = (FunctionDeclaration)theEObject; + T result = caseFunctionDeclaration(functionDeclaration); + if (result == null) result = caseFunction(functionDeclaration); + if (result == null) result = caseSymbolicDeclaration(functionDeclaration); + if (result == null) result = caseTermDescription(functionDeclaration); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogiclanguagePackage.TYPE_DECLARATION: { + TypeDeclaration typeDeclaration = (TypeDeclaration)theEObject; + T result = caseTypeDeclaration(typeDeclaration); + if (result == null) result = caseType(typeDeclaration); + if (result == null) result = caseTypeDescriptor(typeDeclaration); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogiclanguagePackage.UNKNOWN_BECAUSE_UNINTERPRETED: { + UnknownBecauseUninterpreted unknownBecauseUninterpreted = (UnknownBecauseUninterpreted)theEObject; + T result = caseUnknownBecauseUninterpreted(unknownBecauseUninterpreted); + if (result == null) result = caseTerm(unknownBecauseUninterpreted); + if (result == null) result = caseTermDescription(unknownBecauseUninterpreted); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogiclanguagePackage.INSTANCE_OF: { + InstanceOf instanceOf = (InstanceOf)theEObject; + T result = caseInstanceOf(instanceOf); + if (result == null) result = caseTerm(instanceOf); + if (result == null) result = caseTermDescription(instanceOf); + if (result == null) result = defaultCase(theEObject); + return result; + } + default: return defaultCase(theEObject); + } + } + + /** + * Returns the result of interpreting the object as an instance of 'Type'. + * + * 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 'Type'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseType(Type object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Defined Element'. + * + * 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 'Defined Element'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseDefinedElement(DefinedElement object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Type Definition'. + * + * 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 'Type Definition'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseTypeDefinition(TypeDefinition object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Type Reference'. + * + * 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 'Type Reference'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseTypeReference(TypeReference object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Complex Type Reference'. + * + * 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 'Complex Type Reference'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseComplexTypeReference(ComplexTypeReference object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Primitive Type Reference'. + * + * 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 'Primitive Type Reference'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T casePrimitiveTypeReference(PrimitiveTypeReference object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Int Type Reference'. + * + * 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 'Int Type Reference'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseIntTypeReference(IntTypeReference object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Bool Type Reference'. + * + * 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 'Bool Type Reference'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseBoolTypeReference(BoolTypeReference object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Real Type Reference'. + * + * 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 'Real Type Reference'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseRealTypeReference(RealTypeReference object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Function'. + * + * 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 'Function'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseFunction(Function object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Term'. + * + * 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 'Term'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseTerm(Term object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Symbolic Declaration'. + * + * 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 'Symbolic Declaration'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseSymbolicDeclaration(SymbolicDeclaration object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Symbolic Value'. + * + * 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 'Symbolic Value'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseSymbolicValue(SymbolicValue object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Atomic Term'. + * + * 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 'Atomic Term'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseAtomicTerm(AtomicTerm object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Int Literal'. + * + * 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 'Int Literal'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseIntLiteral(IntLiteral object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Bool Literal'. + * + * 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 'Bool Literal'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseBoolLiteral(BoolLiteral object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Real Literal'. + * + * 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 'Real Literal'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseRealLiteral(RealLiteral object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Variable'. + * + * 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 'Variable'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseVariable(Variable object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Quantified Expression'. + * + * 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 'Quantified Expression'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseQuantifiedExpression(QuantifiedExpression object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Exists'. + * + * 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 'Exists'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseExists(Exists object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Forall'. + * + * 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 'Forall'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseForall(Forall object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Bool Operation'. + * + * 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 'Bool Operation'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseBoolOperation(BoolOperation object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'And'. + * + * 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 'And'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseAnd(And object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Or'. + * + * 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 'Or'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseOr(Or object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Impl'. + * + * 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 'Impl'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseImpl(Impl object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Not'. + * + * 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 'Not'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseNot(Not object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Iff'. + * + * 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 'Iff'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseIff(Iff object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Primitive Relation'. + * + * 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 'Primitive Relation'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T casePrimitiveRelation(PrimitiveRelation object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Equals'. + * + * 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 'Equals'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEquals(Equals object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Distinct'. + * + * 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 'Distinct'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseDistinct(Distinct object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Less Than'. + * + * 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 'Less Than'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseLessThan(LessThan object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'More Than'. + * + * 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 'More Than'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseMoreThan(MoreThan object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Less Or Equal Than'. + * + * 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 'Less Or Equal Than'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseLessOrEqualThan(LessOrEqualThan object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'More Or Equal Than'. + * + * 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 'More Or Equal Than'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseMoreOrEqualThan(MoreOrEqualThan object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Int Operation'. + * + * 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 'Int Operation'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseIntOperation(IntOperation object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Plus'. + * + * 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 'Plus'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T casePlus(Plus object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Minus'. + * + * 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 'Minus'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseMinus(Minus object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Multiply'. + * + * 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 'Multiply'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseMultiply(Multiply object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Divison'. + * + * 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 'Divison'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseDivison(Divison object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Mod'. + * + * 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 'Mod'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseMod(Mod object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Type Descriptor'. + * + * 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 'Type Descriptor'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseTypeDescriptor(TypeDescriptor object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Term Description'. + * + * 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 'Term Description'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseTermDescription(TermDescription object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Assertion'. + * + * 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 'Assertion'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseAssertion(Assertion object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Relation'. + * + * 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 'Relation'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseRelation(Relation object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Constant'. + * + * 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 'Constant'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseConstant(Constant object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Constant Definition'. + * + * 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 'Constant Definition'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseConstantDefinition(ConstantDefinition object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Relation Definition'. + * + * 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 'Relation Definition'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseRelationDefinition(RelationDefinition object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Function Definition'. + * + * 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 'Function Definition'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseFunctionDefinition(FunctionDefinition object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'If Then Else'. + * + * 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 'If Then Else'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseIfThenElse(IfThenElse object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Constant Declaration'. + * + * 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 'Constant Declaration'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseConstantDeclaration(ConstantDeclaration object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Relation Declaration'. + * + * 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 'Relation Declaration'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseRelationDeclaration(RelationDeclaration object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Function Declaration'. + * + * 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 'Function Declaration'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseFunctionDeclaration(FunctionDeclaration object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Type Declaration'. + * + * 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 'Type Declaration'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseTypeDeclaration(TypeDeclaration object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Unknown Because Uninterpreted'. + * + * 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 'Unknown Because Uninterpreted'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseUnknownBecauseUninterpreted(UnknownBecauseUninterpreted object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Instance Of'. + * + * 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 'Instance Of'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseInstanceOf(InstanceOf object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EObject'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch, but this is the last case anyway. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EObject'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) + * @generated + */ + @Override + public T defaultCase(EObject object) { + return null; + } + +} //LogiclanguageSwitch -- cgit v1.2.3-54-g00ecf