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 ++++++ .../logic/model/logicproblem/Annotation.java | 18 + .../model/logicproblem/AssertionAnnotation.java | 52 + .../model/logicproblem/ConstantAnnotation.java | 52 + .../model/logicproblem/ContainmentHierarchy.java | 108 + .../model/logicproblem/FunctionAnnotation.java | 52 + .../logic/model/logicproblem/LogicProblem.java | 168 + .../model/logicproblem/LogicproblemFactory.java | 96 + .../model/logicproblem/LogicproblemPackage.java | 867 ++++ .../model/logicproblem/RelationAnnotation.java | 52 + .../model/logicproblem/impl/AnnotationImpl.java | 39 + .../logicproblem/impl/AssertionAnnotationImpl.java | 211 + .../logicproblem/impl/ConstantAnnotationImpl.java | 211 + .../impl/ContainmentHierarchyImpl.java | 270 ++ .../logicproblem/impl/FunctionAnnotationImpl.java | 211 + .../model/logicproblem/impl/LogicProblemImpl.java | 411 ++ .../logicproblem/impl/LogicproblemFactoryImpl.java | 161 + .../logicproblem/impl/LogicproblemPackageImpl.java | 490 ++ .../logicproblem/impl/RelationAnnotationImpl.java | 211 + .../util/LogicproblemAdapterFactory.java | 228 + .../logicproblem/util/LogicproblemSwitch.java | 240 + .../logic/model/logicresult/ErrorResult.java | 49 + .../model/logicresult/InconsistencyResult.java | 17 + .../logicresult/InsuficientResourcesResult.java | 49 + .../logic/model/logicresult/IntStatisticEntry.java | 49 + .../logic/model/logicresult/LogicResult.java | 124 + .../model/logicresult/LogicresultFactory.java | 114 + .../model/logicresult/LogicresultPackage.java | 1353 ++++++ .../logic/model/logicresult/ModelResult.java | 76 + .../model/logicresult/RealStatisticEntry.java | 49 + .../logic/model/logicresult/StatisticEntry.java | 50 + .../logic/model/logicresult/Statistics.java | 126 + .../model/logicresult/StringStatisticEntry.java | 50 + .../logic/model/logicresult/UndecidableResult.java | 17 + .../logic/model/logicresult/UnknownResult.java | 17 + .../model/logicresult/impl/ErrorResultImpl.java | 162 + .../logicresult/impl/InconsistencyResultImpl.java | 37 + .../impl/InsuficientResourcesResultImpl.java | 162 + .../logicresult/impl/IntStatisticEntryImpl.java | 162 + .../model/logicresult/impl/LogicResultImpl.java | 346 ++ .../logicresult/impl/LogicresultFactoryImpl.java | 183 + .../logicresult/impl/LogicresultPackageImpl.java | 602 +++ .../model/logicresult/impl/ModelResultImpl.java | 216 + .../logicresult/impl/RealStatisticEntryImpl.java | 162 + .../model/logicresult/impl/StatisticEntryImpl.java | 163 + .../model/logicresult/impl/StatisticsImpl.java | 330 ++ .../logicresult/impl/StringStatisticEntryImpl.java | 162 + .../logicresult/impl/UndecidableResultImpl.java | 37 + .../model/logicresult/impl/UnknownResultImpl.java | 37 + .../util/LogicresultAdapterFactory.java | 318 ++ .../model/logicresult/util/LogicresultSwitch.java | 353 ++ 164 files changed, 30364 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 create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/Annotation.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/AssertionAnnotation.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/ConstantAnnotation.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/ContainmentHierarchy.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/FunctionAnnotation.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/LogicProblem.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/LogicproblemFactory.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/LogicproblemPackage.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/RelationAnnotation.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/AnnotationImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/AssertionAnnotationImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/ConstantAnnotationImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/ContainmentHierarchyImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/FunctionAnnotationImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/LogicProblemImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/LogicproblemFactoryImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/LogicproblemPackageImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/RelationAnnotationImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/util/LogicproblemAdapterFactory.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/util/LogicproblemSwitch.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/ErrorResult.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/InconsistencyResult.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/InsuficientResourcesResult.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/IntStatisticEntry.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/LogicResult.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/LogicresultFactory.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/LogicresultPackage.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/ModelResult.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/RealStatisticEntry.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/StatisticEntry.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/Statistics.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/StringStatisticEntry.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/UndecidableResult.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/UnknownResult.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/ErrorResultImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/InconsistencyResultImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/InsuficientResourcesResultImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/IntStatisticEntryImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/LogicResultImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/LogicresultFactoryImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/LogicresultPackageImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/ModelResultImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/RealStatisticEntryImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/StatisticEntryImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/StatisticsImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/StringStatisticEntryImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/UndecidableResultImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/UnknownResultImpl.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/util/LogicresultAdapterFactory.java create mode 100644 Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/util/LogicresultSwitch.java (limited to 'Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen') 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 diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/Annotation.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/Annotation.java new file mode 100644 index 00000000..29575aee --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/Annotation.java @@ -0,0 +1,18 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logicproblem; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Annotation'. + * + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage#getAnnotation() + * @model + * @generated + */ +public interface Annotation extends EObject { +} // Annotation diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/AssertionAnnotation.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/AssertionAnnotation.java new file mode 100644 index 00000000..2b06e688 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/AssertionAnnotation.java @@ -0,0 +1,52 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logicproblem; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Assertion; + +/** + * + * A representation of the model object 'Assertion Annotation'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.AssertionAnnotation#getTarget Target}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage#getAssertionAnnotation() + * @model + * @generated + */ +public interface AssertionAnnotation extends Annotation { + /** + * Returns the value of the 'Target' reference. + * It is bidirectional and its opposite is '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Assertion#getAnnotations Annotations}'. + * + *

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

+ * + * @return the value of the 'Target' reference. + * @see #setTarget(Assertion) + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage#getAssertionAnnotation_Target() + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Assertion#getAnnotations + * @model opposite="annotations" required="true" + * @generated + */ + Assertion getTarget(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.AssertionAnnotation#getTarget Target}' reference. + * + * + * @param value the new value of the 'Target' reference. + * @see #getTarget() + * @generated + */ + void setTarget(Assertion value); + +} // AssertionAnnotation diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/ConstantAnnotation.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/ConstantAnnotation.java new file mode 100644 index 00000000..f48cedf6 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/ConstantAnnotation.java @@ -0,0 +1,52 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logicproblem; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Constant; + +/** + * + * A representation of the model object 'Constant Annotation'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ConstantAnnotation#getTarget Target}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage#getConstantAnnotation() + * @model + * @generated + */ +public interface ConstantAnnotation extends Annotation { + /** + * Returns the value of the 'Target' reference. + * It is bidirectional and its opposite is '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Constant#getAnnotations Annotations}'. + * + *

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

+ * + * @return the value of the 'Target' reference. + * @see #setTarget(Constant) + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage#getConstantAnnotation_Target() + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Constant#getAnnotations + * @model opposite="annotations" required="true" + * @generated + */ + Constant getTarget(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ConstantAnnotation#getTarget Target}' reference. + * + * + * @param value the new value of the 'Target' reference. + * @see #getTarget() + * @generated + */ + void setTarget(Constant value); + +} // ConstantAnnotation diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/ContainmentHierarchy.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/ContainmentHierarchy.java new file mode 100644 index 00000000..f3f04ff4 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/ContainmentHierarchy.java @@ -0,0 +1,108 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logicproblem; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Constant; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Function; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Relation; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Containment Hierarchy'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ContainmentHierarchy#getTypesOrderedInHierarchy Types Ordered In Hierarchy}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ContainmentHierarchy#getContainmentFunctions Containment Functions}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ContainmentHierarchy#getContainmentRelations Containment Relations}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ContainmentHierarchy#getRootConstant Root Constant}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage#getContainmentHierarchy() + * @model + * @generated + */ +public interface ContainmentHierarchy extends EObject { + /** + * Returns the value of the 'Types Ordered In Hierarchy' reference list. + * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type}. + * + *

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

+ * + * @return the value of the 'Types Ordered In Hierarchy' reference list. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage#getContainmentHierarchy_TypesOrderedInHierarchy() + * @model + * @generated + */ + EList getTypesOrderedInHierarchy(); + + /** + * Returns the value of the 'Containment Functions' reference list. + * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Function}. + * + *

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

+ * + * @return the value of the 'Containment Functions' reference list. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage#getContainmentHierarchy_ContainmentFunctions() + * @model + * @generated + */ + EList getContainmentFunctions(); + + /** + * Returns the value of the 'Containment Relations' reference list. + * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Relation}. + * + *

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

+ * + * @return the value of the 'Containment Relations' reference list. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage#getContainmentHierarchy_ContainmentRelations() + * @model + * @generated + */ + EList getContainmentRelations(); + + /** + * Returns the value of the 'Root Constant' reference. + * + *

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

+ * + * @return the value of the 'Root Constant' reference. + * @see #setRootConstant(Constant) + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage#getContainmentHierarchy_RootConstant() + * @model + * @generated + */ + Constant getRootConstant(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ContainmentHierarchy#getRootConstant Root Constant}' reference. + * + * + * @param value the new value of the 'Root Constant' reference. + * @see #getRootConstant() + * @generated + */ + void setRootConstant(Constant value); + +} // ContainmentHierarchy diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/FunctionAnnotation.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/FunctionAnnotation.java new file mode 100644 index 00000000..b10d5e1b --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/FunctionAnnotation.java @@ -0,0 +1,52 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logicproblem; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Function; + +/** + * + * A representation of the model object 'Function Annotation'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.FunctionAnnotation#getTarget Target}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage#getFunctionAnnotation() + * @model + * @generated + */ +public interface FunctionAnnotation extends Annotation { + /** + * Returns the value of the 'Target' reference. + * It is bidirectional and its opposite is '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Function#getAnnotations Annotations}'. + * + *

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

+ * + * @return the value of the 'Target' reference. + * @see #setTarget(Function) + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage#getFunctionAnnotation_Target() + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Function#getAnnotations + * @model opposite="annotations" required="true" + * @generated + */ + Function getTarget(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.FunctionAnnotation#getTarget Target}' reference. + * + * + * @param value the new value of the 'Target' reference. + * @see #getTarget() + * @generated + */ + void setTarget(Function value); + +} // FunctionAnnotation diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/LogicProblem.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/LogicProblem.java new file mode 100644 index 00000000..bf028318 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/LogicProblem.java @@ -0,0 +1,168 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logicproblem; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Assertion; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Constant; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.DefinedElement; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Function; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Relation; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Logic Problem'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem#getTypes Types}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem#getFunctions Functions}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem#getAssertions Assertions}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem#getRelations Relations}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem#getConstants Constants}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem#getElements Elements}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem#getContainmentHierarchies Containment Hierarchies}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem#getAnnotations Annotations}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage#getLogicProblem() + * @model + * @generated + */ +public interface LogicProblem extends EObject { + /** + * Returns the value of the 'Types' containment reference list. + * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type}. + * + *

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

+ * + * @return the value of the 'Types' containment reference list. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage#getLogicProblem_Types() + * @model containment="true" + * @generated + */ + EList getTypes(); + + /** + * Returns the value of the 'Functions' containment reference list. + * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Function}. + * + *

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

+ * + * @return the value of the 'Functions' containment reference list. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage#getLogicProblem_Functions() + * @model containment="true" + * @generated + */ + EList getFunctions(); + + /** + * Returns the value of the 'Assertions' containment reference list. + * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Assertion}. + * + *

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

+ * + * @return the value of the 'Assertions' containment reference list. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage#getLogicProblem_Assertions() + * @model containment="true" + * @generated + */ + EList getAssertions(); + + /** + * Returns the value of the 'Relations' containment reference list. + * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Relation}. + * + *

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

+ * + * @return the value of the 'Relations' containment reference list. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage#getLogicProblem_Relations() + * @model containment="true" + * @generated + */ + EList getRelations(); + + /** + * Returns the value of the 'Constants' containment reference list. + * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Constant}. + * + *

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

+ * + * @return the value of the 'Constants' containment reference list. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage#getLogicProblem_Constants() + * @model containment="true" + * @generated + */ + EList getConstants(); + + /** + * Returns the value of the 'Elements' containment reference list. + * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.DefinedElement}. + * + *

+ * 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' containment reference list. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage#getLogicProblem_Elements() + * @model containment="true" + * @generated + */ + EList getElements(); + + /** + * Returns the value of the 'Containment Hierarchies' containment reference list. + * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ContainmentHierarchy}. + * + *

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

+ * + * @return the value of the 'Containment Hierarchies' containment reference list. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage#getLogicProblem_ContainmentHierarchies() + * @model containment="true" + * @generated + */ + EList getContainmentHierarchies(); + + /** + * Returns the value of the 'Annotations' containment reference list. + * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.Annotation}. + * + *

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

