From 60f01f46ba232ed6416054f0a6115cb2a9b70b4e Mon Sep 17 00:00:00 2001 From: OszkarSemerath Date: Sat, 10 Jun 2017 19:05:05 +0200 Subject: Migrating Additional projects --- .../impl/PartialinterpretationFactoryImpl.java | 183 +++++++++++++++++++++ 1 file changed, 183 insertions(+) create mode 100644 Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/PartialinterpretationFactoryImpl.java (limited to 'Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/PartialinterpretationFactoryImpl.java') diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/PartialinterpretationFactoryImpl.java b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/PartialinterpretationFactoryImpl.java new file mode 100644 index 00000000..99ab7830 --- /dev/null +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/ecore-gen/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/partialinterpretation/impl/PartialinterpretationFactoryImpl.java @@ -0,0 +1,183 @@ +/** + */ +package hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.impl; + +import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.*; + +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 PartialinterpretationFactoryImpl extends EFactoryImpl implements PartialinterpretationFactory { + /** + * Creates the default factory implementation. + * + * + * @generated + */ + public static PartialinterpretationFactory init() { + try { + PartialinterpretationFactory thePartialinterpretationFactory = (PartialinterpretationFactory)EPackage.Registry.INSTANCE.getEFactory(PartialinterpretationPackage.eNS_URI); + if (thePartialinterpretationFactory != null) { + return thePartialinterpretationFactory; + } + } + catch (Exception exception) { + EcorePlugin.INSTANCE.log(exception); + } + return new PartialinterpretationFactoryImpl(); + } + + /** + * Creates an instance of the factory. + * + * + * @generated + */ + public PartialinterpretationFactoryImpl() { + super(); + } + + /** + * + * + * @generated + */ + @Override + public EObject create(EClass eClass) { + switch (eClass.getClassifierID()) { + case PartialinterpretationPackage.PARTIAL_INTERPRETATION: return createPartialInterpretation(); + case PartialinterpretationPackage.PARTIAL_CONSTANT_INTERPRETATION: return createPartialConstantInterpretation(); + case PartialinterpretationPackage.PARTIAL_RELATION_INTERPRETATION: return createPartialRelationInterpretation(); + case PartialinterpretationPackage.PARTIAL_FUNCTION_INTERPRETATION: return createPartialFunctionInterpretation(); + case PartialinterpretationPackage.PARTIAL_TYPE_INTERPRATATION: return createPartialTypeInterpratation(); + case PartialinterpretationPackage.UNARY_ELEMENT_RELATION_LINK: return createUnaryElementRelationLink(); + case PartialinterpretationPackage.BINARY_ELEMENT_RELATION_LINK: return createBinaryElementRelationLink(); + case PartialinterpretationPackage.NARY_RELATION_LINK: return createNaryRelationLink(); + case PartialinterpretationPackage.NARY_RELATION_LINK_ELEMENT: return createNaryRelationLinkElement(); + default: + throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); + } + } + + /** + * + * + * @generated + */ + public PartialInterpretation createPartialInterpretation() { + PartialInterpretationImpl partialInterpretation = new PartialInterpretationImpl(); + return partialInterpretation; + } + + /** + * + * + * @generated + */ + public PartialConstantInterpretation createPartialConstantInterpretation() { + PartialConstantInterpretationImpl partialConstantInterpretation = new PartialConstantInterpretationImpl(); + return partialConstantInterpretation; + } + + /** + * + * + * @generated + */ + public PartialRelationInterpretation createPartialRelationInterpretation() { + PartialRelationInterpretationImpl partialRelationInterpretation = new PartialRelationInterpretationImpl(); + return partialRelationInterpretation; + } + + /** + * + * + * @generated + */ + public PartialFunctionInterpretation createPartialFunctionInterpretation() { + PartialFunctionInterpretationImpl partialFunctionInterpretation = new PartialFunctionInterpretationImpl(); + return partialFunctionInterpretation; + } + + /** + * + * + * @generated + */ + public PartialTypeInterpratation createPartialTypeInterpratation() { + PartialTypeInterpratationImpl partialTypeInterpratation = new PartialTypeInterpratationImpl(); + return partialTypeInterpratation; + } + + /** + * + * + * @generated + */ + public UnaryElementRelationLink createUnaryElementRelationLink() { + UnaryElementRelationLinkImpl unaryElementRelationLink = new UnaryElementRelationLinkImpl(); + return unaryElementRelationLink; + } + + /** + * + * + * @generated + */ + public BinaryElementRelationLink createBinaryElementRelationLink() { + BinaryElementRelationLinkImpl binaryElementRelationLink = new BinaryElementRelationLinkImpl(); + return binaryElementRelationLink; + } + + /** + * + * + * @generated + */ + public NaryRelationLink createNaryRelationLink() { + NaryRelationLinkImpl naryRelationLink = new NaryRelationLinkImpl(); + return naryRelationLink; + } + + /** + * + * + * @generated + */ + public NaryRelationLinkElement createNaryRelationLinkElement() { + NaryRelationLinkElementImpl naryRelationLinkElement = new NaryRelationLinkElementImpl(); + return naryRelationLinkElement; + } + + /** + * + * + * @generated + */ + public PartialinterpretationPackage getPartialinterpretationPackage() { + return (PartialinterpretationPackage)getEPackage(); + } + + /** + * + * + * @deprecated + * @generated + */ + @Deprecated + public static PartialinterpretationPackage getPackage() { + return PartialinterpretationPackage.eINSTANCE; + } + +} //PartialinterpretationFactoryImpl -- cgit v1.2.3-70-g09d2