/**
*/
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