+ * + * @return the value of the 'Annotations' containment reference list. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage#getLogicProblem_Annotations() + * @model containment="true" + * @generated + */ + EList getAnnotations(); + +} // LogicProblem diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/LogicproblemFactory.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/LogicproblemFactory.java new file mode 100644 index 00000000..82e754b5 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/LogicproblemFactory.java @@ -0,0 +1,96 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logicproblem; + +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.logicproblem.LogicproblemPackage + * @generated + */ +public interface LogicproblemFactory extends EFactory { + /** + * The singleton instance of the factory. + * + * + * @generated + */ + LogicproblemFactory eINSTANCE = hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.LogicproblemFactoryImpl.init(); + + /** + * Returns a new object of class 'Logic Problem'. + * + * + * @return a new object of class 'Logic Problem'. + * @generated + */ + LogicProblem createLogicProblem(); + + /** + * Returns a new object of class 'Containment Hierarchy'. + * + * + * @return a new object of class 'Containment Hierarchy'. + * @generated + */ + ContainmentHierarchy createContainmentHierarchy(); + + /** + * Returns a new object of class 'Relation Annotation'. + * + * + * @return a new object of class 'Relation Annotation'. + * @generated + */ + RelationAnnotation createRelationAnnotation(); + + /** + * Returns a new object of class 'Constant Annotation'. + * + * + * @return a new object of class 'Constant Annotation'. + * @generated + */ + ConstantAnnotation createConstantAnnotation(); + + /** + * Returns a new object of class 'Function Annotation'. + * + * + * @return a new object of class 'Function Annotation'. + * @generated + */ + FunctionAnnotation createFunctionAnnotation(); + + /** + * Returns a new object of class 'Assertion Annotation'. + * + * + * @return a new object of class 'Assertion Annotation'. + * @generated + */ + AssertionAnnotation createAssertionAnnotation(); + + /** + * Returns a new object of class 'Annotation'. + * + * + * @return a new object of class 'Annotation'. + * @generated + */ + Annotation createAnnotation(); + + /** + * Returns the package supported by this factory. + * + * + * @return the package supported by this factory. + * @generated + */ + LogicproblemPackage getLogicproblemPackage(); + +} //LogicproblemFactory diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/LogicproblemPackage.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/LogicproblemPackage.java new file mode 100644 index 00000000..c02f189a --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/LogicproblemPackage.java @@ -0,0 +1,867 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logicproblem; + +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.logicproblem.LogicproblemFactory + * @model kind="package" + * @generated + */ +public interface LogicproblemPackage extends EPackage { + /** + * The package name. + * + * + * @generated + */ + String eNAME = "logicproblem"; + + /** + * The package namespace URI. + * + * + * @generated + */ + String eNS_URI = "http://www.bme.hu/mit/inf/dslreasoner/logic/model/problem"; + + /** + * The package namespace name. + * + * + * @generated + */ + String eNS_PREFIX = "language"; + + /** + * The singleton instance of the package. + * + * + * @generated + */ + LogicproblemPackage eINSTANCE = hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.LogicproblemPackageImpl.init(); + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.LogicProblemImpl Logic Problem}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.LogicProblemImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.LogicproblemPackageImpl#getLogicProblem() + * @generated + */ + int LOGIC_PROBLEM = 0; + + /** + * The feature id for the 'Types' containment reference list. + * + * + * @generated + * @ordered + */ + int LOGIC_PROBLEM__TYPES = 0; + + /** + * The feature id for the 'Functions' containment reference list. + * + * + * @generated + * @ordered + */ + int LOGIC_PROBLEM__FUNCTIONS = 1; + + /** + * The feature id for the 'Assertions' containment reference list. + * + * + * @generated + * @ordered + */ + int LOGIC_PROBLEM__ASSERTIONS = 2; + + /** + * The feature id for the 'Relations' containment reference list. + * + * + * @generated + * @ordered + */ + int LOGIC_PROBLEM__RELATIONS = 3; + + /** + * The feature id for the 'Constants' containment reference list. + * + * + * @generated + * @ordered + */ + int LOGIC_PROBLEM__CONSTANTS = 4; + + /** + * The feature id for the 'Elements' containment reference list. + * + * + * @generated + * @ordered + */ + int LOGIC_PROBLEM__ELEMENTS = 5; + + /** + * The feature id for the 'Containment Hierarchies' containment reference list. + * + * + * @generated + * @ordered + */ + int LOGIC_PROBLEM__CONTAINMENT_HIERARCHIES = 6; + + /** + * The feature id for the 'Annotations' containment reference list. + * + * + * @generated + * @ordered + */ + int LOGIC_PROBLEM__ANNOTATIONS = 7; + + /** + * The number of structural features of the 'Logic Problem' class. + * + * + * @generated + * @ordered + */ + int LOGIC_PROBLEM_FEATURE_COUNT = 8; + + /** + * The number of operations of the 'Logic Problem' class. + * + * + * @generated + * @ordered + */ + int LOGIC_PROBLEM_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.ContainmentHierarchyImpl Containment Hierarchy}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.ContainmentHierarchyImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.LogicproblemPackageImpl#getContainmentHierarchy() + * @generated + */ + int CONTAINMENT_HIERARCHY = 1; + + /** + * The feature id for the 'Types Ordered In Hierarchy' reference list. + * + * + * @generated + * @ordered + */ + int CONTAINMENT_HIERARCHY__TYPES_ORDERED_IN_HIERARCHY = 0; + + /** + * The feature id for the 'Containment Functions' reference list. + * + * + * @generated + * @ordered + */ + int CONTAINMENT_HIERARCHY__CONTAINMENT_FUNCTIONS = 1; + + /** + * The feature id for the 'Containment Relations' reference list. + * + * + * @generated + * @ordered + */ + int CONTAINMENT_HIERARCHY__CONTAINMENT_RELATIONS = 2; + + /** + * The feature id for the 'Root Constant' reference. + * + * + * @generated + * @ordered + */ + int CONTAINMENT_HIERARCHY__ROOT_CONSTANT = 3; + + /** + * The number of structural features of the 'Containment Hierarchy' class. + * + * + * @generated + * @ordered + */ + int CONTAINMENT_HIERARCHY_FEATURE_COUNT = 4; + + /** + * The number of operations of the 'Containment Hierarchy' class. + * + * + * @generated + * @ordered + */ + int CONTAINMENT_HIERARCHY_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.AnnotationImpl Annotation}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.AnnotationImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.LogicproblemPackageImpl#getAnnotation() + * @generated + */ + int ANNOTATION = 6; + + /** + * The number of structural features of the 'Annotation' class. + * + * + * @generated + * @ordered + */ + int ANNOTATION_FEATURE_COUNT = 0; + + /** + * The number of operations of the 'Annotation' class. + * + * + * @generated + * @ordered + */ + int ANNOTATION_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.RelationAnnotationImpl Relation Annotation}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.RelationAnnotationImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.LogicproblemPackageImpl#getRelationAnnotation() + * @generated + */ + int RELATION_ANNOTATION = 2; + + /** + * The feature id for the 'Target' reference. + * + * + * @generated + * @ordered + */ + int RELATION_ANNOTATION__TARGET = ANNOTATION_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Relation Annotation' class. + * + * + * @generated + * @ordered + */ + int RELATION_ANNOTATION_FEATURE_COUNT = ANNOTATION_FEATURE_COUNT + 1; + + /** + * The number of operations of the 'Relation Annotation' class. + * + * + * @generated + * @ordered + */ + int RELATION_ANNOTATION_OPERATION_COUNT = ANNOTATION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.ConstantAnnotationImpl Constant Annotation}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.ConstantAnnotationImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.LogicproblemPackageImpl#getConstantAnnotation() + * @generated + */ + int CONSTANT_ANNOTATION = 3; + + /** + * The feature id for the 'Target' reference. + * + * + * @generated + * @ordered + */ + int CONSTANT_ANNOTATION__TARGET = ANNOTATION_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Constant Annotation' class. + * + * + * @generated + * @ordered + */ + int CONSTANT_ANNOTATION_FEATURE_COUNT = ANNOTATION_FEATURE_COUNT + 1; + + /** + * The number of operations of the 'Constant Annotation' class. + * + * + * @generated + * @ordered + */ + int CONSTANT_ANNOTATION_OPERATION_COUNT = ANNOTATION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.FunctionAnnotationImpl Function Annotation}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.FunctionAnnotationImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.LogicproblemPackageImpl#getFunctionAnnotation() + * @generated + */ + int FUNCTION_ANNOTATION = 4; + + /** + * The feature id for the 'Target' reference. + * + * + * @generated + * @ordered + */ + int FUNCTION_ANNOTATION__TARGET = ANNOTATION_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Function Annotation' class. + * + * + * @generated + * @ordered + */ + int FUNCTION_ANNOTATION_FEATURE_COUNT = ANNOTATION_FEATURE_COUNT + 1; + + /** + * The number of operations of the 'Function Annotation' class. + * + * + * @generated + * @ordered + */ + int FUNCTION_ANNOTATION_OPERATION_COUNT = ANNOTATION_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.AssertionAnnotationImpl Assertion Annotation}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.AssertionAnnotationImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.LogicproblemPackageImpl#getAssertionAnnotation() + * @generated + */ + int ASSERTION_ANNOTATION = 5; + + /** + * The feature id for the 'Target' reference. + * + * + * @generated + * @ordered + */ + int ASSERTION_ANNOTATION__TARGET = ANNOTATION_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Assertion Annotation' class. + * + * + * @generated + * @ordered + */ + int ASSERTION_ANNOTATION_FEATURE_COUNT = ANNOTATION_FEATURE_COUNT + 1; + + /** + * The number of operations of the 'Assertion Annotation' class. + * + * + * @generated + * @ordered + */ + int ASSERTION_ANNOTATION_OPERATION_COUNT = ANNOTATION_OPERATION_COUNT + 0; + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem Logic Problem}'. + * + * + * @return the meta object for class 'Logic Problem'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem + * @generated + */ + EClass getLogicProblem(); + + /** + * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem#getTypes Types}'. + * + * + * @return the meta object for the containment reference list 'Types'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem#getTypes() + * @see #getLogicProblem() + * @generated + */ + EReference getLogicProblem_Types(); + + /** + * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem#getFunctions Functions}'. + * + * + * @return the meta object for the containment reference list 'Functions'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem#getFunctions() + * @see #getLogicProblem() + * @generated + */ + EReference getLogicProblem_Functions(); + + /** + * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem#getAssertions Assertions}'. + * + * + * @return the meta object for the containment reference list 'Assertions'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem#getAssertions() + * @see #getLogicProblem() + * @generated + */ + EReference getLogicProblem_Assertions(); + + /** + * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem#getRelations Relations}'. + * + * + * @return the meta object for the containment reference list 'Relations'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem#getRelations() + * @see #getLogicProblem() + * @generated + */ + EReference getLogicProblem_Relations(); + + /** + * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem#getConstants Constants}'. + * + * + * @return the meta object for the containment reference list 'Constants'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem#getConstants() + * @see #getLogicProblem() + * @generated + */ + EReference getLogicProblem_Constants(); + + /** + * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem#getElements Elements}'. + * + * + * @return the meta object for the containment reference list 'Elements'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem#getElements() + * @see #getLogicProblem() + * @generated + */ + EReference getLogicProblem_Elements(); + + /** + * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem#getContainmentHierarchies Containment Hierarchies}'. + * + * + * @return the meta object for the containment reference list 'Containment Hierarchies'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem#getContainmentHierarchies() + * @see #getLogicProblem() + * @generated + */ + EReference getLogicProblem_ContainmentHierarchies(); + + /** + * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem#getAnnotations Annotations}'. + * + * + * @return the meta object for the containment reference list 'Annotations'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem#getAnnotations() + * @see #getLogicProblem() + * @generated + */ + EReference getLogicProblem_Annotations(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ContainmentHierarchy Containment Hierarchy}'. + * + * + * @return the meta object for class 'Containment Hierarchy'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ContainmentHierarchy + * @generated + */ + EClass getContainmentHierarchy(); + + /** + * Returns the meta object for the reference list '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ContainmentHierarchy#getTypesOrderedInHierarchy Types Ordered In Hierarchy}'. + * + * + * @return the meta object for the reference list 'Types Ordered In Hierarchy'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ContainmentHierarchy#getTypesOrderedInHierarchy() + * @see #getContainmentHierarchy() + * @generated + */ + EReference getContainmentHierarchy_TypesOrderedInHierarchy(); + + /** + * Returns the meta object for the reference list '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ContainmentHierarchy#getContainmentFunctions Containment Functions}'. + * + * + * @return the meta object for the reference list 'Containment Functions'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ContainmentHierarchy#getContainmentFunctions() + * @see #getContainmentHierarchy() + * @generated + */ + EReference getContainmentHierarchy_ContainmentFunctions(); + + /** + * Returns the meta object for the reference list '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ContainmentHierarchy#getContainmentRelations Containment Relations}'. + * + * + * @return the meta object for the reference list 'Containment Relations'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ContainmentHierarchy#getContainmentRelations() + * @see #getContainmentHierarchy() + * @generated + */ + EReference getContainmentHierarchy_ContainmentRelations(); + + /** + * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ContainmentHierarchy#getRootConstant Root Constant}'. + * + * + * @return the meta object for the reference 'Root Constant'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ContainmentHierarchy#getRootConstant() + * @see #getContainmentHierarchy() + * @generated + */ + EReference getContainmentHierarchy_RootConstant(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.RelationAnnotation Relation Annotation}'. + * + * + * @return the meta object for class 'Relation Annotation'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.RelationAnnotation + * @generated + */ + EClass getRelationAnnotation(); + + /** + * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.RelationAnnotation#getTarget Target}'. + * + * + * @return the meta object for the reference 'Target'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.RelationAnnotation#getTarget() + * @see #getRelationAnnotation() + * @generated + */ + EReference getRelationAnnotation_Target(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ConstantAnnotation Constant Annotation}'. + * + * + * @return the meta object for class 'Constant Annotation'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ConstantAnnotation + * @generated + */ + EClass getConstantAnnotation(); + + /** + * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ConstantAnnotation#getTarget Target}'. + * + * + * @return the meta object for the reference 'Target'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ConstantAnnotation#getTarget() + * @see #getConstantAnnotation() + * @generated + */ + EReference getConstantAnnotation_Target(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.FunctionAnnotation Function Annotation}'. + * + * + * @return the meta object for class 'Function Annotation'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.FunctionAnnotation + * @generated + */ + EClass getFunctionAnnotation(); + + /** + * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.FunctionAnnotation#getTarget Target}'. + * + * + * @return the meta object for the reference 'Target'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.FunctionAnnotation#getTarget() + * @see #getFunctionAnnotation() + * @generated + */ + EReference getFunctionAnnotation_Target(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.AssertionAnnotation Assertion Annotation}'. + * + * + * @return the meta object for class 'Assertion Annotation'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.AssertionAnnotation + * @generated + */ + EClass getAssertionAnnotation(); + + /** + * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.AssertionAnnotation#getTarget Target}'. + * + * + * @return the meta object for the reference 'Target'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.AssertionAnnotation#getTarget() + * @see #getAssertionAnnotation() + * @generated + */ + EReference getAssertionAnnotation_Target(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.Annotation Annotation}'. + * + * + * @return the meta object for class 'Annotation'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.Annotation + * @generated + */ + EClass getAnnotation(); + + /** + * Returns the factory that creates the instances of the model. + * + * + * @return the factory that creates the instances of the model. + * @generated + */ + LogicproblemFactory getLogicproblemFactory(); + + /** + * + * 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.logicproblem.impl.LogicProblemImpl Logic Problem}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.LogicProblemImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.LogicproblemPackageImpl#getLogicProblem() + * @generated + */ + EClass LOGIC_PROBLEM = eINSTANCE.getLogicProblem(); + + /** + * The meta object literal for the 'Types' containment reference list feature. + * + * + * @generated + */ + EReference LOGIC_PROBLEM__TYPES = eINSTANCE.getLogicProblem_Types(); + + /** + * The meta object literal for the 'Functions' containment reference list feature. + * + * + * @generated + */ + EReference LOGIC_PROBLEM__FUNCTIONS = eINSTANCE.getLogicProblem_Functions(); + + /** + * The meta object literal for the 'Assertions' containment reference list feature. + * + * + * @generated + */ + EReference LOGIC_PROBLEM__ASSERTIONS = eINSTANCE.getLogicProblem_Assertions(); + + /** + * The meta object literal for the 'Relations' containment reference list feature. + * + * + * @generated + */ + EReference LOGIC_PROBLEM__RELATIONS = eINSTANCE.getLogicProblem_Relations(); + + /** + * The meta object literal for the 'Constants' containment reference list feature. + * + * + * @generated + */ + EReference LOGIC_PROBLEM__CONSTANTS = eINSTANCE.getLogicProblem_Constants(); + + /** + * The meta object literal for the 'Elements' containment reference list feature. + * + * + * @generated + */ + EReference LOGIC_PROBLEM__ELEMENTS = eINSTANCE.getLogicProblem_Elements(); + + /** + * The meta object literal for the 'Containment Hierarchies' containment reference list feature. + * + * + * @generated + */ + EReference LOGIC_PROBLEM__CONTAINMENT_HIERARCHIES = eINSTANCE.getLogicProblem_ContainmentHierarchies(); + + /** + * The meta object literal for the 'Annotations' containment reference list feature. + * + * + * @generated + */ + EReference LOGIC_PROBLEM__ANNOTATIONS = eINSTANCE.getLogicProblem_Annotations(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.ContainmentHierarchyImpl Containment Hierarchy}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.ContainmentHierarchyImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.LogicproblemPackageImpl#getContainmentHierarchy() + * @generated + */ + EClass CONTAINMENT_HIERARCHY = eINSTANCE.getContainmentHierarchy(); + + /** + * The meta object literal for the 'Types Ordered In Hierarchy' reference list feature. + * + * + * @generated + */ + EReference CONTAINMENT_HIERARCHY__TYPES_ORDERED_IN_HIERARCHY = eINSTANCE.getContainmentHierarchy_TypesOrderedInHierarchy(); + + /** + * The meta object literal for the 'Containment Functions' reference list feature. + * + * + * @generated + */ + EReference CONTAINMENT_HIERARCHY__CONTAINMENT_FUNCTIONS = eINSTANCE.getContainmentHierarchy_ContainmentFunctions(); + + /** + * The meta object literal for the 'Containment Relations' reference list feature. + * + * + * @generated + */ + EReference CONTAINMENT_HIERARCHY__CONTAINMENT_RELATIONS = eINSTANCE.getContainmentHierarchy_ContainmentRelations(); + + /** + * The meta object literal for the 'Root Constant' reference feature. + * + * + * @generated + */ + EReference CONTAINMENT_HIERARCHY__ROOT_CONSTANT = eINSTANCE.getContainmentHierarchy_RootConstant(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.RelationAnnotationImpl Relation Annotation}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.RelationAnnotationImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.LogicproblemPackageImpl#getRelationAnnotation() + * @generated + */ + EClass RELATION_ANNOTATION = eINSTANCE.getRelationAnnotation(); + + /** + * The meta object literal for the 'Target' reference feature. + * + * + * @generated + */ + EReference RELATION_ANNOTATION__TARGET = eINSTANCE.getRelationAnnotation_Target(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.ConstantAnnotationImpl Constant Annotation}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.ConstantAnnotationImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.LogicproblemPackageImpl#getConstantAnnotation() + * @generated + */ + EClass CONSTANT_ANNOTATION = eINSTANCE.getConstantAnnotation(); + + /** + * The meta object literal for the 'Target' reference feature. + * + * + * @generated + */ + EReference CONSTANT_ANNOTATION__TARGET = eINSTANCE.getConstantAnnotation_Target(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.FunctionAnnotationImpl Function Annotation}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.FunctionAnnotationImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.LogicproblemPackageImpl#getFunctionAnnotation() + * @generated + */ + EClass FUNCTION_ANNOTATION = eINSTANCE.getFunctionAnnotation(); + + /** + * The meta object literal for the 'Target' reference feature. + * + * + * @generated + */ + EReference FUNCTION_ANNOTATION__TARGET = eINSTANCE.getFunctionAnnotation_Target(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.AssertionAnnotationImpl Assertion Annotation}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.AssertionAnnotationImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.LogicproblemPackageImpl#getAssertionAnnotation() + * @generated + */ + EClass ASSERTION_ANNOTATION = eINSTANCE.getAssertionAnnotation(); + + /** + * The meta object literal for the 'Target' reference feature. + * + * + * @generated + */ + EReference ASSERTION_ANNOTATION__TARGET = eINSTANCE.getAssertionAnnotation_Target(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.AnnotationImpl Annotation}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.AnnotationImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.LogicproblemPackageImpl#getAnnotation() + * @generated + */ + EClass ANNOTATION = eINSTANCE.getAnnotation(); + + } + +} //LogicproblemPackage diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/RelationAnnotation.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/RelationAnnotation.java new file mode 100644 index 00000000..588a8c10 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/RelationAnnotation.java @@ -0,0 +1,52 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logicproblem; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Relation; + +/** + * + * A representation of the model object 'Relation Annotation'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.RelationAnnotation#getTarget Target}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage#getRelationAnnotation() + * @model + * @generated + */ +public interface RelationAnnotation extends Annotation { + /** + * Returns the value of the 'Target' reference. + * It is bidirectional and its opposite is '{@link hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Relation#getAnnotations Annotations}'. + * + *

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

+ * + * @return the value of the 'Target' reference. + * @see #setTarget(Relation) + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage#getRelationAnnotation_Target() + * @see hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Relation#getAnnotations + * @model opposite="annotations" required="true" + * @generated + */ + Relation getTarget(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.RelationAnnotation#getTarget Target}' reference. + * + * + * @param value the new value of the 'Target' reference. + * @see #getTarget() + * @generated + */ + void setTarget(Relation value); + +} // RelationAnnotation diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/AnnotationImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/AnnotationImpl.java new file mode 100644 index 00000000..365aa206 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/AnnotationImpl.java @@ -0,0 +1,39 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.Annotation; +import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +/** + * + * An implementation of the model object 'Annotation'. + * + * + * @generated + */ +public class AnnotationImpl extends MinimalEObjectImpl.Container implements Annotation { + /** + * + * + * @generated + */ + protected AnnotationImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogicproblemPackage.Literals.ANNOTATION; + } + +} //AnnotationImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/AssertionAnnotationImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/AssertionAnnotationImpl.java new file mode 100644 index 00000000..1e015974 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/AssertionAnnotationImpl.java @@ -0,0 +1,211 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.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.logicproblem.AssertionAnnotation; +import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage; + +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 'Assertion Annotation'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.AssertionAnnotationImpl#getTarget Target}
  • + *
