/**
*/
package hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.util;
import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.DefinedElement;
import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.SymbolicDeclaration;
import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TermDescription;
import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.*;
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.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialinterpretationPackage
* @generated
*/
public class PartialinterpretationAdapterFactory extends AdapterFactoryImpl {
/**
* The cached model package.
*
*
* @generated
*/
protected static PartialinterpretationPackage modelPackage;
/**
* Creates an instance of the adapter factory.
*
*
* @generated
*/
public PartialinterpretationAdapterFactory() {
if (modelPackage == null) {
modelPackage = PartialinterpretationPackage.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 PartialinterpretationSwitch modelSwitch =
new PartialinterpretationSwitch() {
@Override
public Adapter casePartialInterpretation(PartialInterpretation object) {
return createPartialInterpretationAdapter();
}
@Override
public Adapter casePartialConstantInterpretation(PartialConstantInterpretation object) {
return createPartialConstantInterpretationAdapter();
}
@Override
public Adapter casePartialRelationInterpretation(PartialRelationInterpretation object) {
return createPartialRelationInterpretationAdapter();
}
@Override
public Adapter casePartialFunctionInterpretation(PartialFunctionInterpretation object) {
return createPartialFunctionInterpretationAdapter();
}
@Override
public Adapter casePartialTypeInterpratation(PartialTypeInterpratation object) {
return createPartialTypeInterpratationAdapter();
}
@Override
public Adapter caseRelationLink(RelationLink object) {
return createRelationLinkAdapter();
}
@Override
public Adapter caseUnaryElementRelationLink(UnaryElementRelationLink object) {
return createUnaryElementRelationLinkAdapter();
}
@Override
public Adapter caseBinaryElementRelationLink(BinaryElementRelationLink object) {
return createBinaryElementRelationLinkAdapter();
}
@Override
public Adapter caseNaryRelationLink(NaryRelationLink object) {
return createNaryRelationLinkAdapter();
}
@Override
public Adapter caseNaryRelationLinkElement(NaryRelationLinkElement object) {
return createNaryRelationLinkElementAdapter();
}
@Override
public Adapter casePrimitiveElement(PrimitiveElement object) {
return createPrimitiveElementAdapter();
}
@Override
public Adapter caseBooleanElement(BooleanElement object) {
return createBooleanElementAdapter();
}
@Override
public Adapter caseIntegerElement(IntegerElement object) {
return createIntegerElementAdapter();
}
@Override
public Adapter caseRealElement(RealElement object) {
return createRealElementAdapter();
}
@Override
public Adapter caseStringElement(StringElement object) {
return createStringElementAdapter();
}
@Override
public Adapter caseTermDescription(TermDescription object) {
return createTermDescriptionAdapter();
}
@Override
public Adapter caseSymbolicDeclaration(SymbolicDeclaration object) {
return createSymbolicDeclarationAdapter();
}
@Override
public Adapter caseDefinedElement(DefinedElement object) {
return createDefinedElementAdapter();
}
@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.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialInterpretation Partial Interpretation}'.
*
* 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.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialInterpretation
* @generated
*/
public Adapter createPartialInterpretationAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialConstantInterpretation Partial Constant Interpretation}'.
*
* 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.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialConstantInterpretation
* @generated
*/
public Adapter createPartialConstantInterpretationAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialRelationInterpretation Partial Relation Interpretation}'.
*
* 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.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialRelationInterpretation
* @generated
*/
public Adapter createPartialRelationInterpretationAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialFunctionInterpretation Partial Function Interpretation}'.
*
* 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.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialFunctionInterpretation
* @generated
*/
public Adapter createPartialFunctionInterpretationAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialTypeInterpratation Partial Type Interpratation}'.
*
* 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.viatrasolver.partialinterpretationlanguage.partialinterpretation.PartialTypeInterpratation
* @generated
*/
public Adapter createPartialTypeInterpratationAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.RelationLink Relation Link}'.
*
* 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.viatrasolver.partialinterpretationlanguage.partialinterpretation.RelationLink
* @generated
*/
public Adapter createRelationLinkAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.UnaryElementRelationLink Unary Element Relation Link}'.
*
* 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.viatrasolver.partialinterpretationlanguage.partialinterpretation.UnaryElementRelationLink
* @generated
*/
public Adapter createUnaryElementRelationLinkAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.BinaryElementRelationLink Binary Element Relation Link}'.
*
* 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.viatrasolver.partialinterpretationlanguage.partialinterpretation.BinaryElementRelationLink
* @generated
*/
public Adapter createBinaryElementRelationLinkAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.NaryRelationLink Nary Relation Link}'.
*
* 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.viatrasolver.partialinterpretationlanguage.partialinterpretation.NaryRelationLink
* @generated
*/
public Adapter createNaryRelationLinkAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.NaryRelationLinkElement Nary Relation Link 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.viatrasolver.partialinterpretationlanguage.partialinterpretation.NaryRelationLinkElement
* @generated
*/
public Adapter createNaryRelationLinkElementAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.PrimitiveElement Primitive 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.viatrasolver.partialinterpretationlanguage.partialinterpretation.PrimitiveElement
* @generated
*/
public Adapter createPrimitiveElementAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.BooleanElement Boolean 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.viatrasolver.partialinterpretationlanguage.partialinterpretation.BooleanElement
* @generated
*/
public Adapter createBooleanElementAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.IntegerElement Integer 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.viatrasolver.partialinterpretationlanguage.partialinterpretation.IntegerElement
* @generated
*/
public Adapter createIntegerElementAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.RealElement Real 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.viatrasolver.partialinterpretationlanguage.partialinterpretation.RealElement
* @generated
*/
public Adapter createRealElementAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage.partialinterpretation.StringElement String 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.viatrasolver.partialinterpretationlanguage.partialinterpretation.StringElement
* @generated
*/
public Adapter createStringElementAdapter() {
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.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.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 the default case.
*
* This default implementation returns null.
*
* @return the new adapter.
* @generated
*/
public Adapter createEObjectAdapter() {
return null;
}
} //PartialinterpretationAdapterFactory