public class TacticdslSwitch<T>
extends org.eclipse.emf.ecore.util.Switch<T>
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.
TacticdslPackage| Modifier and Type | Field and Description |
|---|---|
protected static TacticdslPackage |
modelPackage
The cached model package
|
| Constructor and Description |
|---|
TacticdslSwitch()
Creates an instance of the switch.
|
| Modifier and Type | Method and Description |
|---|---|
T |
caseAnyProperty(AnyProperty object)
Returns the result of interpreting the object as an instance of 'Any Property'.
|
T |
caseApplication(Application object)
Returns the result of interpreting the object as an instance of 'Application'.
|
T |
caseAttribute(Attribute object)
Returns the result of interpreting the object as an instance of 'Attribute'.
|
T |
caseBasicType(BasicType object)
Returns the result of interpreting the object as an instance of 'Basic Type'.
|
T |
caseCommandEvent(CommandEvent object)
Returns the result of interpreting the object as an instance of 'Command Event'.
|
T |
caseComplexType(ComplexType object)
Returns the result of interpreting the object as an instance of 'Complex Type'.
|
T |
caseConsumer(Consumer object)
Returns the result of interpreting the object as an instance of 'Consumer'.
|
T |
caseDataTransferObject(DataTransferObject object)
Returns the result of interpreting the object as an instance of 'Data Transfer Object'.
|
T |
caseDependency(Dependency object)
Returns the result of interpreting the object as an instance of 'Dependency'.
|
T |
caseDomainEvent(DomainEvent object)
Returns the result of interpreting the object as an instance of 'Domain Event'.
|
T |
caseDomainObject(DomainObject object)
Returns the result of interpreting the object as an instance of 'Domain Object'.
|
T |
caseDomainObjectOperation(DomainObjectOperation object)
Returns the result of interpreting the object as an instance of 'Domain Object Operation'.
|
T |
caseDomainObjectTypedElement(DomainObjectTypedElement object)
Returns the result of interpreting the object as an instance of 'Domain Object Typed Element'.
|
T |
caseDtoAttribute(DtoAttribute object)
Returns the result of interpreting the object as an instance of 'Dto Attribute'.
|
T |
caseDtoProperty(DtoProperty object)
Returns the result of interpreting the object as an instance of 'Dto Property'.
|
T |
caseDtoReference(DtoReference object)
Returns the result of interpreting the object as an instance of 'Dto Reference'.
|
T |
caseEntity(Entity object)
Returns the result of interpreting the object as an instance of 'Entity'.
|
T |
caseEnum(Enum object)
Returns the result of interpreting the object as an instance of 'Enum'.
|
T |
caseEnumAttribute(EnumAttribute object)
Returns the result of interpreting the object as an instance of 'Enum Attribute'.
|
T |
caseEnumParameter(EnumParameter object)
Returns the result of interpreting the object as an instance of 'Enum Parameter'.
|
T |
caseEnumValue(EnumValue object)
Returns the result of interpreting the object as an instance of 'Enum Value'.
|
T |
caseEvent(Event object)
Returns the result of interpreting the object as an instance of 'Event'.
|
T |
caseImport(Import object)
Returns the result of interpreting the object as an instance of 'Import'.
|
T |
caseOppositeHolder(OppositeHolder object)
Returns the result of interpreting the object as an instance of 'Opposite Holder'.
|
T |
caseParameter(Parameter object)
Returns the result of interpreting the object as an instance of 'Parameter'.
|
T |
caseProperty(Property object)
Returns the result of interpreting the object as an instance of 'Property'.
|
T |
casePublish(Publish object)
Returns the result of interpreting the object as an instance of 'Publish'.
|
T |
caseReference(Reference object)
Returns the result of interpreting the object as an instance of 'Reference'.
|
T |
caseRepository(Repository object)
Returns the result of interpreting the object as an instance of 'Repository'.
|
T |
caseRepositoryOperation(RepositoryOperation object)
Returns the result of interpreting the object as an instance of 'Repository Operation'.
|
T |
caseResource(Resource object)
Returns the result of interpreting the object as an instance of 'Resource'.
|
T |
caseResourceOperation(ResourceOperation object)
Returns the result of interpreting the object as an instance of 'Resource Operation'.
|
T |
caseResourceOperationDelegate(ResourceOperationDelegate object)
Returns the result of interpreting the object as an instance of 'Resource Operation Delegate'.
|
T |
caseService(Service object)
Returns the result of interpreting the object as an instance of 'Service'.
|
T |
caseServiceDependency(ServiceDependency object)
Returns the result of interpreting the object as an instance of 'Service Dependency'.
|
T |
caseServiceOperation(ServiceOperation object)
Returns the result of interpreting the object as an instance of 'Service Operation'.
|
T |
caseServiceOperationDelegate(ServiceOperationDelegate object)
Returns the result of interpreting the object as an instance of 'Service Operation Delegate'.
|
T |
caseServiceRepositoryOperationOption(ServiceRepositoryOperationOption object)
Returns the result of interpreting the object as an instance of 'Service Repository Operation Option'.
|
T |
caseServiceRepositoryOption(ServiceRepositoryOption object)
Returns the result of interpreting the object as an instance of 'Service Repository Option'.
|
T |
caseSimpleDomainObject(SimpleDomainObject object)
Returns the result of interpreting the object as an instance of 'Simple Domain Object'.
|
T |
caseSubscribe(Subscribe object)
Returns the result of interpreting the object as an instance of 'Subscribe'.
|
T |
caseTacticDDDModel(TacticDDDModel object)
Returns the result of interpreting the object as an instance of 'Tactic DDD Model'.
|
T |
caseTrait(Trait object)
Returns the result of interpreting the object as an instance of 'Trait'.
|
T |
caseValueObject(ValueObject object)
Returns the result of interpreting the object as an instance of 'Value Object'.
|
T |
defaultCase(org.eclipse.emf.ecore.EObject object)
Returns the result of interpreting the object as an instance of 'EObject'.
|
protected T |
doSwitch(int classifierID,
org.eclipse.emf.ecore.EObject theEObject)
Calls
caseXXX for each class of the model until one returns a non null result; it yields that result. |
protected boolean |
isSwitchFor(org.eclipse.emf.ecore.EPackage ePackage)
Checks whether this is a switch for the given package.
|
protected static TacticdslPackage modelPackage
protected boolean isSwitchFor(org.eclipse.emf.ecore.EPackage ePackage)
isSwitchFor in class org.eclipse.emf.ecore.util.Switch<T>ePackage - the package in question.protected T doSwitch(int classifierID, org.eclipse.emf.ecore.EObject theEObject)
caseXXX for each class of the model until one returns a non null result; it yields that result.
doSwitch in class org.eclipse.emf.ecore.util.Switch<T>caseXXX call.public T caseTacticDDDModel(TacticDDDModel object)
object - the target of the switch.doSwitch(EObject)public T caseImport(Import object)
object - the target of the switch.doSwitch(EObject)public T caseApplication(Application object)
object - the target of the switch.doSwitch(EObject)public T caseService(Service object)
object - the target of the switch.doSwitch(EObject)public T caseResource(Resource object)
object - the target of the switch.doSwitch(EObject)public T caseConsumer(Consumer object)
object - the target of the switch.doSwitch(EObject)public T caseSubscribe(Subscribe object)
object - the target of the switch.doSwitch(EObject)public T casePublish(Publish object)
object - the target of the switch.doSwitch(EObject)public T caseEvent(Event object)
object - the target of the switch.doSwitch(EObject)public T caseDomainObjectTypedElement(DomainObjectTypedElement object)
object - the target of the switch.doSwitch(EObject)public T caseServiceOperation(ServiceOperation object)
object - the target of the switch.doSwitch(EObject)public T caseServiceOperationDelegate(ServiceOperationDelegate object)
object - the target of the switch.doSwitch(EObject)public T caseServiceRepositoryOption(ServiceRepositoryOption object)
object - the target of the switch.doSwitch(EObject)public T caseServiceRepositoryOperationOption(ServiceRepositoryOperationOption object)
object - the target of the switch.doSwitch(EObject)public T caseResourceOperation(ResourceOperation object)
object - the target of the switch.doSwitch(EObject)public T caseResourceOperationDelegate(ResourceOperationDelegate object)
object - the target of the switch.doSwitch(EObject)public T caseRepositoryOperation(RepositoryOperation object)
object - the target of the switch.doSwitch(EObject)public T caseParameter(Parameter object)
object - the target of the switch.doSwitch(EObject)public T caseComplexType(ComplexType object)
object - the target of the switch.doSwitch(EObject)public T caseSimpleDomainObject(SimpleDomainObject object)
object - the target of the switch.doSwitch(EObject)public T caseDomainObject(DomainObject object)
object - the target of the switch.doSwitch(EObject)public T caseEntity(Entity object)
object - the target of the switch.doSwitch(EObject)public T caseValueObject(ValueObject object)
object - the target of the switch.doSwitch(EObject)public T caseDomainEvent(DomainEvent object)
object - the target of the switch.doSwitch(EObject)public T caseCommandEvent(CommandEvent object)
object - the target of the switch.doSwitch(EObject)public T caseTrait(Trait object)
object - the target of the switch.doSwitch(EObject)public T caseDomainObjectOperation(DomainObjectOperation object)
object - the target of the switch.doSwitch(EObject)public T caseDataTransferObject(DataTransferObject object)
object - the target of the switch.doSwitch(EObject)public T caseBasicType(BasicType object)
object - the target of the switch.doSwitch(EObject)public T caseAttribute(Attribute object)
object - the target of the switch.doSwitch(EObject)public T caseReference(Reference object)
object - the target of the switch.doSwitch(EObject)public T caseDtoAttribute(DtoAttribute object)
object - the target of the switch.doSwitch(EObject)public T caseDtoReference(DtoReference object)
object - the target of the switch.doSwitch(EObject)public T caseOppositeHolder(OppositeHolder object)
object - the target of the switch.doSwitch(EObject)public T caseRepository(Repository object)
object - the target of the switch.doSwitch(EObject)public T caseServiceDependency(ServiceDependency object)
object - the target of the switch.doSwitch(EObject)public T caseDependency(Dependency object)
object - the target of the switch.doSwitch(EObject)public T caseEnum(Enum object)
object - the target of the switch.doSwitch(EObject)public T caseEnumAttribute(EnumAttribute object)
object - the target of the switch.doSwitch(EObject)public T caseEnumValue(EnumValue object)
object - the target of the switch.doSwitch(EObject)public T caseEnumParameter(EnumParameter object)
object - the target of the switch.doSwitch(EObject)public T caseAnyProperty(AnyProperty object)
object - the target of the switch.doSwitch(EObject)public T caseProperty(Property object)
object - the target of the switch.doSwitch(EObject)public T caseDtoProperty(DtoProperty object)
object - the target of the switch.doSwitch(EObject)public T defaultCase(org.eclipse.emf.ecore.EObject object)
defaultCase in class org.eclipse.emf.ecore.util.Switch<T>object - the target of the switch.Switch.doSwitch(org.eclipse.emf.ecore.EObject)