+ * + * @generated + */ +public class AssertionAnnotationImpl extends AnnotationImpl implements AssertionAnnotation { + /** + * The cached value of the '{@link #getTarget() Target}' reference. + * + * + * @see #getTarget() + * @generated + * @ordered + */ + protected Assertion target; + + /** + * + * + * @generated + */ + protected AssertionAnnotationImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogicproblemPackage.Literals.ASSERTION_ANNOTATION; + } + + /** + * + * + * @generated + */ + public Assertion getTarget() { + if (target != null && target.eIsProxy()) { + InternalEObject oldTarget = (InternalEObject)target; + target = (Assertion)eResolveProxy(oldTarget); + if (target != oldTarget) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, LogicproblemPackage.ASSERTION_ANNOTATION__TARGET, oldTarget, target)); + } + } + return target; + } + + /** + * + * + * @generated + */ + public Assertion basicGetTarget() { + return target; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetTarget(Assertion newTarget, NotificationChain msgs) { + Assertion oldTarget = target; + target = newTarget; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogicproblemPackage.ASSERTION_ANNOTATION__TARGET, oldTarget, newTarget); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setTarget(Assertion newTarget) { + if (newTarget != target) { + NotificationChain msgs = null; + if (target != null) + msgs = ((InternalEObject)target).eInverseRemove(this, LogiclanguagePackage.ASSERTION__ANNOTATIONS, Assertion.class, msgs); + if (newTarget != null) + msgs = ((InternalEObject)newTarget).eInverseAdd(this, LogiclanguagePackage.ASSERTION__ANNOTATIONS, Assertion.class, msgs); + msgs = basicSetTarget(newTarget, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, LogicproblemPackage.ASSERTION_ANNOTATION__TARGET, newTarget, newTarget)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case LogicproblemPackage.ASSERTION_ANNOTATION__TARGET: + if (target != null) + msgs = ((InternalEObject)target).eInverseRemove(this, LogiclanguagePackage.ASSERTION__ANNOTATIONS, Assertion.class, msgs); + return basicSetTarget((Assertion)otherEnd, msgs); + } + return super.eInverseAdd(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case LogicproblemPackage.ASSERTION_ANNOTATION__TARGET: + return basicSetTarget(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case LogicproblemPackage.ASSERTION_ANNOTATION__TARGET: + if (resolve) return getTarget(); + return basicGetTarget(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case LogicproblemPackage.ASSERTION_ANNOTATION__TARGET: + setTarget((Assertion)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case LogicproblemPackage.ASSERTION_ANNOTATION__TARGET: + setTarget((Assertion)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case LogicproblemPackage.ASSERTION_ANNOTATION__TARGET: + return target != null; + } + return super.eIsSet(featureID); + } + +} //AssertionAnnotationImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/ConstantAnnotationImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/ConstantAnnotationImpl.java new file mode 100644 index 00000000..734ce70c --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/ConstantAnnotationImpl.java @@ -0,0 +1,211 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.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.logicproblem.ConstantAnnotation; +import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage; + +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 Annotation'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.ConstantAnnotationImpl#getTarget Target}
  • + *
+ * + * @generated + */ +public class ConstantAnnotationImpl extends AnnotationImpl implements ConstantAnnotation { + /** + * The cached value of the '{@link #getTarget() Target}' reference. + * + * + * @see #getTarget() + * @generated + * @ordered + */ + protected Constant target; + + /** + * + * + * @generated + */ + protected ConstantAnnotationImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogicproblemPackage.Literals.CONSTANT_ANNOTATION; + } + + /** + * + * + * @generated + */ + public Constant getTarget() { + if (target != null && target.eIsProxy()) { + InternalEObject oldTarget = (InternalEObject)target; + target = (Constant)eResolveProxy(oldTarget); + if (target != oldTarget) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, LogicproblemPackage.CONSTANT_ANNOTATION__TARGET, oldTarget, target)); + } + } + return target; + } + + /** + * + * + * @generated + */ + public Constant basicGetTarget() { + return target; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetTarget(Constant newTarget, NotificationChain msgs) { + Constant oldTarget = target; + target = newTarget; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogicproblemPackage.CONSTANT_ANNOTATION__TARGET, oldTarget, newTarget); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setTarget(Constant newTarget) { + if (newTarget != target) { + NotificationChain msgs = null; + if (target != null) + msgs = ((InternalEObject)target).eInverseRemove(this, LogiclanguagePackage.CONSTANT__ANNOTATIONS, Constant.class, msgs); + if (newTarget != null) + msgs = ((InternalEObject)newTarget).eInverseAdd(this, LogiclanguagePackage.CONSTANT__ANNOTATIONS, Constant.class, msgs); + msgs = basicSetTarget(newTarget, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, LogicproblemPackage.CONSTANT_ANNOTATION__TARGET, newTarget, newTarget)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case LogicproblemPackage.CONSTANT_ANNOTATION__TARGET: + if (target != null) + msgs = ((InternalEObject)target).eInverseRemove(this, LogiclanguagePackage.CONSTANT__ANNOTATIONS, Constant.class, msgs); + return basicSetTarget((Constant)otherEnd, msgs); + } + return super.eInverseAdd(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case LogicproblemPackage.CONSTANT_ANNOTATION__TARGET: + return basicSetTarget(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case LogicproblemPackage.CONSTANT_ANNOTATION__TARGET: + if (resolve) return getTarget(); + return basicGetTarget(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case LogicproblemPackage.CONSTANT_ANNOTATION__TARGET: + setTarget((Constant)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case LogicproblemPackage.CONSTANT_ANNOTATION__TARGET: + setTarget((Constant)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case LogicproblemPackage.CONSTANT_ANNOTATION__TARGET: + return target != null; + } + return super.eIsSet(featureID); + } + +} //ConstantAnnotationImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/ContainmentHierarchyImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/ContainmentHierarchyImpl.java new file mode 100644 index 00000000..909f49a5 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/ContainmentHierarchyImpl.java @@ -0,0 +1,270 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Constant; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Function; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Relation; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type; + +import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ContainmentHierarchy; +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.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.EObjectResolvingEList; + +/** + * + * An implementation of the model object 'Containment Hierarchy'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.ContainmentHierarchyImpl#getTypesOrderedInHierarchy Types Ordered In Hierarchy}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.ContainmentHierarchyImpl#getContainmentFunctions Containment Functions}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.ContainmentHierarchyImpl#getContainmentRelations Containment Relations}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.ContainmentHierarchyImpl#getRootConstant Root Constant}
  • + *
+ * + * @generated + */ +public class ContainmentHierarchyImpl extends MinimalEObjectImpl.Container implements ContainmentHierarchy { + /** + * The cached value of the '{@link #getTypesOrderedInHierarchy() Types Ordered In Hierarchy}' reference list. + * + * + * @see #getTypesOrderedInHierarchy() + * @generated + * @ordered + */ + protected EList typesOrderedInHierarchy; + + /** + * The cached value of the '{@link #getContainmentFunctions() Containment Functions}' reference list. + * + * + * @see #getContainmentFunctions() + * @generated + * @ordered + */ + protected EList containmentFunctions; + + /** + * The cached value of the '{@link #getContainmentRelations() Containment Relations}' reference list. + * + * + * @see #getContainmentRelations() + * @generated + * @ordered + */ + protected EList containmentRelations; + + /** + * The cached value of the '{@link #getRootConstant() Root Constant}' reference. + * + * + * @see #getRootConstant() + * @generated + * @ordered + */ + protected Constant rootConstant; + + /** + * + * + * @generated + */ + protected ContainmentHierarchyImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogicproblemPackage.Literals.CONTAINMENT_HIERARCHY; + } + + /** + * + * + * @generated + */ + public EList getTypesOrderedInHierarchy() { + if (typesOrderedInHierarchy == null) { + typesOrderedInHierarchy = new EObjectResolvingEList(Type.class, this, LogicproblemPackage.CONTAINMENT_HIERARCHY__TYPES_ORDERED_IN_HIERARCHY); + } + return typesOrderedInHierarchy; + } + + /** + * + * + * @generated + */ + public EList getContainmentFunctions() { + if (containmentFunctions == null) { + containmentFunctions = new EObjectResolvingEList(Function.class, this, LogicproblemPackage.CONTAINMENT_HIERARCHY__CONTAINMENT_FUNCTIONS); + } + return containmentFunctions; + } + + /** + * + * + * @generated + */ + public EList getContainmentRelations() { + if (containmentRelations == null) { + containmentRelations = new EObjectResolvingEList(Relation.class, this, LogicproblemPackage.CONTAINMENT_HIERARCHY__CONTAINMENT_RELATIONS); + } + return containmentRelations; + } + + /** + * + * + * @generated + */ + public Constant getRootConstant() { + if (rootConstant != null && rootConstant.eIsProxy()) { + InternalEObject oldRootConstant = (InternalEObject)rootConstant; + rootConstant = (Constant)eResolveProxy(oldRootConstant); + if (rootConstant != oldRootConstant) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, LogicproblemPackage.CONTAINMENT_HIERARCHY__ROOT_CONSTANT, oldRootConstant, rootConstant)); + } + } + return rootConstant; + } + + /** + * + * + * @generated + */ + public Constant basicGetRootConstant() { + return rootConstant; + } + + /** + * + * + * @generated + */ + public void setRootConstant(Constant newRootConstant) { + Constant oldRootConstant = rootConstant; + rootConstant = newRootConstant; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, LogicproblemPackage.CONTAINMENT_HIERARCHY__ROOT_CONSTANT, oldRootConstant, rootConstant)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case LogicproblemPackage.CONTAINMENT_HIERARCHY__TYPES_ORDERED_IN_HIERARCHY: + return getTypesOrderedInHierarchy(); + case LogicproblemPackage.CONTAINMENT_HIERARCHY__CONTAINMENT_FUNCTIONS: + return getContainmentFunctions(); + case LogicproblemPackage.CONTAINMENT_HIERARCHY__CONTAINMENT_RELATIONS: + return getContainmentRelations(); + case LogicproblemPackage.CONTAINMENT_HIERARCHY__ROOT_CONSTANT: + if (resolve) return getRootConstant(); + return basicGetRootConstant(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case LogicproblemPackage.CONTAINMENT_HIERARCHY__TYPES_ORDERED_IN_HIERARCHY: + getTypesOrderedInHierarchy().clear(); + getTypesOrderedInHierarchy().addAll((Collection)newValue); + return; + case LogicproblemPackage.CONTAINMENT_HIERARCHY__CONTAINMENT_FUNCTIONS: + getContainmentFunctions().clear(); + getContainmentFunctions().addAll((Collection)newValue); + return; + case LogicproblemPackage.CONTAINMENT_HIERARCHY__CONTAINMENT_RELATIONS: + getContainmentRelations().clear(); + getContainmentRelations().addAll((Collection)newValue); + return; + case LogicproblemPackage.CONTAINMENT_HIERARCHY__ROOT_CONSTANT: + setRootConstant((Constant)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case LogicproblemPackage.CONTAINMENT_HIERARCHY__TYPES_ORDERED_IN_HIERARCHY: + getTypesOrderedInHierarchy().clear(); + return; + case LogicproblemPackage.CONTAINMENT_HIERARCHY__CONTAINMENT_FUNCTIONS: + getContainmentFunctions().clear(); + return; + case LogicproblemPackage.CONTAINMENT_HIERARCHY__CONTAINMENT_RELATIONS: + getContainmentRelations().clear(); + return; + case LogicproblemPackage.CONTAINMENT_HIERARCHY__ROOT_CONSTANT: + setRootConstant((Constant)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case LogicproblemPackage.CONTAINMENT_HIERARCHY__TYPES_ORDERED_IN_HIERARCHY: + return typesOrderedInHierarchy != null && !typesOrderedInHierarchy.isEmpty(); + case LogicproblemPackage.CONTAINMENT_HIERARCHY__CONTAINMENT_FUNCTIONS: + return containmentFunctions != null && !containmentFunctions.isEmpty(); + case LogicproblemPackage.CONTAINMENT_HIERARCHY__CONTAINMENT_RELATIONS: + return containmentRelations != null && !containmentRelations.isEmpty(); + case LogicproblemPackage.CONTAINMENT_HIERARCHY__ROOT_CONSTANT: + return rootConstant != null; + } + return super.eIsSet(featureID); + } + +} //ContainmentHierarchyImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/FunctionAnnotationImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/FunctionAnnotationImpl.java new file mode 100644 index 00000000..77ee58c2 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/FunctionAnnotationImpl.java @@ -0,0 +1,211 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.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.logicproblem.FunctionAnnotation; +import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage; + +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 'Function Annotation'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.FunctionAnnotationImpl#getTarget Target}
  • + *
+ * + * @generated + */ +public class FunctionAnnotationImpl extends AnnotationImpl implements FunctionAnnotation { + /** + * The cached value of the '{@link #getTarget() Target}' reference. + * + * + * @see #getTarget() + * @generated + * @ordered + */ + protected Function target; + + /** + * + * + * @generated + */ + protected FunctionAnnotationImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogicproblemPackage.Literals.FUNCTION_ANNOTATION; + } + + /** + * + * + * @generated + */ + public Function getTarget() { + if (target != null && target.eIsProxy()) { + InternalEObject oldTarget = (InternalEObject)target; + target = (Function)eResolveProxy(oldTarget); + if (target != oldTarget) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, LogicproblemPackage.FUNCTION_ANNOTATION__TARGET, oldTarget, target)); + } + } + return target; + } + + /** + * + * + * @generated + */ + public Function basicGetTarget() { + return target; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetTarget(Function newTarget, NotificationChain msgs) { + Function oldTarget = target; + target = newTarget; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogicproblemPackage.FUNCTION_ANNOTATION__TARGET, oldTarget, newTarget); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setTarget(Function newTarget) { + if (newTarget != target) { + NotificationChain msgs = null; + if (target != null) + msgs = ((InternalEObject)target).eInverseRemove(this, LogiclanguagePackage.FUNCTION__ANNOTATIONS, Function.class, msgs); + if (newTarget != null) + msgs = ((InternalEObject)newTarget).eInverseAdd(this, LogiclanguagePackage.FUNCTION__ANNOTATIONS, Function.class, msgs); + msgs = basicSetTarget(newTarget, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, LogicproblemPackage.FUNCTION_ANNOTATION__TARGET, newTarget, newTarget)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case LogicproblemPackage.FUNCTION_ANNOTATION__TARGET: + if (target != null) + msgs = ((InternalEObject)target).eInverseRemove(this, LogiclanguagePackage.FUNCTION__ANNOTATIONS, Function.class, msgs); + return basicSetTarget((Function)otherEnd, msgs); + } + return super.eInverseAdd(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case LogicproblemPackage.FUNCTION_ANNOTATION__TARGET: + return basicSetTarget(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case LogicproblemPackage.FUNCTION_ANNOTATION__TARGET: + if (resolve) return getTarget(); + return basicGetTarget(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case LogicproblemPackage.FUNCTION_ANNOTATION__TARGET: + setTarget((Function)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case LogicproblemPackage.FUNCTION_ANNOTATION__TARGET: + setTarget((Function)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case LogicproblemPackage.FUNCTION_ANNOTATION__TARGET: + return target != null; + } + return super.eIsSet(featureID); + } + +} //FunctionAnnotationImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/LogicProblemImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/LogicProblemImpl.java new file mode 100644 index 00000000..70b31163 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/LogicProblemImpl.java @@ -0,0 +1,411 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Assertion; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Constant; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.DefinedElement; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Function; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Relation; +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type; +import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.Annotation; +import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ContainmentHierarchy; +import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem; +import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage; + +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.impl.MinimalEObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +/** + * + * An implementation of the model object 'Logic Problem'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.LogicProblemImpl#getTypes Types}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.LogicProblemImpl#getFunctions Functions}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.LogicProblemImpl#getAssertions Assertions}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.LogicProblemImpl#getRelations Relations}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.LogicProblemImpl#getConstants Constants}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.LogicProblemImpl#getElements Elements}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.LogicProblemImpl#getContainmentHierarchies Containment Hierarchies}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.LogicProblemImpl#getAnnotations Annotations}
  • + *
+ * + * @generated + */ +public class LogicProblemImpl extends MinimalEObjectImpl.Container implements LogicProblem { + /** + * The cached value of the '{@link #getTypes() Types}' containment reference list. + * + * + * @see #getTypes() + * @generated + * @ordered + */ + protected EList types; + + /** + * The cached value of the '{@link #getFunctions() Functions}' containment reference list. + * + * + * @see #getFunctions() + * @generated + * @ordered + */ + protected EList functions; + + /** + * The cached value of the '{@link #getAssertions() Assertions}' containment reference list. + * + * + * @see #getAssertions() + * @generated + * @ordered + */ + protected EList assertions; + + /** + * The cached value of the '{@link #getRelations() Relations}' containment reference list. + * + * + * @see #getRelations() + * @generated + * @ordered + */ + protected EList relations; + + /** + * The cached value of the '{@link #getConstants() Constants}' containment reference list. + * + * + * @see #getConstants() + * @generated + * @ordered + */ + protected EList constants; + + /** + * The cached value of the '{@link #getElements() Elements}' containment reference list. + * + * + * @see #getElements() + * @generated + * @ordered + */ + protected EList elements; + + /** + * The cached value of the '{@link #getContainmentHierarchies() Containment Hierarchies}' containment reference list. + * + * + * @see #getContainmentHierarchies() + * @generated + * @ordered + */ + protected EList containmentHierarchies; + + /** + * The cached value of the '{@link #getAnnotations() Annotations}' containment reference list. + * + * + * @see #getAnnotations() + * @generated + * @ordered + */ + protected EList annotations; + + /** + * + * + * @generated + */ + protected LogicProblemImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogicproblemPackage.Literals.LOGIC_PROBLEM; + } + + /** + * + * + * @generated + */ + public EList getTypes() { + if (types == null) { + types = new EObjectContainmentEList(Type.class, this, LogicproblemPackage.LOGIC_PROBLEM__TYPES); + } + return types; + } + + /** + * + * + * @generated + */ + public EList getFunctions() { + if (functions == null) { + functions = new EObjectContainmentEList(Function.class, this, LogicproblemPackage.LOGIC_PROBLEM__FUNCTIONS); + } + return functions; + } + + /** + * + * + * @generated + */ + public EList getAssertions() { + if (assertions == null) { + assertions = new EObjectContainmentEList(Assertion.class, this, LogicproblemPackage.LOGIC_PROBLEM__ASSERTIONS); + } + return assertions; + } + + /** + * + * + * @generated + */ + public EList getRelations() { + if (relations == null) { + relations = new EObjectContainmentEList(Relation.class, this, LogicproblemPackage.LOGIC_PROBLEM__RELATIONS); + } + return relations; + } + + /** + * + * + * @generated + */ + public EList getConstants() { + if (constants == null) { + constants = new EObjectContainmentEList(Constant.class, this, LogicproblemPackage.LOGIC_PROBLEM__CONSTANTS); + } + return constants; + } + + /** + * + * + * @generated + */ + public EList getElements() { + if (elements == null) { + elements = new EObjectContainmentEList(DefinedElement.class, this, LogicproblemPackage.LOGIC_PROBLEM__ELEMENTS); + } + return elements; + } + + /** + * + * + * @generated + */ + public EList getContainmentHierarchies() { + if (containmentHierarchies == null) { + containmentHierarchies = new EObjectContainmentEList(ContainmentHierarchy.class, this, LogicproblemPackage.LOGIC_PROBLEM__CONTAINMENT_HIERARCHIES); + } + return containmentHierarchies; + } + + /** + * + * + * @generated + */ + public EList getAnnotations() { + if (annotations == null) { + annotations = new EObjectContainmentEList(Annotation.class, this, LogicproblemPackage.LOGIC_PROBLEM__ANNOTATIONS); + } + return annotations; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case LogicproblemPackage.LOGIC_PROBLEM__TYPES: + return ((InternalEList)getTypes()).basicRemove(otherEnd, msgs); + case LogicproblemPackage.LOGIC_PROBLEM__FUNCTIONS: + return ((InternalEList)getFunctions()).basicRemove(otherEnd, msgs); + case LogicproblemPackage.LOGIC_PROBLEM__ASSERTIONS: + return ((InternalEList)getAssertions()).basicRemove(otherEnd, msgs); + case LogicproblemPackage.LOGIC_PROBLEM__RELATIONS: + return ((InternalEList)getRelations()).basicRemove(otherEnd, msgs); + case LogicproblemPackage.LOGIC_PROBLEM__CONSTANTS: + return ((InternalEList)getConstants()).basicRemove(otherEnd, msgs); + case LogicproblemPackage.LOGIC_PROBLEM__ELEMENTS: + return ((InternalEList)getElements()).basicRemove(otherEnd, msgs); + case LogicproblemPackage.LOGIC_PROBLEM__CONTAINMENT_HIERARCHIES: + return ((InternalEList)getContainmentHierarchies()).basicRemove(otherEnd, msgs); + case LogicproblemPackage.LOGIC_PROBLEM__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 LogicproblemPackage.LOGIC_PROBLEM__TYPES: + return getTypes(); + case LogicproblemPackage.LOGIC_PROBLEM__FUNCTIONS: + return getFunctions(); + case LogicproblemPackage.LOGIC_PROBLEM__ASSERTIONS: + return getAssertions(); + case LogicproblemPackage.LOGIC_PROBLEM__RELATIONS: + return getRelations(); + case LogicproblemPackage.LOGIC_PROBLEM__CONSTANTS: + return getConstants(); + case LogicproblemPackage.LOGIC_PROBLEM__ELEMENTS: + return getElements(); + case LogicproblemPackage.LOGIC_PROBLEM__CONTAINMENT_HIERARCHIES: + return getContainmentHierarchies(); + case LogicproblemPackage.LOGIC_PROBLEM__ANNOTATIONS: + return getAnnotations(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case LogicproblemPackage.LOGIC_PROBLEM__TYPES: + getTypes().clear(); + getTypes().addAll((Collection)newValue); + return; + case LogicproblemPackage.LOGIC_PROBLEM__FUNCTIONS: + getFunctions().clear(); + getFunctions().addAll((Collection)newValue); + return; + case LogicproblemPackage.LOGIC_PROBLEM__ASSERTIONS: + getAssertions().clear(); + getAssertions().addAll((Collection)newValue); + return; + case LogicproblemPackage.LOGIC_PROBLEM__RELATIONS: + getRelations().clear(); + getRelations().addAll((Collection)newValue); + return; + case LogicproblemPackage.LOGIC_PROBLEM__CONSTANTS: + getConstants().clear(); + getConstants().addAll((Collection)newValue); + return; + case LogicproblemPackage.LOGIC_PROBLEM__ELEMENTS: + getElements().clear(); + getElements().addAll((Collection)newValue); + return; + case LogicproblemPackage.LOGIC_PROBLEM__CONTAINMENT_HIERARCHIES: + getContainmentHierarchies().clear(); + getContainmentHierarchies().addAll((Collection)newValue); + return; + case LogicproblemPackage.LOGIC_PROBLEM__ANNOTATIONS: + getAnnotations().clear(); + getAnnotations().addAll((Collection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case LogicproblemPackage.LOGIC_PROBLEM__TYPES: + getTypes().clear(); + return; + case LogicproblemPackage.LOGIC_PROBLEM__FUNCTIONS: + getFunctions().clear(); + return; + case LogicproblemPackage.LOGIC_PROBLEM__ASSERTIONS: + getAssertions().clear(); + return; + case LogicproblemPackage.LOGIC_PROBLEM__RELATIONS: + getRelations().clear(); + return; + case LogicproblemPackage.LOGIC_PROBLEM__CONSTANTS: + getConstants().clear(); + return; + case LogicproblemPackage.LOGIC_PROBLEM__ELEMENTS: + getElements().clear(); + return; + case LogicproblemPackage.LOGIC_PROBLEM__CONTAINMENT_HIERARCHIES: + getContainmentHierarchies().clear(); + return; + case LogicproblemPackage.LOGIC_PROBLEM__ANNOTATIONS: + getAnnotations().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case LogicproblemPackage.LOGIC_PROBLEM__TYPES: + return types != null && !types.isEmpty(); + case LogicproblemPackage.LOGIC_PROBLEM__FUNCTIONS: + return functions != null && !functions.isEmpty(); + case LogicproblemPackage.LOGIC_PROBLEM__ASSERTIONS: + return assertions != null && !assertions.isEmpty(); + case LogicproblemPackage.LOGIC_PROBLEM__RELATIONS: + return relations != null && !relations.isEmpty(); + case LogicproblemPackage.LOGIC_PROBLEM__CONSTANTS: + return constants != null && !constants.isEmpty(); + case LogicproblemPackage.LOGIC_PROBLEM__ELEMENTS: + return elements != null && !elements.isEmpty(); + case LogicproblemPackage.LOGIC_PROBLEM__CONTAINMENT_HIERARCHIES: + return containmentHierarchies != null && !containmentHierarchies.isEmpty(); + case LogicproblemPackage.LOGIC_PROBLEM__ANNOTATIONS: + return annotations != null && !annotations.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //LogicProblemImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/LogicproblemFactoryImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/LogicproblemFactoryImpl.java new file mode 100644 index 00000000..66a8f116 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/LogicproblemFactoryImpl.java @@ -0,0 +1,161 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.*; + +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 LogicproblemFactoryImpl extends EFactoryImpl implements LogicproblemFactory { + /** + * Creates the default factory implementation. + * + * + * @generated + */ + public static LogicproblemFactory init() { + try { + LogicproblemFactory theLogicproblemFactory = (LogicproblemFactory)EPackage.Registry.INSTANCE.getEFactory(LogicproblemPackage.eNS_URI); + if (theLogicproblemFactory != null) { + return theLogicproblemFactory; + } + } + catch (Exception exception) { + EcorePlugin.INSTANCE.log(exception); + } + return new LogicproblemFactoryImpl(); + } + + /** + * Creates an instance of the factory. + * + * + * @generated + */ + public LogicproblemFactoryImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + public EObject create(EClass eClass) { + switch (eClass.getClassifierID()) { + case LogicproblemPackage.LOGIC_PROBLEM: return createLogicProblem(); + case LogicproblemPackage.CONTAINMENT_HIERARCHY: return createContainmentHierarchy(); + case LogicproblemPackage.RELATION_ANNOTATION: return createRelationAnnotation(); + case LogicproblemPackage.CONSTANT_ANNOTATION: return createConstantAnnotation(); + case LogicproblemPackage.FUNCTION_ANNOTATION: return createFunctionAnnotation(); + case LogicproblemPackage.ASSERTION_ANNOTATION: return createAssertionAnnotation(); + case LogicproblemPackage.ANNOTATION: return createAnnotation(); + default: + throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); + } + } + + /** + * + * + * @generated + */ + public LogicProblem createLogicProblem() { + LogicProblemImpl logicProblem = new LogicProblemImpl(); + return logicProblem; + } + + /** + * + * + * @generated + */ + public ContainmentHierarchy createContainmentHierarchy() { + ContainmentHierarchyImpl containmentHierarchy = new ContainmentHierarchyImpl(); + return containmentHierarchy; + } + + /** + * + * + * @generated + */ + public RelationAnnotation createRelationAnnotation() { + RelationAnnotationImpl relationAnnotation = new RelationAnnotationImpl(); + return relationAnnotation; + } + + /** + * + * + * @generated + */ + public ConstantAnnotation createConstantAnnotation() { + ConstantAnnotationImpl constantAnnotation = new ConstantAnnotationImpl(); + return constantAnnotation; + } + + /** + * + * + * @generated + */ + public FunctionAnnotation createFunctionAnnotation() { + FunctionAnnotationImpl functionAnnotation = new FunctionAnnotationImpl(); + return functionAnnotation; + } + + /** + * + * + * @generated + */ + public AssertionAnnotation createAssertionAnnotation() { + AssertionAnnotationImpl assertionAnnotation = new AssertionAnnotationImpl(); + return assertionAnnotation; + } + + /** + * + * + * @generated + */ + public Annotation createAnnotation() { + AnnotationImpl annotation = new AnnotationImpl(); + return annotation; + } + + /** + * + * + * @generated + */ + public LogicproblemPackage getLogicproblemPackage() { + return (LogicproblemPackage)getEPackage(); + } + + /** + * + * + * @deprecated + * @generated + */ + @Deprecated + public static LogicproblemPackage getPackage() { + return LogicproblemPackage.eINSTANCE; + } + +} //LogicproblemFactoryImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/LogicproblemPackageImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/LogicproblemPackageImpl.java new file mode 100644 index 00000000..1dd429e7 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/LogicproblemPackageImpl.java @@ -0,0 +1,490 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl; +import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.Annotation; +import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.AssertionAnnotation; +import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ConstantAnnotation; +import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ContainmentHierarchy; +import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.FunctionAnnotation; +import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem; +import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemFactory; +import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicproblemPackage; + +import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.RelationAnnotation; +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.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 LogicproblemPackageImpl extends EPackageImpl implements LogicproblemPackage { + /** + * + * + * @generated + */ + private EClass logicProblemEClass = null; + + /** + * + * + * @generated + */ + private EClass containmentHierarchyEClass = null; + + /** + * + * + * @generated + */ + private EClass relationAnnotationEClass = null; + + /** + * + * + * @generated + */ + private EClass constantAnnotationEClass = null; + + /** + * + * + * @generated + */ + private EClass functionAnnotationEClass = null; + + /** + * + * + * @generated + */ + private EClass assertionAnnotationEClass = null; + + /** + * + * + * @generated + */ + private EClass annotationEClass = 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.logicproblem.LogicproblemPackage#eNS_URI + * @see #init() + * @generated + */ + private LogicproblemPackageImpl() { + super(eNS_URI, LogicproblemFactory.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 LogicproblemPackage#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 LogicproblemPackage init() { + if (isInited) return (LogicproblemPackage)EPackage.Registry.INSTANCE.getEPackage(LogicproblemPackage.eNS_URI); + + // Obtain or create and register package + LogicproblemPackageImpl theLogicproblemPackage = (LogicproblemPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof LogicproblemPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new LogicproblemPackageImpl()); + + isInited = true; + + // Obtain or create and register interdependencies + LogiclanguagePackageImpl theLogiclanguagePackage = (LogiclanguagePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(LogiclanguagePackage.eNS_URI) instanceof LogiclanguagePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(LogiclanguagePackage.eNS_URI) : LogiclanguagePackage.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 + theLogicproblemPackage.createPackageContents(); + theLogiclanguagePackage.createPackageContents(); + theLogicresultPackage.createPackageContents(); + + // Initialize created meta-data + theLogicproblemPackage.initializePackageContents(); + theLogiclanguagePackage.initializePackageContents(); + theLogicresultPackage.initializePackageContents(); + + // Mark meta-data to indicate it can't be changed + theLogicproblemPackage.freeze(); + + + // Update the registry and return the package + EPackage.Registry.INSTANCE.put(LogicproblemPackage.eNS_URI, theLogicproblemPackage); + return theLogicproblemPackage; + } + + /** + * + * + * @generated + */ + public EClass getLogicProblem() { + return logicProblemEClass; + } + + /** + * + * + * @generated + */ + public EReference getLogicProblem_Types() { + return (EReference)logicProblemEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getLogicProblem_Functions() { + return (EReference)logicProblemEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EReference getLogicProblem_Assertions() { + return (EReference)logicProblemEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EReference getLogicProblem_Relations() { + return (EReference)logicProblemEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + public EReference getLogicProblem_Constants() { + return (EReference)logicProblemEClass.getEStructuralFeatures().get(4); + } + + /** + * + * + * @generated + */ + public EReference getLogicProblem_Elements() { + return (EReference)logicProblemEClass.getEStructuralFeatures().get(5); + } + + /** + * + * + * @generated + */ + public EReference getLogicProblem_ContainmentHierarchies() { + return (EReference)logicProblemEClass.getEStructuralFeatures().get(6); + } + + /** + * + * + * @generated + */ + public EReference getLogicProblem_Annotations() { + return (EReference)logicProblemEClass.getEStructuralFeatures().get(7); + } + + /** + * + * + * @generated + */ + public EClass getContainmentHierarchy() { + return containmentHierarchyEClass; + } + + /** + * + * + * @generated + */ + public EReference getContainmentHierarchy_TypesOrderedInHierarchy() { + return (EReference)containmentHierarchyEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getContainmentHierarchy_ContainmentFunctions() { + return (EReference)containmentHierarchyEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EReference getContainmentHierarchy_ContainmentRelations() { + return (EReference)containmentHierarchyEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EReference getContainmentHierarchy_RootConstant() { + return (EReference)containmentHierarchyEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + public EClass getRelationAnnotation() { + return relationAnnotationEClass; + } + + /** + * + * + * @generated + */ + public EReference getRelationAnnotation_Target() { + return (EReference)relationAnnotationEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getConstantAnnotation() { + return constantAnnotationEClass; + } + + /** + * + * + * @generated + */ + public EReference getConstantAnnotation_Target() { + return (EReference)constantAnnotationEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getFunctionAnnotation() { + return functionAnnotationEClass; + } + + /** + * + * + * @generated + */ + public EReference getFunctionAnnotation_Target() { + return (EReference)functionAnnotationEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getAssertionAnnotation() { + return assertionAnnotationEClass; + } + + /** + * + * + * @generated + */ + public EReference getAssertionAnnotation_Target() { + return (EReference)assertionAnnotationEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getAnnotation() { + return annotationEClass; + } + + /** + * + * + * @generated + */ + public LogicproblemFactory getLogicproblemFactory() { + return (LogicproblemFactory)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 + logicProblemEClass = createEClass(LOGIC_PROBLEM); + createEReference(logicProblemEClass, LOGIC_PROBLEM__TYPES); + createEReference(logicProblemEClass, LOGIC_PROBLEM__FUNCTIONS); + createEReference(logicProblemEClass, LOGIC_PROBLEM__ASSERTIONS); + createEReference(logicProblemEClass, LOGIC_PROBLEM__RELATIONS); + createEReference(logicProblemEClass, LOGIC_PROBLEM__CONSTANTS); + createEReference(logicProblemEClass, LOGIC_PROBLEM__ELEMENTS); + createEReference(logicProblemEClass, LOGIC_PROBLEM__CONTAINMENT_HIERARCHIES); + createEReference(logicProblemEClass, LOGIC_PROBLEM__ANNOTATIONS); + + containmentHierarchyEClass = createEClass(CONTAINMENT_HIERARCHY); + createEReference(containmentHierarchyEClass, CONTAINMENT_HIERARCHY__TYPES_ORDERED_IN_HIERARCHY); + createEReference(containmentHierarchyEClass, CONTAINMENT_HIERARCHY__CONTAINMENT_FUNCTIONS); + createEReference(containmentHierarchyEClass, CONTAINMENT_HIERARCHY__CONTAINMENT_RELATIONS); + createEReference(containmentHierarchyEClass, CONTAINMENT_HIERARCHY__ROOT_CONSTANT); + + relationAnnotationEClass = createEClass(RELATION_ANNOTATION); + createEReference(relationAnnotationEClass, RELATION_ANNOTATION__TARGET); + + constantAnnotationEClass = createEClass(CONSTANT_ANNOTATION); + createEReference(constantAnnotationEClass, CONSTANT_ANNOTATION__TARGET); + + functionAnnotationEClass = createEClass(FUNCTION_ANNOTATION); + createEReference(functionAnnotationEClass, FUNCTION_ANNOTATION__TARGET); + + assertionAnnotationEClass = createEClass(ASSERTION_ANNOTATION); + createEReference(assertionAnnotationEClass, ASSERTION_ANNOTATION__TARGET); + + annotationEClass = createEClass(ANNOTATION); + } + + /** + * + * + * @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 + LogiclanguagePackage theLogiclanguagePackage = (LogiclanguagePackage)EPackage.Registry.INSTANCE.getEPackage(LogiclanguagePackage.eNS_URI); + + // Create type parameters + + // Set bounds for type parameters + + // Add supertypes to classes + relationAnnotationEClass.getESuperTypes().add(this.getAnnotation()); + constantAnnotationEClass.getESuperTypes().add(this.getAnnotation()); + functionAnnotationEClass.getESuperTypes().add(this.getAnnotation()); + assertionAnnotationEClass.getESuperTypes().add(this.getAnnotation()); + + // Initialize classes, features, and operations; add parameters + initEClass(logicProblemEClass, LogicProblem.class, "LogicProblem", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getLogicProblem_Types(), theLogiclanguagePackage.getType(), null, "types", null, 0, -1, LogicProblem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getLogicProblem_Functions(), theLogiclanguagePackage.getFunction(), null, "functions", null, 0, -1, LogicProblem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getLogicProblem_Assertions(), theLogiclanguagePackage.getAssertion(), null, "assertions", null, 0, -1, LogicProblem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getLogicProblem_Relations(), theLogiclanguagePackage.getRelation(), null, "relations", null, 0, -1, LogicProblem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getLogicProblem_Constants(), theLogiclanguagePackage.getConstant(), null, "constants", null, 0, -1, LogicProblem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getLogicProblem_Elements(), theLogiclanguagePackage.getDefinedElement(), null, "elements", null, 0, -1, LogicProblem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getLogicProblem_ContainmentHierarchies(), this.getContainmentHierarchy(), null, "containmentHierarchies", null, 0, -1, LogicProblem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getLogicProblem_Annotations(), this.getAnnotation(), null, "annotations", null, 0, -1, LogicProblem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(containmentHierarchyEClass, ContainmentHierarchy.class, "ContainmentHierarchy", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getContainmentHierarchy_TypesOrderedInHierarchy(), theLogiclanguagePackage.getType(), null, "typesOrderedInHierarchy", null, 0, -1, ContainmentHierarchy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getContainmentHierarchy_ContainmentFunctions(), theLogiclanguagePackage.getFunction(), null, "containmentFunctions", null, 0, -1, ContainmentHierarchy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getContainmentHierarchy_ContainmentRelations(), theLogiclanguagePackage.getRelation(), null, "containmentRelations", null, 0, -1, ContainmentHierarchy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getContainmentHierarchy_RootConstant(), theLogiclanguagePackage.getConstant(), null, "rootConstant", null, 0, 1, ContainmentHierarchy.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(relationAnnotationEClass, RelationAnnotation.class, "RelationAnnotation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getRelationAnnotation_Target(), theLogiclanguagePackage.getRelation(), theLogiclanguagePackage.getRelation_Annotations(), "target", null, 1, 1, RelationAnnotation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(constantAnnotationEClass, ConstantAnnotation.class, "ConstantAnnotation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getConstantAnnotation_Target(), theLogiclanguagePackage.getConstant(), theLogiclanguagePackage.getConstant_Annotations(), "target", null, 1, 1, ConstantAnnotation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(functionAnnotationEClass, FunctionAnnotation.class, "FunctionAnnotation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getFunctionAnnotation_Target(), theLogiclanguagePackage.getFunction(), theLogiclanguagePackage.getFunction_Annotations(), "target", null, 1, 1, FunctionAnnotation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(assertionAnnotationEClass, AssertionAnnotation.class, "AssertionAnnotation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getAssertionAnnotation_Target(), theLogiclanguagePackage.getAssertion(), theLogiclanguagePackage.getAssertion_Annotations(), "target", null, 1, 1, AssertionAnnotation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(annotationEClass, Annotation.class, "Annotation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + // Create resource + createResource(eNS_URI); + } + +} //LogicproblemPackageImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/RelationAnnotationImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/RelationAnnotationImpl.java new file mode 100644 index 00000000..23fb6e5d --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/impl/RelationAnnotationImpl.java @@ -0,0 +1,211 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.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.logicproblem.LogicproblemPackage; +import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.RelationAnnotation; + +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 'Relation Annotation'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.impl.RelationAnnotationImpl#getTarget Target}
  • + *
+ * + * @generated + */ +public class RelationAnnotationImpl extends AnnotationImpl implements RelationAnnotation { + /** + * The cached value of the '{@link #getTarget() Target}' reference. + * + * + * @see #getTarget() + * @generated + * @ordered + */ + protected Relation target; + + /** + * + * + * @generated + */ + protected RelationAnnotationImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogicproblemPackage.Literals.RELATION_ANNOTATION; + } + + /** + * + * + * @generated + */ + public Relation getTarget() { + if (target != null && target.eIsProxy()) { + InternalEObject oldTarget = (InternalEObject)target; + target = (Relation)eResolveProxy(oldTarget); + if (target != oldTarget) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, LogicproblemPackage.RELATION_ANNOTATION__TARGET, oldTarget, target)); + } + } + return target; + } + + /** + * + * + * @generated + */ + public Relation basicGetTarget() { + return target; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetTarget(Relation newTarget, NotificationChain msgs) { + Relation oldTarget = target; + target = newTarget; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogicproblemPackage.RELATION_ANNOTATION__TARGET, oldTarget, newTarget); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setTarget(Relation newTarget) { + if (newTarget != target) { + NotificationChain msgs = null; + if (target != null) + msgs = ((InternalEObject)target).eInverseRemove(this, LogiclanguagePackage.RELATION__ANNOTATIONS, Relation.class, msgs); + if (newTarget != null) + msgs = ((InternalEObject)newTarget).eInverseAdd(this, LogiclanguagePackage.RELATION__ANNOTATIONS, Relation.class, msgs); + msgs = basicSetTarget(newTarget, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, LogicproblemPackage.RELATION_ANNOTATION__TARGET, newTarget, newTarget)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case LogicproblemPackage.RELATION_ANNOTATION__TARGET: + if (target != null) + msgs = ((InternalEObject)target).eInverseRemove(this, LogiclanguagePackage.RELATION__ANNOTATIONS, Relation.class, msgs); + return basicSetTarget((Relation)otherEnd, msgs); + } + return super.eInverseAdd(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case LogicproblemPackage.RELATION_ANNOTATION__TARGET: + return basicSetTarget(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case LogicproblemPackage.RELATION_ANNOTATION__TARGET: + if (resolve) return getTarget(); + return basicGetTarget(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case LogicproblemPackage.RELATION_ANNOTATION__TARGET: + setTarget((Relation)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case LogicproblemPackage.RELATION_ANNOTATION__TARGET: + setTarget((Relation)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case LogicproblemPackage.RELATION_ANNOTATION__TARGET: + return target != null; + } + return super.eIsSet(featureID); + } + +} //RelationAnnotationImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/util/LogicproblemAdapterFactory.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/util/LogicproblemAdapterFactory.java new file mode 100644 index 00000000..568a625c --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/util/LogicproblemAdapterFactory.java @@ -0,0 +1,228 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.util; + +import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.*; + +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.logicproblem.LogicproblemPackage + * @generated + */ +public class LogicproblemAdapterFactory extends AdapterFactoryImpl { + /** + * The cached model package. + * + * + * @generated + */ + protected static LogicproblemPackage modelPackage; + + /** + * Creates an instance of the adapter factory. + * + * + * @generated + */ + public LogicproblemAdapterFactory() { + if (modelPackage == null) { + modelPackage = LogicproblemPackage.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 LogicproblemSwitch modelSwitch = + new LogicproblemSwitch() { + @Override + public Adapter caseLogicProblem(LogicProblem object) { + return createLogicProblemAdapter(); + } + @Override + public Adapter caseContainmentHierarchy(ContainmentHierarchy object) { + return createContainmentHierarchyAdapter(); + } + @Override + public Adapter caseRelationAnnotation(RelationAnnotation object) { + return createRelationAnnotationAdapter(); + } + @Override + public Adapter caseConstantAnnotation(ConstantAnnotation object) { + return createConstantAnnotationAdapter(); + } + @Override + public Adapter caseFunctionAnnotation(FunctionAnnotation object) { + return createFunctionAnnotationAdapter(); + } + @Override + public Adapter caseAssertionAnnotation(AssertionAnnotation object) { + return createAssertionAnnotationAdapter(); + } + @Override + public Adapter caseAnnotation(Annotation object) { + return createAnnotationAdapter(); + } + @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.logicproblem.LogicProblem Logic Problem}'. + * + * 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.logicproblem.LogicProblem + * @generated + */ + public Adapter createLogicProblemAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ContainmentHierarchy Containment Hierarchy}'. + * + * 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.logicproblem.ContainmentHierarchy + * @generated + */ + public Adapter createContainmentHierarchyAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.RelationAnnotation Relation Annotation}'. + * + * 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.logicproblem.RelationAnnotation + * @generated + */ + public Adapter createRelationAnnotationAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.ConstantAnnotation Constant Annotation}'. + * + * 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.logicproblem.ConstantAnnotation + * @generated + */ + public Adapter createConstantAnnotationAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.FunctionAnnotation Function Annotation}'. + * + * 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.logicproblem.FunctionAnnotation + * @generated + */ + public Adapter createFunctionAnnotationAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.AssertionAnnotation Assertion Annotation}'. + * + * 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.logicproblem.AssertionAnnotation + * @generated + */ + public Adapter createAssertionAnnotationAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.Annotation Annotation}'. + * + * 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.logicproblem.Annotation + * @generated + */ + public Adapter createAnnotationAdapter() { + 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; + } + +} //LogicproblemAdapterFactory diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/util/LogicproblemSwitch.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/util/LogicproblemSwitch.java new file mode 100644 index 00000000..4a79b4a0 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicproblem/util/LogicproblemSwitch.java @@ -0,0 +1,240 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.util; + +import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.*; + +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.logicproblem.LogicproblemPackage + * @generated + */ +public class LogicproblemSwitch extends Switch { + /** + * The cached model package + * + * + * @generated + */ + protected static LogicproblemPackage modelPackage; + + /** + * Creates an instance of the switch. + * + * + * @generated + */ + public LogicproblemSwitch() { + if (modelPackage == null) { + modelPackage = LogicproblemPackage.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 LogicproblemPackage.LOGIC_PROBLEM: { + LogicProblem logicProblem = (LogicProblem)theEObject; + T result = caseLogicProblem(logicProblem); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogicproblemPackage.CONTAINMENT_HIERARCHY: { + ContainmentHierarchy containmentHierarchy = (ContainmentHierarchy)theEObject; + T result = caseContainmentHierarchy(containmentHierarchy); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogicproblemPackage.RELATION_ANNOTATION: { + RelationAnnotation relationAnnotation = (RelationAnnotation)theEObject; + T result = caseRelationAnnotation(relationAnnotation); + if (result == null) result = caseAnnotation(relationAnnotation); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogicproblemPackage.CONSTANT_ANNOTATION: { + ConstantAnnotation constantAnnotation = (ConstantAnnotation)theEObject; + T result = caseConstantAnnotation(constantAnnotation); + if (result == null) result = caseAnnotation(constantAnnotation); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogicproblemPackage.FUNCTION_ANNOTATION: { + FunctionAnnotation functionAnnotation = (FunctionAnnotation)theEObject; + T result = caseFunctionAnnotation(functionAnnotation); + if (result == null) result = caseAnnotation(functionAnnotation); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogicproblemPackage.ASSERTION_ANNOTATION: { + AssertionAnnotation assertionAnnotation = (AssertionAnnotation)theEObject; + T result = caseAssertionAnnotation(assertionAnnotation); + if (result == null) result = caseAnnotation(assertionAnnotation); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogicproblemPackage.ANNOTATION: { + Annotation annotation = (Annotation)theEObject; + T result = caseAnnotation(annotation); + if (result == null) result = defaultCase(theEObject); + return result; + } + default: return defaultCase(theEObject); + } + } + + /** + * Returns the result of interpreting the object as an instance of 'Logic Problem'. + * + * 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 'Logic Problem'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseLogicProblem(LogicProblem object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Containment Hierarchy'. + * + * 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 'Containment Hierarchy'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseContainmentHierarchy(ContainmentHierarchy object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Relation Annotation'. + * + * 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 Annotation'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseRelationAnnotation(RelationAnnotation object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Constant Annotation'. + * + * 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 Annotation'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseConstantAnnotation(ConstantAnnotation object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Function Annotation'. + * + * 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 Annotation'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseFunctionAnnotation(FunctionAnnotation object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Assertion Annotation'. + * + * 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 Annotation'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseAssertionAnnotation(AssertionAnnotation object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Annotation'. + * + * 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 'Annotation'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseAnnotation(Annotation 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; + } + +} //LogicproblemSwitch diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/ErrorResult.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/ErrorResult.java new file mode 100644 index 00000000..c3ff095c --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/ErrorResult.java @@ -0,0 +1,49 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logicresult; + + +/** + * + * A representation of the model object 'Error Result'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ErrorResult#getMessage Message}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage#getErrorResult() + * @model + * @generated + */ +public interface ErrorResult extends UnknownResult { + /** + * Returns the value of the 'Message' attribute. + * + *

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

+ * + * @return the value of the 'Message' attribute. + * @see #setMessage(String) + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage#getErrorResult_Message() + * @model required="true" + * @generated + */ + String getMessage(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ErrorResult#getMessage Message}' attribute. + * + * + * @param value the new value of the 'Message' attribute. + * @see #getMessage() + * @generated + */ + void setMessage(String value); + +} // ErrorResult diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/InconsistencyResult.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/InconsistencyResult.java new file mode 100644 index 00000000..f2f452fc --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/InconsistencyResult.java @@ -0,0 +1,17 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logicresult; + + +/** + * + * A representation of the model object 'Inconsistency Result'. + * + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage#getInconsistencyResult() + * @model + * @generated + */ +public interface InconsistencyResult extends LogicResult { +} // InconsistencyResult diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/InsuficientResourcesResult.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/InsuficientResourcesResult.java new file mode 100644 index 00000000..20a92059 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/InsuficientResourcesResult.java @@ -0,0 +1,49 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logicresult; + + +/** + * + * A representation of the model object 'Insuficient Resources Result'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.InsuficientResourcesResult#getResourceName Resource Name}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage#getInsuficientResourcesResult() + * @model + * @generated + */ +public interface InsuficientResourcesResult extends UnknownResult { + /** + * Returns the value of the 'Resource Name' attribute. + * + *

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

+ * + * @return the value of the 'Resource Name' attribute. + * @see #setResourceName(String) + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage#getInsuficientResourcesResult_ResourceName() + * @model required="true" + * @generated + */ + String getResourceName(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.InsuficientResourcesResult#getResourceName Resource Name}' attribute. + * + * + * @param value the new value of the 'Resource Name' attribute. + * @see #getResourceName() + * @generated + */ + void setResourceName(String value); + +} // InsuficientResourcesResult diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/IntStatisticEntry.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/IntStatisticEntry.java new file mode 100644 index 00000000..4c005d4c --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/IntStatisticEntry.java @@ -0,0 +1,49 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logicresult; + + +/** + * + * A representation of the model object 'Int Statistic Entry'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.IntStatisticEntry#getValue Value}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage#getIntStatisticEntry() + * @model + * @generated + */ +public interface IntStatisticEntry extends StatisticEntry { + /** + * 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.logicresult.LogicresultPackage#getIntStatisticEntry_Value() + * @model required="true" + * @generated + */ + int getValue(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.IntStatisticEntry#getValue Value}' attribute. + * + * + * @param value the new value of the 'Value' attribute. + * @see #getValue() + * @generated + */ + void setValue(int value); + +} // IntStatisticEntry diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/LogicResult.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/LogicResult.java new file mode 100644 index 00000000..94644ffd --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/LogicResult.java @@ -0,0 +1,124 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logicresult; + +import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem; + +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Logic Result'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicResult#getProblem Problem}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicResult#getStatistics Statistics}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicResult#getTrace Trace}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicResult#getRepresentation Representation}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage#getLogicResult() + * @model abstract="true" + * @generated + */ +public interface LogicResult extends EObject { + /** + * Returns the value of the 'Problem' reference. + * + *

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

+ * + * @return the value of the 'Problem' reference. + * @see #setProblem(LogicProblem) + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage#getLogicResult_Problem() + * @model + * @generated + */ + LogicProblem getProblem(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicResult#getProblem Problem}' reference. + * + * + * @param value the new value of the 'Problem' reference. + * @see #getProblem() + * @generated + */ + void setProblem(LogicProblem value); + + /** + * Returns the value of the 'Statistics' containment reference. + * + *

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

+ * + * @return the value of the 'Statistics' containment reference. + * @see #setStatistics(Statistics) + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage#getLogicResult_Statistics() + * @model containment="true" + * @generated + */ + Statistics getStatistics(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicResult#getStatistics Statistics}' containment reference. + * + * + * @param value the new value of the 'Statistics' containment reference. + * @see #getStatistics() + * @generated + */ + void setStatistics(Statistics value); + + /** + * Returns the value of the 'Trace' attribute. + * + *

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

+ * + * @return the value of the 'Trace' attribute. + * @see #setTrace(Object) + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage#getLogicResult_Trace() + * @model transient="true" + * @generated + */ + Object getTrace(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicResult#getTrace Trace}' attribute. + * + * + * @param value the new value of the 'Trace' attribute. + * @see #getTrace() + * @generated + */ + void setTrace(Object value); + + /** + * Returns the value of the 'Representation' attribute list. + * The list contents are of type {@link java.lang.Object}. + * + *

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

+ * + * @return the value of the 'Representation' attribute list. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage#getLogicResult_Representation() + * @model transient="true" + * @generated + */ + EList getRepresentation(); + +} // LogicResult diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/LogicresultFactory.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/LogicresultFactory.java new file mode 100644 index 00000000..24f62cc3 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/LogicresultFactory.java @@ -0,0 +1,114 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logicresult; + +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.logicresult.LogicresultPackage + * @generated + */ +public interface LogicresultFactory extends EFactory { + /** + * The singleton instance of the factory. + * + * + * @generated + */ + LogicresultFactory eINSTANCE = hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicresultFactoryImpl.init(); + + /** + * Returns a new object of class 'Model Result'. + * + * + * @return a new object of class 'Model Result'. + * @generated + */ + ModelResult createModelResult(); + + /** + * Returns a new object of class 'Inconsistency Result'. + * + * + * @return a new object of class 'Inconsistency Result'. + * @generated + */ + InconsistencyResult createInconsistencyResult(); + + /** + * Returns a new object of class 'Insuficient Resources Result'. + * + * + * @return a new object of class 'Insuficient Resources Result'. + * @generated + */ + InsuficientResourcesResult createInsuficientResourcesResult(); + + /** + * Returns a new object of class 'Error Result'. + * + * + * @return a new object of class 'Error Result'. + * @generated + */ + ErrorResult createErrorResult(); + + /** + * Returns a new object of class 'Statistics'. + * + * + * @return a new object of class 'Statistics'. + * @generated + */ + Statistics createStatistics(); + + /** + * Returns a new object of class 'Undecidable Result'. + * + * + * @return a new object of class 'Undecidable Result'. + * @generated + */ + UndecidableResult createUndecidableResult(); + + /** + * Returns a new object of class 'Int Statistic Entry'. + * + * + * @return a new object of class 'Int Statistic Entry'. + * @generated + */ + IntStatisticEntry createIntStatisticEntry(); + + /** + * Returns a new object of class 'Real Statistic Entry'. + * + * + * @return a new object of class 'Real Statistic Entry'. + * @generated + */ + RealStatisticEntry createRealStatisticEntry(); + + /** + * Returns a new object of class 'String Statistic Entry'. + * + * + * @return a new object of class 'String Statistic Entry'. + * @generated + */ + StringStatisticEntry createStringStatisticEntry(); + + /** + * Returns the package supported by this factory. + * + * + * @return the package supported by this factory. + * @generated + */ + LogicresultPackage getLogicresultPackage(); + +} //LogicresultFactory diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/LogicresultPackage.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/LogicresultPackage.java new file mode 100644 index 00000000..cf171ab5 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/LogicresultPackage.java @@ -0,0 +1,1353 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logicresult; + +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.logicresult.LogicresultFactory + * @model kind="package" + * @generated + */ +public interface LogicresultPackage extends EPackage { + /** + * The package name. + * + * + * @generated + */ + String eNAME = "logicresult"; + + /** + * The package namespace URI. + * + * + * @generated + */ + String eNS_URI = "http://www.bme.hu/mit/inf/dslreasoner/logic/model/result"; + + /** + * The package namespace name. + * + * + * @generated + */ + String eNS_PREFIX = "language"; + + /** + * The singleton instance of the package. + * + * + * @generated + */ + LogicresultPackage eINSTANCE = hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicresultPackageImpl.init(); + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicResultImpl Logic Result}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicResultImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicresultPackageImpl#getLogicResult() + * @generated + */ + int LOGIC_RESULT = 0; + + /** + * The feature id for the 'Problem' reference. + * + * + * @generated + * @ordered + */ + int LOGIC_RESULT__PROBLEM = 0; + + /** + * The feature id for the 'Statistics' containment reference. + * + * + * @generated + * @ordered + */ + int LOGIC_RESULT__STATISTICS = 1; + + /** + * The feature id for the 'Trace' attribute. + * + * + * @generated + * @ordered + */ + int LOGIC_RESULT__TRACE = 2; + + /** + * The feature id for the 'Representation' attribute list. + * + * + * @generated + * @ordered + */ + int LOGIC_RESULT__REPRESENTATION = 3; + + /** + * The number of structural features of the 'Logic Result' class. + * + * + * @generated + * @ordered + */ + int LOGIC_RESULT_FEATURE_COUNT = 4; + + /** + * The number of operations of the 'Logic Result' class. + * + * + * @generated + * @ordered + */ + int LOGIC_RESULT_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.ModelResultImpl Model Result}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.ModelResultImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicresultPackageImpl#getModelResult() + * @generated + */ + int MODEL_RESULT = 1; + + /** + * The feature id for the 'Problem' reference. + * + * + * @generated + * @ordered + */ + int MODEL_RESULT__PROBLEM = LOGIC_RESULT__PROBLEM; + + /** + * The feature id for the 'Statistics' containment reference. + * + * + * @generated + * @ordered + */ + int MODEL_RESULT__STATISTICS = LOGIC_RESULT__STATISTICS; + + /** + * The feature id for the 'Trace' attribute. + * + * + * @generated + * @ordered + */ + int MODEL_RESULT__TRACE = LOGIC_RESULT__TRACE; + + /** + * The feature id for the 'Representation' attribute list. + * + * + * @generated + * @ordered + */ + int MODEL_RESULT__REPRESENTATION = LOGIC_RESULT__REPRESENTATION; + + /** + * The feature id for the 'Max Integer' attribute. + * + * + * @generated + * @ordered + */ + int MODEL_RESULT__MAX_INTEGER = LOGIC_RESULT_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Min Integer' attribute. + * + * + * @generated + * @ordered + */ + int MODEL_RESULT__MIN_INTEGER = LOGIC_RESULT_FEATURE_COUNT + 1; + + /** + * The number of structural features of the 'Model Result' class. + * + * + * @generated + * @ordered + */ + int MODEL_RESULT_FEATURE_COUNT = LOGIC_RESULT_FEATURE_COUNT + 2; + + /** + * The number of operations of the 'Model Result' class. + * + * + * @generated + * @ordered + */ + int MODEL_RESULT_OPERATION_COUNT = LOGIC_RESULT_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.InconsistencyResultImpl Inconsistency Result}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.InconsistencyResultImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicresultPackageImpl#getInconsistencyResult() + * @generated + */ + int INCONSISTENCY_RESULT = 2; + + /** + * The feature id for the 'Problem' reference. + * + * + * @generated + * @ordered + */ + int INCONSISTENCY_RESULT__PROBLEM = LOGIC_RESULT__PROBLEM; + + /** + * The feature id for the 'Statistics' containment reference. + * + * + * @generated + * @ordered + */ + int INCONSISTENCY_RESULT__STATISTICS = LOGIC_RESULT__STATISTICS; + + /** + * The feature id for the 'Trace' attribute. + * + * + * @generated + * @ordered + */ + int INCONSISTENCY_RESULT__TRACE = LOGIC_RESULT__TRACE; + + /** + * The feature id for the 'Representation' attribute list. + * + * + * @generated + * @ordered + */ + int INCONSISTENCY_RESULT__REPRESENTATION = LOGIC_RESULT__REPRESENTATION; + + /** + * The number of structural features of the 'Inconsistency Result' class. + * + * + * @generated + * @ordered + */ + int INCONSISTENCY_RESULT_FEATURE_COUNT = LOGIC_RESULT_FEATURE_COUNT + 0; + + /** + * The number of operations of the 'Inconsistency Result' class. + * + * + * @generated + * @ordered + */ + int INCONSISTENCY_RESULT_OPERATION_COUNT = LOGIC_RESULT_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.UnknownResultImpl Unknown Result}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.UnknownResultImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicresultPackageImpl#getUnknownResult() + * @generated + */ + int UNKNOWN_RESULT = 3; + + /** + * The feature id for the 'Problem' reference. + * + * + * @generated + * @ordered + */ + int UNKNOWN_RESULT__PROBLEM = LOGIC_RESULT__PROBLEM; + + /** + * The feature id for the 'Statistics' containment reference. + * + * + * @generated + * @ordered + */ + int UNKNOWN_RESULT__STATISTICS = LOGIC_RESULT__STATISTICS; + + /** + * The feature id for the 'Trace' attribute. + * + * + * @generated + * @ordered + */ + int UNKNOWN_RESULT__TRACE = LOGIC_RESULT__TRACE; + + /** + * The feature id for the 'Representation' attribute list. + * + * + * @generated + * @ordered + */ + int UNKNOWN_RESULT__REPRESENTATION = LOGIC_RESULT__REPRESENTATION; + + /** + * The number of structural features of the 'Unknown Result' class. + * + * + * @generated + * @ordered + */ + int UNKNOWN_RESULT_FEATURE_COUNT = LOGIC_RESULT_FEATURE_COUNT + 0; + + /** + * The number of operations of the 'Unknown Result' class. + * + * + * @generated + * @ordered + */ + int UNKNOWN_RESULT_OPERATION_COUNT = LOGIC_RESULT_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.InsuficientResourcesResultImpl Insuficient Resources Result}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.InsuficientResourcesResultImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicresultPackageImpl#getInsuficientResourcesResult() + * @generated + */ + int INSUFICIENT_RESOURCES_RESULT = 4; + + /** + * The feature id for the 'Problem' reference. + * + * + * @generated + * @ordered + */ + int INSUFICIENT_RESOURCES_RESULT__PROBLEM = UNKNOWN_RESULT__PROBLEM; + + /** + * The feature id for the 'Statistics' containment reference. + * + * + * @generated + * @ordered + */ + int INSUFICIENT_RESOURCES_RESULT__STATISTICS = UNKNOWN_RESULT__STATISTICS; + + /** + * The feature id for the 'Trace' attribute. + * + * + * @generated + * @ordered + */ + int INSUFICIENT_RESOURCES_RESULT__TRACE = UNKNOWN_RESULT__TRACE; + + /** + * The feature id for the 'Representation' attribute list. + * + * + * @generated + * @ordered + */ + int INSUFICIENT_RESOURCES_RESULT__REPRESENTATION = UNKNOWN_RESULT__REPRESENTATION; + + /** + * The feature id for the 'Resource Name' attribute. + * + * + * @generated + * @ordered + */ + int INSUFICIENT_RESOURCES_RESULT__RESOURCE_NAME = UNKNOWN_RESULT_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Insuficient Resources Result' class. + * + * + * @generated + * @ordered + */ + int INSUFICIENT_RESOURCES_RESULT_FEATURE_COUNT = UNKNOWN_RESULT_FEATURE_COUNT + 1; + + /** + * The number of operations of the 'Insuficient Resources Result' class. + * + * + * @generated + * @ordered + */ + int INSUFICIENT_RESOURCES_RESULT_OPERATION_COUNT = UNKNOWN_RESULT_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.ErrorResultImpl Error Result}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.ErrorResultImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicresultPackageImpl#getErrorResult() + * @generated + */ + int ERROR_RESULT = 5; + + /** + * The feature id for the 'Problem' reference. + * + * + * @generated + * @ordered + */ + int ERROR_RESULT__PROBLEM = UNKNOWN_RESULT__PROBLEM; + + /** + * The feature id for the 'Statistics' containment reference. + * + * + * @generated + * @ordered + */ + int ERROR_RESULT__STATISTICS = UNKNOWN_RESULT__STATISTICS; + + /** + * The feature id for the 'Trace' attribute. + * + * + * @generated + * @ordered + */ + int ERROR_RESULT__TRACE = UNKNOWN_RESULT__TRACE; + + /** + * The feature id for the 'Representation' attribute list. + * + * + * @generated + * @ordered + */ + int ERROR_RESULT__REPRESENTATION = UNKNOWN_RESULT__REPRESENTATION; + + /** + * The feature id for the 'Message' attribute. + * + * + * @generated + * @ordered + */ + int ERROR_RESULT__MESSAGE = UNKNOWN_RESULT_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Error Result' class. + * + * + * @generated + * @ordered + */ + int ERROR_RESULT_FEATURE_COUNT = UNKNOWN_RESULT_FEATURE_COUNT + 1; + + /** + * The number of operations of the 'Error Result' class. + * + * + * @generated + * @ordered + */ + int ERROR_RESULT_OPERATION_COUNT = UNKNOWN_RESULT_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.StatisticsImpl Statistics}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.StatisticsImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicresultPackageImpl#getStatistics() + * @generated + */ + int STATISTICS = 6; + + /** + * The feature id for the 'Entries' containment reference list. + * + * + * @generated + * @ordered + */ + int STATISTICS__ENTRIES = 0; + + /** + * The feature id for the 'Transformation Time' attribute. + * + * + * @generated + * @ordered + */ + int STATISTICS__TRANSFORMATION_TIME = 1; + + /** + * The feature id for the 'Solver Time' attribute. + * + * + * @generated + * @ordered + */ + int STATISTICS__SOLVER_TIME = 2; + + /** + * The feature id for the 'Solver Memory' attribute. + * + * + * @generated + * @ordered + */ + int STATISTICS__SOLVER_MEMORY = 3; + + /** + * The number of structural features of the 'Statistics' class. + * + * + * @generated + * @ordered + */ + int STATISTICS_FEATURE_COUNT = 4; + + /** + * The number of operations of the 'Statistics' class. + * + * + * @generated + * @ordered + */ + int STATISTICS_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.StatisticEntryImpl Statistic Entry}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.StatisticEntryImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicresultPackageImpl#getStatisticEntry() + * @generated + */ + int STATISTIC_ENTRY = 7; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int STATISTIC_ENTRY__NAME = 0; + + /** + * The number of structural features of the 'Statistic Entry' class. + * + * + * @generated + * @ordered + */ + int STATISTIC_ENTRY_FEATURE_COUNT = 1; + + /** + * The number of operations of the 'Statistic Entry' class. + * + * + * @generated + * @ordered + */ + int STATISTIC_ENTRY_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.UndecidableResultImpl Undecidable Result}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.UndecidableResultImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicresultPackageImpl#getUndecidableResult() + * @generated + */ + int UNDECIDABLE_RESULT = 8; + + /** + * The feature id for the 'Problem' reference. + * + * + * @generated + * @ordered + */ + int UNDECIDABLE_RESULT__PROBLEM = UNKNOWN_RESULT__PROBLEM; + + /** + * The feature id for the 'Statistics' containment reference. + * + * + * @generated + * @ordered + */ + int UNDECIDABLE_RESULT__STATISTICS = UNKNOWN_RESULT__STATISTICS; + + /** + * The feature id for the 'Trace' attribute. + * + * + * @generated + * @ordered + */ + int UNDECIDABLE_RESULT__TRACE = UNKNOWN_RESULT__TRACE; + + /** + * The feature id for the 'Representation' attribute list. + * + * + * @generated + * @ordered + */ + int UNDECIDABLE_RESULT__REPRESENTATION = UNKNOWN_RESULT__REPRESENTATION; + + /** + * The number of structural features of the 'Undecidable Result' class. + * + * + * @generated + * @ordered + */ + int UNDECIDABLE_RESULT_FEATURE_COUNT = UNKNOWN_RESULT_FEATURE_COUNT + 0; + + /** + * The number of operations of the 'Undecidable Result' class. + * + * + * @generated + * @ordered + */ + int UNDECIDABLE_RESULT_OPERATION_COUNT = UNKNOWN_RESULT_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.IntStatisticEntryImpl Int Statistic Entry}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.IntStatisticEntryImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicresultPackageImpl#getIntStatisticEntry() + * @generated + */ + int INT_STATISTIC_ENTRY = 9; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int INT_STATISTIC_ENTRY__NAME = STATISTIC_ENTRY__NAME; + + /** + * The feature id for the 'Value' attribute. + * + * + * @generated + * @ordered + */ + int INT_STATISTIC_ENTRY__VALUE = STATISTIC_ENTRY_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Int Statistic Entry' class. + * + * + * @generated + * @ordered + */ + int INT_STATISTIC_ENTRY_FEATURE_COUNT = STATISTIC_ENTRY_FEATURE_COUNT + 1; + + /** + * The number of operations of the 'Int Statistic Entry' class. + * + * + * @generated + * @ordered + */ + int INT_STATISTIC_ENTRY_OPERATION_COUNT = STATISTIC_ENTRY_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.RealStatisticEntryImpl Real Statistic Entry}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.RealStatisticEntryImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicresultPackageImpl#getRealStatisticEntry() + * @generated + */ + int REAL_STATISTIC_ENTRY = 10; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int REAL_STATISTIC_ENTRY__NAME = STATISTIC_ENTRY__NAME; + + /** + * The feature id for the 'Value' attribute. + * + * + * @generated + * @ordered + */ + int REAL_STATISTIC_ENTRY__VALUE = STATISTIC_ENTRY_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Real Statistic Entry' class. + * + * + * @generated + * @ordered + */ + int REAL_STATISTIC_ENTRY_FEATURE_COUNT = STATISTIC_ENTRY_FEATURE_COUNT + 1; + + /** + * The number of operations of the 'Real Statistic Entry' class. + * + * + * @generated + * @ordered + */ + int REAL_STATISTIC_ENTRY_OPERATION_COUNT = STATISTIC_ENTRY_OPERATION_COUNT + 0; + + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.StringStatisticEntryImpl String Statistic Entry}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.StringStatisticEntryImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicresultPackageImpl#getStringStatisticEntry() + * @generated + */ + int STRING_STATISTIC_ENTRY = 11; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int STRING_STATISTIC_ENTRY__NAME = STATISTIC_ENTRY__NAME; + + /** + * The feature id for the 'Value' attribute. + * + * + * @generated + * @ordered + */ + int STRING_STATISTIC_ENTRY__VALUE = STATISTIC_ENTRY_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'String Statistic Entry' class. + * + * + * @generated + * @ordered + */ + int STRING_STATISTIC_ENTRY_FEATURE_COUNT = STATISTIC_ENTRY_FEATURE_COUNT + 1; + + /** + * The number of operations of the 'String Statistic Entry' class. + * + * + * @generated + * @ordered + */ + int STRING_STATISTIC_ENTRY_OPERATION_COUNT = STATISTIC_ENTRY_OPERATION_COUNT + 0; + + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicResult Logic Result}'. + * + * + * @return the meta object for class 'Logic Result'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicResult + * @generated + */ + EClass getLogicResult(); + + /** + * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicResult#getProblem Problem}'. + * + * + * @return the meta object for the reference 'Problem'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicResult#getProblem() + * @see #getLogicResult() + * @generated + */ + EReference getLogicResult_Problem(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicResult#getStatistics Statistics}'. + * + * + * @return the meta object for the containment reference 'Statistics'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicResult#getStatistics() + * @see #getLogicResult() + * @generated + */ + EReference getLogicResult_Statistics(); + + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicResult#getTrace Trace}'. + * + * + * @return the meta object for the attribute 'Trace'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicResult#getTrace() + * @see #getLogicResult() + * @generated + */ + EAttribute getLogicResult_Trace(); + + /** + * Returns the meta object for the attribute list '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicResult#getRepresentation Representation}'. + * + * + * @return the meta object for the attribute list 'Representation'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicResult#getRepresentation() + * @see #getLogicResult() + * @generated + */ + EAttribute getLogicResult_Representation(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ModelResult Model Result}'. + * + * + * @return the meta object for class 'Model Result'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ModelResult + * @generated + */ + EClass getModelResult(); + + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ModelResult#getMaxInteger Max Integer}'. + * + * + * @return the meta object for the attribute 'Max Integer'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ModelResult#getMaxInteger() + * @see #getModelResult() + * @generated + */ + EAttribute getModelResult_MaxInteger(); + + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ModelResult#getMinInteger Min Integer}'. + * + * + * @return the meta object for the attribute 'Min Integer'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ModelResult#getMinInteger() + * @see #getModelResult() + * @generated + */ + EAttribute getModelResult_MinInteger(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.InconsistencyResult Inconsistency Result}'. + * + * + * @return the meta object for class 'Inconsistency Result'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.InconsistencyResult + * @generated + */ + EClass getInconsistencyResult(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.UnknownResult Unknown Result}'. + * + * + * @return the meta object for class 'Unknown Result'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.UnknownResult + * @generated + */ + EClass getUnknownResult(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.InsuficientResourcesResult Insuficient Resources Result}'. + * + * + * @return the meta object for class 'Insuficient Resources Result'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.InsuficientResourcesResult + * @generated + */ + EClass getInsuficientResourcesResult(); + + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.InsuficientResourcesResult#getResourceName Resource Name}'. + * + * + * @return the meta object for the attribute 'Resource Name'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.InsuficientResourcesResult#getResourceName() + * @see #getInsuficientResourcesResult() + * @generated + */ + EAttribute getInsuficientResourcesResult_ResourceName(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ErrorResult Error Result}'. + * + * + * @return the meta object for class 'Error Result'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ErrorResult + * @generated + */ + EClass getErrorResult(); + + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ErrorResult#getMessage Message}'. + * + * + * @return the meta object for the attribute 'Message'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ErrorResult#getMessage() + * @see #getErrorResult() + * @generated + */ + EAttribute getErrorResult_Message(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.Statistics Statistics}'. + * + * + * @return the meta object for class 'Statistics'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.Statistics + * @generated + */ + EClass getStatistics(); + + /** + * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.Statistics#getEntries Entries}'. + * + * + * @return the meta object for the containment reference list 'Entries'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.Statistics#getEntries() + * @see #getStatistics() + * @generated + */ + EReference getStatistics_Entries(); + + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.Statistics#getTransformationTime Transformation Time}'. + * + * + * @return the meta object for the attribute 'Transformation Time'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.Statistics#getTransformationTime() + * @see #getStatistics() + * @generated + */ + EAttribute getStatistics_TransformationTime(); + + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.Statistics#getSolverTime Solver Time}'. + * + * + * @return the meta object for the attribute 'Solver Time'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.Statistics#getSolverTime() + * @see #getStatistics() + * @generated + */ + EAttribute getStatistics_SolverTime(); + + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.Statistics#getSolverMemory Solver Memory}'. + * + * + * @return the meta object for the attribute 'Solver Memory'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.Statistics#getSolverMemory() + * @see #getStatistics() + * @generated + */ + EAttribute getStatistics_SolverMemory(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.StatisticEntry Statistic Entry}'. + * + * + * @return the meta object for class 'Statistic Entry'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.StatisticEntry + * @generated + */ + EClass getStatisticEntry(); + + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.StatisticEntry#getName Name}'. + * + * + * @return the meta object for the attribute 'Name'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.StatisticEntry#getName() + * @see #getStatisticEntry() + * @generated + */ + EAttribute getStatisticEntry_Name(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.UndecidableResult Undecidable Result}'. + * + * + * @return the meta object for class 'Undecidable Result'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.UndecidableResult + * @generated + */ + EClass getUndecidableResult(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.IntStatisticEntry Int Statistic Entry}'. + * + * + * @return the meta object for class 'Int Statistic Entry'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.IntStatisticEntry + * @generated + */ + EClass getIntStatisticEntry(); + + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.IntStatisticEntry#getValue Value}'. + * + * + * @return the meta object for the attribute 'Value'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.IntStatisticEntry#getValue() + * @see #getIntStatisticEntry() + * @generated + */ + EAttribute getIntStatisticEntry_Value(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.RealStatisticEntry Real Statistic Entry}'. + * + * + * @return the meta object for class 'Real Statistic Entry'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.RealStatisticEntry + * @generated + */ + EClass getRealStatisticEntry(); + + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.RealStatisticEntry#getValue Value}'. + * + * + * @return the meta object for the attribute 'Value'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.RealStatisticEntry#getValue() + * @see #getRealStatisticEntry() + * @generated + */ + EAttribute getRealStatisticEntry_Value(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.StringStatisticEntry String Statistic Entry}'. + * + * + * @return the meta object for class 'String Statistic Entry'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.StringStatisticEntry + * @generated + */ + EClass getStringStatisticEntry(); + + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.StringStatisticEntry#getValue Value}'. + * + * + * @return the meta object for the attribute 'Value'. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.StringStatisticEntry#getValue() + * @see #getStringStatisticEntry() + * @generated + */ + EAttribute getStringStatisticEntry_Value(); + + /** + * Returns the factory that creates the instances of the model. + * + * + * @return the factory that creates the instances of the model. + * @generated + */ + LogicresultFactory getLogicresultFactory(); + + /** + * + * 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.logicresult.impl.LogicResultImpl Logic Result}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicResultImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicresultPackageImpl#getLogicResult() + * @generated + */ + EClass LOGIC_RESULT = eINSTANCE.getLogicResult(); + + /** + * The meta object literal for the 'Problem' reference feature. + * + * + * @generated + */ + EReference LOGIC_RESULT__PROBLEM = eINSTANCE.getLogicResult_Problem(); + + /** + * The meta object literal for the 'Statistics' containment reference feature. + * + * + * @generated + */ + EReference LOGIC_RESULT__STATISTICS = eINSTANCE.getLogicResult_Statistics(); + + /** + * The meta object literal for the 'Trace' attribute feature. + * + * + * @generated + */ + EAttribute LOGIC_RESULT__TRACE = eINSTANCE.getLogicResult_Trace(); + + /** + * The meta object literal for the 'Representation' attribute list feature. + * + * + * @generated + */ + EAttribute LOGIC_RESULT__REPRESENTATION = eINSTANCE.getLogicResult_Representation(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.ModelResultImpl Model Result}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.ModelResultImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicresultPackageImpl#getModelResult() + * @generated + */ + EClass MODEL_RESULT = eINSTANCE.getModelResult(); + + /** + * The meta object literal for the 'Max Integer' attribute feature. + * + * + * @generated + */ + EAttribute MODEL_RESULT__MAX_INTEGER = eINSTANCE.getModelResult_MaxInteger(); + + /** + * The meta object literal for the 'Min Integer' attribute feature. + * + * + * @generated + */ + EAttribute MODEL_RESULT__MIN_INTEGER = eINSTANCE.getModelResult_MinInteger(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.InconsistencyResultImpl Inconsistency Result}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.InconsistencyResultImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicresultPackageImpl#getInconsistencyResult() + * @generated + */ + EClass INCONSISTENCY_RESULT = eINSTANCE.getInconsistencyResult(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.UnknownResultImpl Unknown Result}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.UnknownResultImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicresultPackageImpl#getUnknownResult() + * @generated + */ + EClass UNKNOWN_RESULT = eINSTANCE.getUnknownResult(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.InsuficientResourcesResultImpl Insuficient Resources Result}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.InsuficientResourcesResultImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicresultPackageImpl#getInsuficientResourcesResult() + * @generated + */ + EClass INSUFICIENT_RESOURCES_RESULT = eINSTANCE.getInsuficientResourcesResult(); + + /** + * The meta object literal for the 'Resource Name' attribute feature. + * + * + * @generated + */ + EAttribute INSUFICIENT_RESOURCES_RESULT__RESOURCE_NAME = eINSTANCE.getInsuficientResourcesResult_ResourceName(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.ErrorResultImpl Error Result}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.ErrorResultImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicresultPackageImpl#getErrorResult() + * @generated + */ + EClass ERROR_RESULT = eINSTANCE.getErrorResult(); + + /** + * The meta object literal for the 'Message' attribute feature. + * + * + * @generated + */ + EAttribute ERROR_RESULT__MESSAGE = eINSTANCE.getErrorResult_Message(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.StatisticsImpl Statistics}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.StatisticsImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicresultPackageImpl#getStatistics() + * @generated + */ + EClass STATISTICS = eINSTANCE.getStatistics(); + + /** + * The meta object literal for the 'Entries' containment reference list feature. + * + * + * @generated + */ + EReference STATISTICS__ENTRIES = eINSTANCE.getStatistics_Entries(); + + /** + * The meta object literal for the 'Transformation Time' attribute feature. + * + * + * @generated + */ + EAttribute STATISTICS__TRANSFORMATION_TIME = eINSTANCE.getStatistics_TransformationTime(); + + /** + * The meta object literal for the 'Solver Time' attribute feature. + * + * + * @generated + */ + EAttribute STATISTICS__SOLVER_TIME = eINSTANCE.getStatistics_SolverTime(); + + /** + * The meta object literal for the 'Solver Memory' attribute feature. + * + * + * @generated + */ + EAttribute STATISTICS__SOLVER_MEMORY = eINSTANCE.getStatistics_SolverMemory(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.StatisticEntryImpl Statistic Entry}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.StatisticEntryImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicresultPackageImpl#getStatisticEntry() + * @generated + */ + EClass STATISTIC_ENTRY = eINSTANCE.getStatisticEntry(); + + /** + * The meta object literal for the 'Name' attribute feature. + * + * + * @generated + */ + EAttribute STATISTIC_ENTRY__NAME = eINSTANCE.getStatisticEntry_Name(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.UndecidableResultImpl Undecidable Result}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.UndecidableResultImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicresultPackageImpl#getUndecidableResult() + * @generated + */ + EClass UNDECIDABLE_RESULT = eINSTANCE.getUndecidableResult(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.IntStatisticEntryImpl Int Statistic Entry}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.IntStatisticEntryImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicresultPackageImpl#getIntStatisticEntry() + * @generated + */ + EClass INT_STATISTIC_ENTRY = eINSTANCE.getIntStatisticEntry(); + + /** + * The meta object literal for the 'Value' attribute feature. + * + * + * @generated + */ + EAttribute INT_STATISTIC_ENTRY__VALUE = eINSTANCE.getIntStatisticEntry_Value(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.RealStatisticEntryImpl Real Statistic Entry}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.RealStatisticEntryImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicresultPackageImpl#getRealStatisticEntry() + * @generated + */ + EClass REAL_STATISTIC_ENTRY = eINSTANCE.getRealStatisticEntry(); + + /** + * The meta object literal for the 'Value' attribute feature. + * + * + * @generated + */ + EAttribute REAL_STATISTIC_ENTRY__VALUE = eINSTANCE.getRealStatisticEntry_Value(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.StringStatisticEntryImpl String Statistic Entry}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.StringStatisticEntryImpl + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicresultPackageImpl#getStringStatisticEntry() + * @generated + */ + EClass STRING_STATISTIC_ENTRY = eINSTANCE.getStringStatisticEntry(); + + /** + * The meta object literal for the 'Value' attribute feature. + * + * + * @generated + */ + EAttribute STRING_STATISTIC_ENTRY__VALUE = eINSTANCE.getStringStatisticEntry_Value(); + + } + +} //LogicresultPackage diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/ModelResult.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/ModelResult.java new file mode 100644 index 00000000..6cef941d --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/ModelResult.java @@ -0,0 +1,76 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logicresult; + + +/** + * + * A representation of the model object 'Model Result'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ModelResult#getMaxInteger Max Integer}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ModelResult#getMinInteger Min Integer}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage#getModelResult() + * @model + * @generated + */ +public interface ModelResult extends LogicResult { + /** + * Returns the value of the 'Max Integer' attribute. + * + *

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

+ * + * @return the value of the 'Max Integer' attribute. + * @see #setMaxInteger(int) + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage#getModelResult_MaxInteger() + * @model required="true" + * @generated + */ + int getMaxInteger(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ModelResult#getMaxInteger Max Integer}' attribute. + * + * + * @param value the new value of the 'Max Integer' attribute. + * @see #getMaxInteger() + * @generated + */ + void setMaxInteger(int value); + + /** + * Returns the value of the 'Min Integer' attribute. + * + *

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

+ * + * @return the value of the 'Min Integer' attribute. + * @see #setMinInteger(int) + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage#getModelResult_MinInteger() + * @model required="true" + * @generated + */ + int getMinInteger(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ModelResult#getMinInteger Min Integer}' attribute. + * + * + * @param value the new value of the 'Min Integer' attribute. + * @see #getMinInteger() + * @generated + */ + void setMinInteger(int value); + +} // ModelResult diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/RealStatisticEntry.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/RealStatisticEntry.java new file mode 100644 index 00000000..427416bf --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/RealStatisticEntry.java @@ -0,0 +1,49 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logicresult; + + +/** + * + * A representation of the model object 'Real Statistic Entry'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.RealStatisticEntry#getValue Value}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage#getRealStatisticEntry() + * @model + * @generated + */ +public interface RealStatisticEntry extends StatisticEntry { + /** + * 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(double) + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage#getRealStatisticEntry_Value() + * @model required="true" + * @generated + */ + double getValue(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.RealStatisticEntry#getValue Value}' attribute. + * + * + * @param value the new value of the 'Value' attribute. + * @see #getValue() + * @generated + */ + void setValue(double value); + +} // RealStatisticEntry diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/StatisticEntry.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/StatisticEntry.java new file mode 100644 index 00000000..f805c781 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/StatisticEntry.java @@ -0,0 +1,50 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logicresult; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Statistic Entry'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.StatisticEntry#getName Name}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage#getStatisticEntry() + * @model abstract="true" + * @generated + */ +public interface StatisticEntry extends EObject { + /** + * Returns the value of the 'Name' attribute. + * + *

+ * If the meaning of the 'Name' attribute 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.logicresult.LogicresultPackage#getStatisticEntry_Name() + * @model required="true" + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.StatisticEntry#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + +} // StatisticEntry diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/Statistics.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/Statistics.java new file mode 100644 index 00000000..5b14d009 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/Statistics.java @@ -0,0 +1,126 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logicresult; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Statistics'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.Statistics#getEntries Entries}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.Statistics#getTransformationTime Transformation Time}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.Statistics#getSolverTime Solver Time}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.Statistics#getSolverMemory Solver Memory}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage#getStatistics() + * @model + * @generated + */ +public interface Statistics extends EObject { + /** + * Returns the value of the 'Entries' containment reference list. + * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.StatisticEntry}. + * + *

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

+ * + * @return the value of the 'Entries' containment reference list. + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage#getStatistics_Entries() + * @model containment="true" + * @generated + */ + EList getEntries(); + + /** + * Returns the value of the 'Transformation Time' attribute. + * The default value is "-1". + * + *

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

+ * + * @return the value of the 'Transformation Time' attribute. + * @see #setTransformationTime(int) + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage#getStatistics_TransformationTime() + * @model default="-1" required="true" + * @generated + */ + int getTransformationTime(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.Statistics#getTransformationTime Transformation Time}' attribute. + * + * + * @param value the new value of the 'Transformation Time' attribute. + * @see #getTransformationTime() + * @generated + */ + void setTransformationTime(int value); + + /** + * Returns the value of the 'Solver Time' attribute. + * The default value is "-1". + * + *

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

+ * + * @return the value of the 'Solver Time' attribute. + * @see #setSolverTime(int) + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage#getStatistics_SolverTime() + * @model default="-1" required="true" + * @generated + */ + int getSolverTime(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.Statistics#getSolverTime Solver Time}' attribute. + * + * + * @param value the new value of the 'Solver Time' attribute. + * @see #getSolverTime() + * @generated + */ + void setSolverTime(int value); + + /** + * Returns the value of the 'Solver Memory' attribute. + * The default value is "-1". + * + *

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

+ * + * @return the value of the 'Solver Memory' attribute. + * @see #setSolverMemory(int) + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage#getStatistics_SolverMemory() + * @model default="-1" + * @generated + */ + int getSolverMemory(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.Statistics#getSolverMemory Solver Memory}' attribute. + * + * + * @param value the new value of the 'Solver Memory' attribute. + * @see #getSolverMemory() + * @generated + */ + void setSolverMemory(int value); + +} // Statistics diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/StringStatisticEntry.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/StringStatisticEntry.java new file mode 100644 index 00000000..7d9208fa --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/StringStatisticEntry.java @@ -0,0 +1,50 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logicresult; + + +/** + * + * A representation of the model object 'String Statistic Entry'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.StringStatisticEntry#getValue Value}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage#getStringStatisticEntry() + * @model + * @generated + */ +public interface StringStatisticEntry extends StatisticEntry { + /** + * Returns the value of the 'Value' attribute. + * The default value is "Unfilled". + * + *

+ * 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(String) + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage#getStringStatisticEntry_Value() + * @model default="Unfilled" required="true" + * @generated + */ + String getValue(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.StringStatisticEntry#getValue Value}' attribute. + * + * + * @param value the new value of the 'Value' attribute. + * @see #getValue() + * @generated + */ + void setValue(String value); + +} // StringStatisticEntry diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/UndecidableResult.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/UndecidableResult.java new file mode 100644 index 00000000..e820eb4f --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/UndecidableResult.java @@ -0,0 +1,17 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logicresult; + + +/** + * + * A representation of the model object 'Undecidable Result'. + * + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage#getUndecidableResult() + * @model + * @generated + */ +public interface UndecidableResult extends UnknownResult { +} // UndecidableResult diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/UnknownResult.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/UnknownResult.java new file mode 100644 index 00000000..25afa286 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/UnknownResult.java @@ -0,0 +1,17 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logicresult; + + +/** + * + * A representation of the model object 'Unknown Result'. + * + * + * + * @see hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage#getUnknownResult() + * @model abstract="true" + * @generated + */ +public interface UnknownResult extends LogicResult { +} // UnknownResult diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/ErrorResultImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/ErrorResultImpl.java new file mode 100644 index 00000000..579bc772 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/ErrorResultImpl.java @@ -0,0 +1,162 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ErrorResult; +import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage; + +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 'Error Result'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.ErrorResultImpl#getMessage Message}
  • + *
+ * + * @generated + */ +public class ErrorResultImpl extends UnknownResultImpl implements ErrorResult { + /** + * The default value of the '{@link #getMessage() Message}' attribute. + * + * + * @see #getMessage() + * @generated + * @ordered + */ + protected static final String MESSAGE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getMessage() Message}' attribute. + * + * + * @see #getMessage() + * @generated + * @ordered + */ + protected String message = MESSAGE_EDEFAULT; + + /** + * + * + * @generated + */ + protected ErrorResultImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogicresultPackage.Literals.ERROR_RESULT; + } + + /** + * + * + * @generated + */ + public String getMessage() { + return message; + } + + /** + * + * + * @generated + */ + public void setMessage(String newMessage) { + String oldMessage = message; + message = newMessage; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, LogicresultPackage.ERROR_RESULT__MESSAGE, oldMessage, message)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case LogicresultPackage.ERROR_RESULT__MESSAGE: + return getMessage(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case LogicresultPackage.ERROR_RESULT__MESSAGE: + setMessage((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case LogicresultPackage.ERROR_RESULT__MESSAGE: + setMessage(MESSAGE_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case LogicresultPackage.ERROR_RESULT__MESSAGE: + return MESSAGE_EDEFAULT == null ? message != null : !MESSAGE_EDEFAULT.equals(message); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (message: "); + result.append(message); + result.append(')'); + return result.toString(); + } + +} //ErrorResultImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/InconsistencyResultImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/InconsistencyResultImpl.java new file mode 100644 index 00000000..de24477d --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/InconsistencyResultImpl.java @@ -0,0 +1,37 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.InconsistencyResult; +import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage; + +import org.eclipse.emf.ecore.EClass; + +/** + * + * An implementation of the model object 'Inconsistency Result'. + * + * + * @generated + */ +public class InconsistencyResultImpl extends LogicResultImpl implements InconsistencyResult { + /** + * + * + * @generated + */ + protected InconsistencyResultImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogicresultPackage.Literals.INCONSISTENCY_RESULT; + } + +} //InconsistencyResultImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/InsuficientResourcesResultImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/InsuficientResourcesResultImpl.java new file mode 100644 index 00000000..3f8d7ebf --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/InsuficientResourcesResultImpl.java @@ -0,0 +1,162 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.InsuficientResourcesResult; +import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage; + +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 'Insuficient Resources Result'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.InsuficientResourcesResultImpl#getResourceName Resource Name}
  • + *
+ * + * @generated + */ +public class InsuficientResourcesResultImpl extends UnknownResultImpl implements InsuficientResourcesResult { + /** + * The default value of the '{@link #getResourceName() Resource Name}' attribute. + * + * + * @see #getResourceName() + * @generated + * @ordered + */ + protected static final String RESOURCE_NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getResourceName() Resource Name}' attribute. + * + * + * @see #getResourceName() + * @generated + * @ordered + */ + protected String resourceName = RESOURCE_NAME_EDEFAULT; + + /** + * + * + * @generated + */ + protected InsuficientResourcesResultImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogicresultPackage.Literals.INSUFICIENT_RESOURCES_RESULT; + } + + /** + * + * + * @generated + */ + public String getResourceName() { + return resourceName; + } + + /** + * + * + * @generated + */ + public void setResourceName(String newResourceName) { + String oldResourceName = resourceName; + resourceName = newResourceName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, LogicresultPackage.INSUFICIENT_RESOURCES_RESULT__RESOURCE_NAME, oldResourceName, resourceName)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case LogicresultPackage.INSUFICIENT_RESOURCES_RESULT__RESOURCE_NAME: + return getResourceName(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case LogicresultPackage.INSUFICIENT_RESOURCES_RESULT__RESOURCE_NAME: + setResourceName((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case LogicresultPackage.INSUFICIENT_RESOURCES_RESULT__RESOURCE_NAME: + setResourceName(RESOURCE_NAME_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case LogicresultPackage.INSUFICIENT_RESOURCES_RESULT__RESOURCE_NAME: + return RESOURCE_NAME_EDEFAULT == null ? resourceName != null : !RESOURCE_NAME_EDEFAULT.equals(resourceName); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (resourceName: "); + result.append(resourceName); + result.append(')'); + return result.toString(); + } + +} //InsuficientResourcesResultImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/IntStatisticEntryImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/IntStatisticEntryImpl.java new file mode 100644 index 00000000..e8bedf70 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/IntStatisticEntryImpl.java @@ -0,0 +1,162 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.IntStatisticEntry; +import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage; + +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 Statistic Entry'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.IntStatisticEntryImpl#getValue Value}
  • + *
+ * + * @generated + */ +public class IntStatisticEntryImpl extends StatisticEntryImpl implements IntStatisticEntry { + /** + * 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 IntStatisticEntryImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogicresultPackage.Literals.INT_STATISTIC_ENTRY; + } + + /** + * + * + * @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, LogicresultPackage.INT_STATISTIC_ENTRY__VALUE, oldValue, value)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case LogicresultPackage.INT_STATISTIC_ENTRY__VALUE: + return getValue(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case LogicresultPackage.INT_STATISTIC_ENTRY__VALUE: + setValue((Integer)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case LogicresultPackage.INT_STATISTIC_ENTRY__VALUE: + setValue(VALUE_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case LogicresultPackage.INT_STATISTIC_ENTRY__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(); + } + +} //IntStatisticEntryImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/LogicResultImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/LogicResultImpl.java new file mode 100644 index 00000000..1bd5c833 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/LogicResultImpl.java @@ -0,0 +1,346 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem; + +import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicResult; +import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage; +import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.Statistics; + +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.EDataTypeUniqueEList; + +/** + * + * An implementation of the model object 'Logic Result'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicResultImpl#getProblem Problem}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicResultImpl#getStatistics Statistics}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicResultImpl#getTrace Trace}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.LogicResultImpl#getRepresentation Representation}
  • + *
+ * + * @generated + */ +public abstract class LogicResultImpl extends MinimalEObjectImpl.Container implements LogicResult { + /** + * The cached value of the '{@link #getProblem() Problem}' reference. + * + * + * @see #getProblem() + * @generated + * @ordered + */ + protected LogicProblem problem; + + /** + * The cached value of the '{@link #getStatistics() Statistics}' containment reference. + * + * + * @see #getStatistics() + * @generated + * @ordered + */ + protected Statistics statistics; + + /** + * The default value of the '{@link #getTrace() Trace}' attribute. + * + * + * @see #getTrace() + * @generated + * @ordered + */ + protected static final Object TRACE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTrace() Trace}' attribute. + * + * + * @see #getTrace() + * @generated + * @ordered + */ + protected Object trace = TRACE_EDEFAULT; + + /** + * The cached value of the '{@link #getRepresentation() Representation}' attribute list. + * + * + * @see #getRepresentation() + * @generated + * @ordered + */ + protected EList representation; + + /** + * + * + * @generated + */ + protected LogicResultImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogicresultPackage.Literals.LOGIC_RESULT; + } + + /** + * + * + * @generated + */ + public LogicProblem getProblem() { + if (problem != null && problem.eIsProxy()) { + InternalEObject oldProblem = (InternalEObject)problem; + problem = (LogicProblem)eResolveProxy(oldProblem); + if (problem != oldProblem) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, LogicresultPackage.LOGIC_RESULT__PROBLEM, oldProblem, problem)); + } + } + return problem; + } + + /** + * + * + * @generated + */ + public LogicProblem basicGetProblem() { + return problem; + } + + /** + * + * + * @generated + */ + public void setProblem(LogicProblem newProblem) { + LogicProblem oldProblem = problem; + problem = newProblem; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, LogicresultPackage.LOGIC_RESULT__PROBLEM, oldProblem, problem)); + } + + /** + * + * + * @generated + */ + public Statistics getStatistics() { + return statistics; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetStatistics(Statistics newStatistics, NotificationChain msgs) { + Statistics oldStatistics = statistics; + statistics = newStatistics; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LogicresultPackage.LOGIC_RESULT__STATISTICS, oldStatistics, newStatistics); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setStatistics(Statistics newStatistics) { + if (newStatistics != statistics) { + NotificationChain msgs = null; + if (statistics != null) + msgs = ((InternalEObject)statistics).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LogicresultPackage.LOGIC_RESULT__STATISTICS, null, msgs); + if (newStatistics != null) + msgs = ((InternalEObject)newStatistics).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LogicresultPackage.LOGIC_RESULT__STATISTICS, null, msgs); + msgs = basicSetStatistics(newStatistics, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, LogicresultPackage.LOGIC_RESULT__STATISTICS, newStatistics, newStatistics)); + } + + /** + * + * + * @generated + */ + public Object getTrace() { + return trace; + } + + /** + * + * + * @generated + */ + public void setTrace(Object newTrace) { + Object oldTrace = trace; + trace = newTrace; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, LogicresultPackage.LOGIC_RESULT__TRACE, oldTrace, trace)); + } + + /** + * + * + * @generated + */ + public EList getRepresentation() { + if (representation == null) { + representation = new EDataTypeUniqueEList(Object.class, this, LogicresultPackage.LOGIC_RESULT__REPRESENTATION); + } + return representation; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case LogicresultPackage.LOGIC_RESULT__STATISTICS: + return basicSetStatistics(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case LogicresultPackage.LOGIC_RESULT__PROBLEM: + if (resolve) return getProblem(); + return basicGetProblem(); + case LogicresultPackage.LOGIC_RESULT__STATISTICS: + return getStatistics(); + case LogicresultPackage.LOGIC_RESULT__TRACE: + return getTrace(); + case LogicresultPackage.LOGIC_RESULT__REPRESENTATION: + return getRepresentation(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case LogicresultPackage.LOGIC_RESULT__PROBLEM: + setProblem((LogicProblem)newValue); + return; + case LogicresultPackage.LOGIC_RESULT__STATISTICS: + setStatistics((Statistics)newValue); + return; + case LogicresultPackage.LOGIC_RESULT__TRACE: + setTrace(newValue); + return; + case LogicresultPackage.LOGIC_RESULT__REPRESENTATION: + getRepresentation().clear(); + getRepresentation().addAll((Collection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case LogicresultPackage.LOGIC_RESULT__PROBLEM: + setProblem((LogicProblem)null); + return; + case LogicresultPackage.LOGIC_RESULT__STATISTICS: + setStatistics((Statistics)null); + return; + case LogicresultPackage.LOGIC_RESULT__TRACE: + setTrace(TRACE_EDEFAULT); + return; + case LogicresultPackage.LOGIC_RESULT__REPRESENTATION: + getRepresentation().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case LogicresultPackage.LOGIC_RESULT__PROBLEM: + return problem != null; + case LogicresultPackage.LOGIC_RESULT__STATISTICS: + return statistics != null; + case LogicresultPackage.LOGIC_RESULT__TRACE: + return TRACE_EDEFAULT == null ? trace != null : !TRACE_EDEFAULT.equals(trace); + case LogicresultPackage.LOGIC_RESULT__REPRESENTATION: + return representation != null && !representation.isEmpty(); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (trace: "); + result.append(trace); + result.append(", representation: "); + result.append(representation); + result.append(')'); + return result.toString(); + } + +} //LogicResultImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/LogicresultFactoryImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/LogicresultFactoryImpl.java new file mode 100644 index 00000000..5a102523 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/LogicresultFactoryImpl.java @@ -0,0 +1,183 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.*; + +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 LogicresultFactoryImpl extends EFactoryImpl implements LogicresultFactory { + /** + * Creates the default factory implementation. + * + * + * @generated + */ + public static LogicresultFactory init() { + try { + LogicresultFactory theLogicresultFactory = (LogicresultFactory)EPackage.Registry.INSTANCE.getEFactory(LogicresultPackage.eNS_URI); + if (theLogicresultFactory != null) { + return theLogicresultFactory; + } + } + catch (Exception exception) { + EcorePlugin.INSTANCE.log(exception); + } + return new LogicresultFactoryImpl(); + } + + /** + * Creates an instance of the factory. + * + * + * @generated + */ + public LogicresultFactoryImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + public EObject create(EClass eClass) { + switch (eClass.getClassifierID()) { + case LogicresultPackage.MODEL_RESULT: return createModelResult(); + case LogicresultPackage.INCONSISTENCY_RESULT: return createInconsistencyResult(); + case LogicresultPackage.INSUFICIENT_RESOURCES_RESULT: return createInsuficientResourcesResult(); + case LogicresultPackage.ERROR_RESULT: return createErrorResult(); + case LogicresultPackage.STATISTICS: return createStatistics(); + case LogicresultPackage.UNDECIDABLE_RESULT: return createUndecidableResult(); + case LogicresultPackage.INT_STATISTIC_ENTRY: return createIntStatisticEntry(); + case LogicresultPackage.REAL_STATISTIC_ENTRY: return createRealStatisticEntry(); + case LogicresultPackage.STRING_STATISTIC_ENTRY: return createStringStatisticEntry(); + default: + throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); + } + } + + /** + * + * + * @generated + */ + public ModelResult createModelResult() { + ModelResultImpl modelResult = new ModelResultImpl(); + return modelResult; + } + + /** + * + * + * @generated + */ + public InconsistencyResult createInconsistencyResult() { + InconsistencyResultImpl inconsistencyResult = new InconsistencyResultImpl(); + return inconsistencyResult; + } + + /** + * + * + * @generated + */ + public InsuficientResourcesResult createInsuficientResourcesResult() { + InsuficientResourcesResultImpl insuficientResourcesResult = new InsuficientResourcesResultImpl(); + return insuficientResourcesResult; + } + + /** + * + * + * @generated + */ + public ErrorResult createErrorResult() { + ErrorResultImpl errorResult = new ErrorResultImpl(); + return errorResult; + } + + /** + * + * + * @generated + */ + public Statistics createStatistics() { + StatisticsImpl statistics = new StatisticsImpl(); + return statistics; + } + + /** + * + * + * @generated + */ + public UndecidableResult createUndecidableResult() { + UndecidableResultImpl undecidableResult = new UndecidableResultImpl(); + return undecidableResult; + } + + /** + * + * + * @generated + */ + public IntStatisticEntry createIntStatisticEntry() { + IntStatisticEntryImpl intStatisticEntry = new IntStatisticEntryImpl(); + return intStatisticEntry; + } + + /** + * + * + * @generated + */ + public RealStatisticEntry createRealStatisticEntry() { + RealStatisticEntryImpl realStatisticEntry = new RealStatisticEntryImpl(); + return realStatisticEntry; + } + + /** + * + * + * @generated + */ + public StringStatisticEntry createStringStatisticEntry() { + StringStatisticEntryImpl stringStatisticEntry = new StringStatisticEntryImpl(); + return stringStatisticEntry; + } + + /** + * + * + * @generated + */ + public LogicresultPackage getLogicresultPackage() { + return (LogicresultPackage)getEPackage(); + } + + /** + * + * + * @deprecated + * @generated + */ + @Deprecated + public static LogicresultPackage getPackage() { + return LogicresultPackage.eINSTANCE; + } + +} //LogicresultFactoryImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/LogicresultPackageImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/LogicresultPackageImpl.java new file mode 100644 index 00000000..8b0e0605 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/LogicresultPackageImpl.java @@ -0,0 +1,602 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguagePackage; + +import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.LogiclanguagePackageImpl; + +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.ErrorResult; +import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.InconsistencyResult; +import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.InsuficientResourcesResult; +import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.IntStatisticEntry; +import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicResult; +import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultFactory; +import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage; +import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ModelResult; +import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.RealStatisticEntry; +import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.StatisticEntry; +import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.Statistics; +import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.StringStatisticEntry; +import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.UndecidableResult; +import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.UnknownResult; + +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 LogicresultPackageImpl extends EPackageImpl implements LogicresultPackage { + /** + * + * + * @generated + */ + private EClass logicResultEClass = null; + + /** + * + * + * @generated + */ + private EClass modelResultEClass = null; + + /** + * + * + * @generated + */ + private EClass inconsistencyResultEClass = null; + + /** + * + * + * @generated + */ + private EClass unknownResultEClass = null; + + /** + * + * + * @generated + */ + private EClass insuficientResourcesResultEClass = null; + + /** + * + * + * @generated + */ + private EClass errorResultEClass = null; + + /** + * + * + * @generated + */ + private EClass statisticsEClass = null; + + /** + * + * + * @generated + */ + private EClass statisticEntryEClass = null; + + /** + * + * + * @generated + */ + private EClass undecidableResultEClass = null; + + /** + * + * + * @generated + */ + private EClass intStatisticEntryEClass = null; + + /** + * + * + * @generated + */ + private EClass realStatisticEntryEClass = null; + + /** + * + * + * @generated + */ + private EClass stringStatisticEntryEClass = 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.logicresult.LogicresultPackage#eNS_URI + * @see #init() + * @generated + */ + private LogicresultPackageImpl() { + super(eNS_URI, LogicresultFactory.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 LogicresultPackage#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 LogicresultPackage init() { + if (isInited) return (LogicresultPackage)EPackage.Registry.INSTANCE.getEPackage(LogicresultPackage.eNS_URI); + + // Obtain or create and register package + LogicresultPackageImpl theLogicresultPackage = (LogicresultPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof LogicresultPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new LogicresultPackageImpl()); + + isInited = true; + + // Obtain or create and register interdependencies + LogiclanguagePackageImpl theLogiclanguagePackage = (LogiclanguagePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(LogiclanguagePackage.eNS_URI) instanceof LogiclanguagePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(LogiclanguagePackage.eNS_URI) : LogiclanguagePackage.eINSTANCE); + LogicproblemPackageImpl theLogicproblemPackage = (LogicproblemPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(LogicproblemPackage.eNS_URI) instanceof LogicproblemPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(LogicproblemPackage.eNS_URI) : LogicproblemPackage.eINSTANCE); + + // Create package meta-data objects + theLogicresultPackage.createPackageContents(); + theLogiclanguagePackage.createPackageContents(); + theLogicproblemPackage.createPackageContents(); + + // Initialize created meta-data + theLogicresultPackage.initializePackageContents(); + theLogiclanguagePackage.initializePackageContents(); + theLogicproblemPackage.initializePackageContents(); + + // Mark meta-data to indicate it can't be changed + theLogicresultPackage.freeze(); + + + // Update the registry and return the package + EPackage.Registry.INSTANCE.put(LogicresultPackage.eNS_URI, theLogicresultPackage); + return theLogicresultPackage; + } + + /** + * + * + * @generated + */ + public EClass getLogicResult() { + return logicResultEClass; + } + + /** + * + * + * @generated + */ + public EReference getLogicResult_Problem() { + return (EReference)logicResultEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getLogicResult_Statistics() { + return (EReference)logicResultEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EAttribute getLogicResult_Trace() { + return (EAttribute)logicResultEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EAttribute getLogicResult_Representation() { + return (EAttribute)logicResultEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + public EClass getModelResult() { + return modelResultEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getModelResult_MaxInteger() { + return (EAttribute)modelResultEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getModelResult_MinInteger() { + return (EAttribute)modelResultEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getInconsistencyResult() { + return inconsistencyResultEClass; + } + + /** + * + * + * @generated + */ + public EClass getUnknownResult() { + return unknownResultEClass; + } + + /** + * + * + * @generated + */ + public EClass getInsuficientResourcesResult() { + return insuficientResourcesResultEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getInsuficientResourcesResult_ResourceName() { + return (EAttribute)insuficientResourcesResultEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getErrorResult() { + return errorResultEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getErrorResult_Message() { + return (EAttribute)errorResultEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getStatistics() { + return statisticsEClass; + } + + /** + * + * + * @generated + */ + public EReference getStatistics_Entries() { + return (EReference)statisticsEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EAttribute getStatistics_TransformationTime() { + return (EAttribute)statisticsEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EAttribute getStatistics_SolverTime() { + return (EAttribute)statisticsEClass.getEStructuralFeatures().get(2); + } + + /** + * + * + * @generated + */ + public EAttribute getStatistics_SolverMemory() { + return (EAttribute)statisticsEClass.getEStructuralFeatures().get(3); + } + + /** + * + * + * @generated + */ + public EClass getStatisticEntry() { + return statisticEntryEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getStatisticEntry_Name() { + return (EAttribute)statisticEntryEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getUndecidableResult() { + return undecidableResultEClass; + } + + /** + * + * + * @generated + */ + public EClass getIntStatisticEntry() { + return intStatisticEntryEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getIntStatisticEntry_Value() { + return (EAttribute)intStatisticEntryEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getRealStatisticEntry() { + return realStatisticEntryEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getRealStatisticEntry_Value() { + return (EAttribute)realStatisticEntryEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getStringStatisticEntry() { + return stringStatisticEntryEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getStringStatisticEntry_Value() { + return (EAttribute)stringStatisticEntryEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public LogicresultFactory getLogicresultFactory() { + return (LogicresultFactory)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 + logicResultEClass = createEClass(LOGIC_RESULT); + createEReference(logicResultEClass, LOGIC_RESULT__PROBLEM); + createEReference(logicResultEClass, LOGIC_RESULT__STATISTICS); + createEAttribute(logicResultEClass, LOGIC_RESULT__TRACE); + createEAttribute(logicResultEClass, LOGIC_RESULT__REPRESENTATION); + + modelResultEClass = createEClass(MODEL_RESULT); + createEAttribute(modelResultEClass, MODEL_RESULT__MAX_INTEGER); + createEAttribute(modelResultEClass, MODEL_RESULT__MIN_INTEGER); + + inconsistencyResultEClass = createEClass(INCONSISTENCY_RESULT); + + unknownResultEClass = createEClass(UNKNOWN_RESULT); + + insuficientResourcesResultEClass = createEClass(INSUFICIENT_RESOURCES_RESULT); + createEAttribute(insuficientResourcesResultEClass, INSUFICIENT_RESOURCES_RESULT__RESOURCE_NAME); + + errorResultEClass = createEClass(ERROR_RESULT); + createEAttribute(errorResultEClass, ERROR_RESULT__MESSAGE); + + statisticsEClass = createEClass(STATISTICS); + createEReference(statisticsEClass, STATISTICS__ENTRIES); + createEAttribute(statisticsEClass, STATISTICS__TRANSFORMATION_TIME); + createEAttribute(statisticsEClass, STATISTICS__SOLVER_TIME); + createEAttribute(statisticsEClass, STATISTICS__SOLVER_MEMORY); + + statisticEntryEClass = createEClass(STATISTIC_ENTRY); + createEAttribute(statisticEntryEClass, STATISTIC_ENTRY__NAME); + + undecidableResultEClass = createEClass(UNDECIDABLE_RESULT); + + intStatisticEntryEClass = createEClass(INT_STATISTIC_ENTRY); + createEAttribute(intStatisticEntryEClass, INT_STATISTIC_ENTRY__VALUE); + + realStatisticEntryEClass = createEClass(REAL_STATISTIC_ENTRY); + createEAttribute(realStatisticEntryEClass, REAL_STATISTIC_ENTRY__VALUE); + + stringStatisticEntryEClass = createEClass(STRING_STATISTIC_ENTRY); + createEAttribute(stringStatisticEntryEClass, STRING_STATISTIC_ENTRY__VALUE); + } + + /** + * + * + * @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 + modelResultEClass.getESuperTypes().add(this.getLogicResult()); + inconsistencyResultEClass.getESuperTypes().add(this.getLogicResult()); + unknownResultEClass.getESuperTypes().add(this.getLogicResult()); + insuficientResourcesResultEClass.getESuperTypes().add(this.getUnknownResult()); + errorResultEClass.getESuperTypes().add(this.getUnknownResult()); + undecidableResultEClass.getESuperTypes().add(this.getUnknownResult()); + intStatisticEntryEClass.getESuperTypes().add(this.getStatisticEntry()); + realStatisticEntryEClass.getESuperTypes().add(this.getStatisticEntry()); + stringStatisticEntryEClass.getESuperTypes().add(this.getStatisticEntry()); + + // Initialize classes, features, and operations; add parameters + initEClass(logicResultEClass, LogicResult.class, "LogicResult", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getLogicResult_Problem(), theLogicproblemPackage.getLogicProblem(), null, "problem", null, 0, 1, LogicResult.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getLogicResult_Statistics(), this.getStatistics(), null, "statistics", null, 0, 1, LogicResult.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getLogicResult_Trace(), ecorePackage.getEJavaObject(), "trace", null, 0, 1, LogicResult.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getLogicResult_Representation(), ecorePackage.getEJavaObject(), "representation", null, 0, -1, LogicResult.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(modelResultEClass, ModelResult.class, "ModelResult", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getModelResult_MaxInteger(), ecorePackage.getEInt(), "maxInteger", null, 1, 1, ModelResult.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getModelResult_MinInteger(), ecorePackage.getEInt(), "minInteger", null, 1, 1, ModelResult.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(inconsistencyResultEClass, InconsistencyResult.class, "InconsistencyResult", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(unknownResultEClass, UnknownResult.class, "UnknownResult", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(insuficientResourcesResultEClass, InsuficientResourcesResult.class, "InsuficientResourcesResult", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getInsuficientResourcesResult_ResourceName(), ecorePackage.getEString(), "resourceName", null, 1, 1, InsuficientResourcesResult.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(errorResultEClass, ErrorResult.class, "ErrorResult", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getErrorResult_Message(), ecorePackage.getEString(), "message", null, 1, 1, ErrorResult.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(statisticsEClass, Statistics.class, "Statistics", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getStatistics_Entries(), this.getStatisticEntry(), null, "entries", null, 0, -1, Statistics.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getStatistics_TransformationTime(), ecorePackage.getEInt(), "transformationTime", "-1", 1, 1, Statistics.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getStatistics_SolverTime(), ecorePackage.getEInt(), "solverTime", "-1", 1, 1, Statistics.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getStatistics_SolverMemory(), ecorePackage.getEInt(), "solverMemory", "-1", 0, 1, Statistics.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(statisticEntryEClass, StatisticEntry.class, "StatisticEntry", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getStatisticEntry_Name(), ecorePackage.getEString(), "name", null, 1, 1, StatisticEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(undecidableResultEClass, UndecidableResult.class, "UndecidableResult", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(intStatisticEntryEClass, IntStatisticEntry.class, "IntStatisticEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getIntStatisticEntry_Value(), ecorePackage.getEInt(), "value", null, 1, 1, IntStatisticEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(realStatisticEntryEClass, RealStatisticEntry.class, "RealStatisticEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getRealStatisticEntry_Value(), ecorePackage.getEDouble(), "value", null, 1, 1, RealStatisticEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(stringStatisticEntryEClass, StringStatisticEntry.class, "StringStatisticEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getStringStatisticEntry_Value(), ecorePackage.getEString(), "value", "Unfilled", 1, 1, StringStatisticEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + // Create resource + createResource(eNS_URI); + } + +} //LogicresultPackageImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/ModelResultImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/ModelResultImpl.java new file mode 100644 index 00000000..63a15a81 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/ModelResultImpl.java @@ -0,0 +1,216 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage; +import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ModelResult; + +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 'Model Result'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.ModelResultImpl#getMaxInteger Max Integer}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.ModelResultImpl#getMinInteger Min Integer}
  • + *
+ * + * @generated + */ +public class ModelResultImpl extends LogicResultImpl implements ModelResult { + /** + * The default value of the '{@link #getMaxInteger() Max Integer}' attribute. + * + * + * @see #getMaxInteger() + * @generated + * @ordered + */ + protected static final int MAX_INTEGER_EDEFAULT = 0; + + /** + * The cached value of the '{@link #getMaxInteger() Max Integer}' attribute. + * + * + * @see #getMaxInteger() + * @generated + * @ordered + */ + protected int maxInteger = MAX_INTEGER_EDEFAULT; + + /** + * The default value of the '{@link #getMinInteger() Min Integer}' attribute. + * + * + * @see #getMinInteger() + * @generated + * @ordered + */ + protected static final int MIN_INTEGER_EDEFAULT = 0; + + /** + * The cached value of the '{@link #getMinInteger() Min Integer}' attribute. + * + * + * @see #getMinInteger() + * @generated + * @ordered + */ + protected int minInteger = MIN_INTEGER_EDEFAULT; + + /** + * + * + * @generated + */ + protected ModelResultImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogicresultPackage.Literals.MODEL_RESULT; + } + + /** + * + * + * @generated + */ + public int getMaxInteger() { + return maxInteger; + } + + /** + * + * + * @generated + */ + public void setMaxInteger(int newMaxInteger) { + int oldMaxInteger = maxInteger; + maxInteger = newMaxInteger; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, LogicresultPackage.MODEL_RESULT__MAX_INTEGER, oldMaxInteger, maxInteger)); + } + + /** + * + * + * @generated + */ + public int getMinInteger() { + return minInteger; + } + + /** + * + * + * @generated + */ + public void setMinInteger(int newMinInteger) { + int oldMinInteger = minInteger; + minInteger = newMinInteger; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, LogicresultPackage.MODEL_RESULT__MIN_INTEGER, oldMinInteger, minInteger)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case LogicresultPackage.MODEL_RESULT__MAX_INTEGER: + return getMaxInteger(); + case LogicresultPackage.MODEL_RESULT__MIN_INTEGER: + return getMinInteger(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case LogicresultPackage.MODEL_RESULT__MAX_INTEGER: + setMaxInteger((Integer)newValue); + return; + case LogicresultPackage.MODEL_RESULT__MIN_INTEGER: + setMinInteger((Integer)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case LogicresultPackage.MODEL_RESULT__MAX_INTEGER: + setMaxInteger(MAX_INTEGER_EDEFAULT); + return; + case LogicresultPackage.MODEL_RESULT__MIN_INTEGER: + setMinInteger(MIN_INTEGER_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case LogicresultPackage.MODEL_RESULT__MAX_INTEGER: + return maxInteger != MAX_INTEGER_EDEFAULT; + case LogicresultPackage.MODEL_RESULT__MIN_INTEGER: + return minInteger != MIN_INTEGER_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (maxInteger: "); + result.append(maxInteger); + result.append(", minInteger: "); + result.append(minInteger); + result.append(')'); + return result.toString(); + } + +} //ModelResultImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/RealStatisticEntryImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/RealStatisticEntryImpl.java new file mode 100644 index 00000000..ed09f0df --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/RealStatisticEntryImpl.java @@ -0,0 +1,162 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage; +import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.RealStatisticEntry; + +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 Statistic Entry'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.RealStatisticEntryImpl#getValue Value}
  • + *
+ * + * @generated + */ +public class RealStatisticEntryImpl extends StatisticEntryImpl implements RealStatisticEntry { + /** + * The default value of the '{@link #getValue() Value}' attribute. + * + * + * @see #getValue() + * @generated + * @ordered + */ + protected static final double VALUE_EDEFAULT = 0.0; + + /** + * The cached value of the '{@link #getValue() Value}' attribute. + * + * + * @see #getValue() + * @generated + * @ordered + */ + protected double value = VALUE_EDEFAULT; + + /** + * + * + * @generated + */ + protected RealStatisticEntryImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogicresultPackage.Literals.REAL_STATISTIC_ENTRY; + } + + /** + * + * + * @generated + */ + public double getValue() { + return value; + } + + /** + * + * + * @generated + */ + public void setValue(double newValue) { + double oldValue = value; + value = newValue; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, LogicresultPackage.REAL_STATISTIC_ENTRY__VALUE, oldValue, value)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case LogicresultPackage.REAL_STATISTIC_ENTRY__VALUE: + return getValue(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case LogicresultPackage.REAL_STATISTIC_ENTRY__VALUE: + setValue((Double)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case LogicresultPackage.REAL_STATISTIC_ENTRY__VALUE: + setValue(VALUE_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case LogicresultPackage.REAL_STATISTIC_ENTRY__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(); + } + +} //RealStatisticEntryImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/StatisticEntryImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/StatisticEntryImpl.java new file mode 100644 index 00000000..bc1c5a92 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/StatisticEntryImpl.java @@ -0,0 +1,163 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage; +import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.StatisticEntry; + +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 'Statistic Entry'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.StatisticEntryImpl#getName Name}
  • + *
+ * + * @generated + */ +public abstract class StatisticEntryImpl extends MinimalEObjectImpl.Container implements StatisticEntry { + /** + * 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 StatisticEntryImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogicresultPackage.Literals.STATISTIC_ENTRY; + } + + /** + * + * + * @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, LogicresultPackage.STATISTIC_ENTRY__NAME, oldName, name)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case LogicresultPackage.STATISTIC_ENTRY__NAME: + return getName(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case LogicresultPackage.STATISTIC_ENTRY__NAME: + setName((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case LogicresultPackage.STATISTIC_ENTRY__NAME: + setName(NAME_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case LogicresultPackage.STATISTIC_ENTRY__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(); + } + +} //StatisticEntryImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/StatisticsImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/StatisticsImpl.java new file mode 100644 index 00000000..77d43c97 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/StatisticsImpl.java @@ -0,0 +1,330 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage; +import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.StatisticEntry; +import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.Statistics; + +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.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +/** + * + * An implementation of the model object 'Statistics'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.StatisticsImpl#getEntries Entries}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.StatisticsImpl#getTransformationTime Transformation Time}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.StatisticsImpl#getSolverTime Solver Time}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.StatisticsImpl#getSolverMemory Solver Memory}
  • + *
+ * + * @generated + */ +public class StatisticsImpl extends MinimalEObjectImpl.Container implements Statistics { + /** + * The cached value of the '{@link #getEntries() Entries}' containment reference list. + * + * + * @see #getEntries() + * @generated + * @ordered + */ + protected EList entries; + + /** + * The default value of the '{@link #getTransformationTime() Transformation Time}' attribute. + * + * + * @see #getTransformationTime() + * @generated + * @ordered + */ + protected static final int TRANSFORMATION_TIME_EDEFAULT = -1; + + /** + * The cached value of the '{@link #getTransformationTime() Transformation Time}' attribute. + * + * + * @see #getTransformationTime() + * @generated + * @ordered + */ + protected int transformationTime = TRANSFORMATION_TIME_EDEFAULT; + + /** + * The default value of the '{@link #getSolverTime() Solver Time}' attribute. + * + * + * @see #getSolverTime() + * @generated + * @ordered + */ + protected static final int SOLVER_TIME_EDEFAULT = -1; + + /** + * The cached value of the '{@link #getSolverTime() Solver Time}' attribute. + * + * + * @see #getSolverTime() + * @generated + * @ordered + */ + protected int solverTime = SOLVER_TIME_EDEFAULT; + + /** + * The default value of the '{@link #getSolverMemory() Solver Memory}' attribute. + * + * + * @see #getSolverMemory() + * @generated + * @ordered + */ + protected static final int SOLVER_MEMORY_EDEFAULT = -1; + + /** + * The cached value of the '{@link #getSolverMemory() Solver Memory}' attribute. + * + * + * @see #getSolverMemory() + * @generated + * @ordered + */ + protected int solverMemory = SOLVER_MEMORY_EDEFAULT; + + /** + * + * + * @generated + */ + protected StatisticsImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogicresultPackage.Literals.STATISTICS; + } + + /** + * + * + * @generated + */ + public EList getEntries() { + if (entries == null) { + entries = new EObjectContainmentEList(StatisticEntry.class, this, LogicresultPackage.STATISTICS__ENTRIES); + } + return entries; + } + + /** + * + * + * @generated + */ + public int getTransformationTime() { + return transformationTime; + } + + /** + * + * + * @generated + */ + public void setTransformationTime(int newTransformationTime) { + int oldTransformationTime = transformationTime; + transformationTime = newTransformationTime; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, LogicresultPackage.STATISTICS__TRANSFORMATION_TIME, oldTransformationTime, transformationTime)); + } + + /** + * + * + * @generated + */ + public int getSolverTime() { + return solverTime; + } + + /** + * + * + * @generated + */ + public void setSolverTime(int newSolverTime) { + int oldSolverTime = solverTime; + solverTime = newSolverTime; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, LogicresultPackage.STATISTICS__SOLVER_TIME, oldSolverTime, solverTime)); + } + + /** + * + * + * @generated + */ + public int getSolverMemory() { + return solverMemory; + } + + /** + * + * + * @generated + */ + public void setSolverMemory(int newSolverMemory) { + int oldSolverMemory = solverMemory; + solverMemory = newSolverMemory; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, LogicresultPackage.STATISTICS__SOLVER_MEMORY, oldSolverMemory, solverMemory)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case LogicresultPackage.STATISTICS__ENTRIES: + return ((InternalEList)getEntries()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case LogicresultPackage.STATISTICS__ENTRIES: + return getEntries(); + case LogicresultPackage.STATISTICS__TRANSFORMATION_TIME: + return getTransformationTime(); + case LogicresultPackage.STATISTICS__SOLVER_TIME: + return getSolverTime(); + case LogicresultPackage.STATISTICS__SOLVER_MEMORY: + return getSolverMemory(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case LogicresultPackage.STATISTICS__ENTRIES: + getEntries().clear(); + getEntries().addAll((Collection)newValue); + return; + case LogicresultPackage.STATISTICS__TRANSFORMATION_TIME: + setTransformationTime((Integer)newValue); + return; + case LogicresultPackage.STATISTICS__SOLVER_TIME: + setSolverTime((Integer)newValue); + return; + case LogicresultPackage.STATISTICS__SOLVER_MEMORY: + setSolverMemory((Integer)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case LogicresultPackage.STATISTICS__ENTRIES: + getEntries().clear(); + return; + case LogicresultPackage.STATISTICS__TRANSFORMATION_TIME: + setTransformationTime(TRANSFORMATION_TIME_EDEFAULT); + return; + case LogicresultPackage.STATISTICS__SOLVER_TIME: + setSolverTime(SOLVER_TIME_EDEFAULT); + return; + case LogicresultPackage.STATISTICS__SOLVER_MEMORY: + setSolverMemory(SOLVER_MEMORY_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case LogicresultPackage.STATISTICS__ENTRIES: + return entries != null && !entries.isEmpty(); + case LogicresultPackage.STATISTICS__TRANSFORMATION_TIME: + return transformationTime != TRANSFORMATION_TIME_EDEFAULT; + case LogicresultPackage.STATISTICS__SOLVER_TIME: + return solverTime != SOLVER_TIME_EDEFAULT; + case LogicresultPackage.STATISTICS__SOLVER_MEMORY: + return solverMemory != SOLVER_MEMORY_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (transformationTime: "); + result.append(transformationTime); + result.append(", solverTime: "); + result.append(solverTime); + result.append(", solverMemory: "); + result.append(solverMemory); + result.append(')'); + return result.toString(); + } + +} //StatisticsImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/StringStatisticEntryImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/StringStatisticEntryImpl.java new file mode 100644 index 00000000..8698f73b --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/StringStatisticEntryImpl.java @@ -0,0 +1,162 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage; +import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.StringStatisticEntry; + +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 'String Statistic Entry'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl.StringStatisticEntryImpl#getValue Value}
  • + *
+ * + * @generated + */ +public class StringStatisticEntryImpl extends StatisticEntryImpl implements StringStatisticEntry { + /** + * The default value of the '{@link #getValue() Value}' attribute. + * + * + * @see #getValue() + * @generated + * @ordered + */ + protected static final String VALUE_EDEFAULT = "Unfilled"; + + /** + * The cached value of the '{@link #getValue() Value}' attribute. + * + * + * @see #getValue() + * @generated + * @ordered + */ + protected String value = VALUE_EDEFAULT; + + /** + * + * + * @generated + */ + protected StringStatisticEntryImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogicresultPackage.Literals.STRING_STATISTIC_ENTRY; + } + + /** + * + * + * @generated + */ + public String getValue() { + return value; + } + + /** + * + * + * @generated + */ + public void setValue(String newValue) { + String oldValue = value; + value = newValue; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, LogicresultPackage.STRING_STATISTIC_ENTRY__VALUE, oldValue, value)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case LogicresultPackage.STRING_STATISTIC_ENTRY__VALUE: + return getValue(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case LogicresultPackage.STRING_STATISTIC_ENTRY__VALUE: + setValue((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case LogicresultPackage.STRING_STATISTIC_ENTRY__VALUE: + setValue(VALUE_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case LogicresultPackage.STRING_STATISTIC_ENTRY__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(); + } + +} //StringStatisticEntryImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/UndecidableResultImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/UndecidableResultImpl.java new file mode 100644 index 00000000..12da9c45 --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/UndecidableResultImpl.java @@ -0,0 +1,37 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage; +import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.UndecidableResult; + +import org.eclipse.emf.ecore.EClass; + +/** + * + * An implementation of the model object 'Undecidable Result'. + * + * + * @generated + */ +public class UndecidableResultImpl extends UnknownResultImpl implements UndecidableResult { + /** + * + * + * @generated + */ + protected UndecidableResultImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogicresultPackage.Literals.UNDECIDABLE_RESULT; + } + +} //UndecidableResultImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/UnknownResultImpl.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/UnknownResultImpl.java new file mode 100644 index 00000000..2f8b416e --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/impl/UnknownResultImpl.java @@ -0,0 +1,37 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logicresult.impl; + +import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicresultPackage; +import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.UnknownResult; + +import org.eclipse.emf.ecore.EClass; + +/** + * + * An implementation of the model object 'Unknown Result'. + * + * + * @generated + */ +public abstract class UnknownResultImpl extends LogicResultImpl implements UnknownResult { + /** + * + * + * @generated + */ + protected UnknownResultImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return LogicresultPackage.Literals.UNKNOWN_RESULT; + } + +} //UnknownResultImpl diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/util/LogicresultAdapterFactory.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/util/LogicresultAdapterFactory.java new file mode 100644 index 00000000..4b624c4d --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/util/LogicresultAdapterFactory.java @@ -0,0 +1,318 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logicresult.util; + +import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.*; + +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.logicresult.LogicresultPackage + * @generated + */ +public class LogicresultAdapterFactory extends AdapterFactoryImpl { + /** + * The cached model package. + * + * + * @generated + */ + protected static LogicresultPackage modelPackage; + + /** + * Creates an instance of the adapter factory. + * + * + * @generated + */ + public LogicresultAdapterFactory() { + if (modelPackage == null) { + modelPackage = LogicresultPackage.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 LogicresultSwitch modelSwitch = + new LogicresultSwitch() { + @Override + public Adapter caseLogicResult(LogicResult object) { + return createLogicResultAdapter(); + } + @Override + public Adapter caseModelResult(ModelResult object) { + return createModelResultAdapter(); + } + @Override + public Adapter caseInconsistencyResult(InconsistencyResult object) { + return createInconsistencyResultAdapter(); + } + @Override + public Adapter caseUnknownResult(UnknownResult object) { + return createUnknownResultAdapter(); + } + @Override + public Adapter caseInsuficientResourcesResult(InsuficientResourcesResult object) { + return createInsuficientResourcesResultAdapter(); + } + @Override + public Adapter caseErrorResult(ErrorResult object) { + return createErrorResultAdapter(); + } + @Override + public Adapter caseStatistics(Statistics object) { + return createStatisticsAdapter(); + } + @Override + public Adapter caseStatisticEntry(StatisticEntry object) { + return createStatisticEntryAdapter(); + } + @Override + public Adapter caseUndecidableResult(UndecidableResult object) { + return createUndecidableResultAdapter(); + } + @Override + public Adapter caseIntStatisticEntry(IntStatisticEntry object) { + return createIntStatisticEntryAdapter(); + } + @Override + public Adapter caseRealStatisticEntry(RealStatisticEntry object) { + return createRealStatisticEntryAdapter(); + } + @Override + public Adapter caseStringStatisticEntry(StringStatisticEntry object) { + return createStringStatisticEntryAdapter(); + } + @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.logicresult.LogicResult Logic Result}'. + * + * 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.logicresult.LogicResult + * @generated + */ + public Adapter createLogicResultAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ModelResult Model Result}'. + * + * 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.logicresult.ModelResult + * @generated + */ + public Adapter createModelResultAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.InconsistencyResult Inconsistency Result}'. + * + * 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.logicresult.InconsistencyResult + * @generated + */ + public Adapter createInconsistencyResultAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.UnknownResult Unknown Result}'. + * + * 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.logicresult.UnknownResult + * @generated + */ + public Adapter createUnknownResultAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.InsuficientResourcesResult Insuficient Resources Result}'. + * + * 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.logicresult.InsuficientResourcesResult + * @generated + */ + public Adapter createInsuficientResourcesResultAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ErrorResult Error Result}'. + * + * 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.logicresult.ErrorResult + * @generated + */ + public Adapter createErrorResultAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.Statistics Statistics}'. + * + * 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.logicresult.Statistics + * @generated + */ + public Adapter createStatisticsAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.StatisticEntry Statistic Entry}'. + * + * 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.logicresult.StatisticEntry + * @generated + */ + public Adapter createStatisticEntryAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.UndecidableResult Undecidable Result}'. + * + * 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.logicresult.UndecidableResult + * @generated + */ + public Adapter createUndecidableResultAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.IntStatisticEntry Int Statistic Entry}'. + * + * 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.logicresult.IntStatisticEntry + * @generated + */ + public Adapter createIntStatisticEntryAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.RealStatisticEntry Real Statistic Entry}'. + * + * 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.logicresult.RealStatisticEntry + * @generated + */ + public Adapter createRealStatisticEntryAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.logic.model.logicresult.StringStatisticEntry String Statistic Entry}'. + * + * 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.logicresult.StringStatisticEntry + * @generated + */ + public Adapter createStringStatisticEntryAdapter() { + 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; + } + +} //LogicresultAdapterFactory diff --git a/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/util/LogicresultSwitch.java b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/util/LogicresultSwitch.java new file mode 100644 index 00000000..2cdf142b --- /dev/null +++ b/Framework/hu.bme.mit.inf.dslreasoner.logic.model/ecore-gen/hu/bme/mit/inf/dslreasoner/logic/model/logicresult/util/LogicresultSwitch.java @@ -0,0 +1,353 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.logic.model.logicresult.util; + +import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.*; + +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.logicresult.LogicresultPackage + * @generated + */ +public class LogicresultSwitch extends Switch { + /** + * The cached model package + * + * + * @generated + */ + protected static LogicresultPackage modelPackage; + + /** + * Creates an instance of the switch. + * + * + * @generated + */ + public LogicresultSwitch() { + if (modelPackage == null) { + modelPackage = LogicresultPackage.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 LogicresultPackage.LOGIC_RESULT: { + LogicResult logicResult = (LogicResult)theEObject; + T result = caseLogicResult(logicResult); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogicresultPackage.MODEL_RESULT: { + ModelResult modelResult = (ModelResult)theEObject; + T result = caseModelResult(modelResult); + if (result == null) result = caseLogicResult(modelResult); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogicresultPackage.INCONSISTENCY_RESULT: { + InconsistencyResult inconsistencyResult = (InconsistencyResult)theEObject; + T result = caseInconsistencyResult(inconsistencyResult); + if (result == null) result = caseLogicResult(inconsistencyResult); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogicresultPackage.UNKNOWN_RESULT: { + UnknownResult unknownResult = (UnknownResult)theEObject; + T result = caseUnknownResult(unknownResult); + if (result == null) result = caseLogicResult(unknownResult); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogicresultPackage.INSUFICIENT_RESOURCES_RESULT: { + InsuficientResourcesResult insuficientResourcesResult = (InsuficientResourcesResult)theEObject; + T result = caseInsuficientResourcesResult(insuficientResourcesResult); + if (result == null) result = caseUnknownResult(insuficientResourcesResult); + if (result == null) result = caseLogicResult(insuficientResourcesResult); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogicresultPackage.ERROR_RESULT: { + ErrorResult errorResult = (ErrorResult)theEObject; + T result = caseErrorResult(errorResult); + if (result == null) result = caseUnknownResult(errorResult); + if (result == null) result = caseLogicResult(errorResult); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogicresultPackage.STATISTICS: { + Statistics statistics = (Statistics)theEObject; + T result = caseStatistics(statistics); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogicresultPackage.STATISTIC_ENTRY: { + StatisticEntry statisticEntry = (StatisticEntry)theEObject; + T result = caseStatisticEntry(statisticEntry); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogicresultPackage.UNDECIDABLE_RESULT: { + UndecidableResult undecidableResult = (UndecidableResult)theEObject; + T result = caseUndecidableResult(undecidableResult); + if (result == null) result = caseUnknownResult(undecidableResult); + if (result == null) result = caseLogicResult(undecidableResult); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogicresultPackage.INT_STATISTIC_ENTRY: { + IntStatisticEntry intStatisticEntry = (IntStatisticEntry)theEObject; + T result = caseIntStatisticEntry(intStatisticEntry); + if (result == null) result = caseStatisticEntry(intStatisticEntry); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogicresultPackage.REAL_STATISTIC_ENTRY: { + RealStatisticEntry realStatisticEntry = (RealStatisticEntry)theEObject; + T result = caseRealStatisticEntry(realStatisticEntry); + if (result == null) result = caseStatisticEntry(realStatisticEntry); + if (result == null) result = defaultCase(theEObject); + return result; + } + case LogicresultPackage.STRING_STATISTIC_ENTRY: { + StringStatisticEntry stringStatisticEntry = (StringStatisticEntry)theEObject; + T result = caseStringStatisticEntry(stringStatisticEntry); + if (result == null) result = caseStatisticEntry(stringStatisticEntry); + if (result == null) result = defaultCase(theEObject); + return result; + } + default: return defaultCase(theEObject); + } + } + + /** + * Returns the result of interpreting the object as an instance of 'Logic Result'. + * + * 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 'Logic Result'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseLogicResult(LogicResult object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Model Result'. + * + * 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 'Model Result'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseModelResult(ModelResult object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Inconsistency Result'. + * + * 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 'Inconsistency Result'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseInconsistencyResult(InconsistencyResult object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Unknown Result'. + * + * 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 Result'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseUnknownResult(UnknownResult object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Insuficient Resources Result'. + * + * 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 'Insuficient Resources Result'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseInsuficientResourcesResult(InsuficientResourcesResult object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Error Result'. + * + * 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 'Error Result'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseErrorResult(ErrorResult object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Statistics'. + * + * 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 'Statistics'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseStatistics(Statistics object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Statistic Entry'. + * + * 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 'Statistic Entry'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseStatisticEntry(StatisticEntry object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Undecidable Result'. + * + * 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 'Undecidable Result'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseUndecidableResult(UndecidableResult object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Int Statistic Entry'. + * + * 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 Statistic Entry'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseIntStatisticEntry(IntStatisticEntry object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Real Statistic Entry'. + * + * 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 Statistic Entry'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseRealStatisticEntry(RealStatisticEntry object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'String Statistic Entry'. + * + * 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 'String Statistic Entry'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseStringStatisticEntry(StringStatisticEntry 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; + } + +} //LogicresultSwitch -- cgit v1.2.3-54-g00ecf