public class CCDModelSwitch<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.
CCDModelPackage
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
copyright |
protected static CCDModelPackage |
modelPackage
The cached model package
|
Constructor and Description |
---|
CCDModelSwitch()
Creates an instance of the switch
|
Modifier and Type | Method and Description |
---|---|
T |
caseAction(Action object)
Returns the result of interpreting the object as an instance of 'Action'
|
T |
caseActor(Actor object)
Returns the result of interpreting the object as an instance of 'Actor'
|
T |
caseAnnotatedObject(AnnotatedObject object)
Returns the result of interpreting the object as an instance of 'Annotated Object'
|
T |
caseAttribute(Attribute object)
Returns the result of interpreting the object as an instance of 'Attribute'
|
T |
caseAttributeInstance(AttributeInstance object)
Returns the result of interpreting the object as an instance of 'Attribute Instance'
|
T |
caseCCD(CCD object)
Returns the result of interpreting the object as an instance of 'CCD'
|
T |
caseCCDEntity(CCDEntity object)
Returns the result of interpreting the object as an instance of 'CCD Entity'
|
T |
caseConcept(Concept object)
Returns the result of interpreting the object as an instance of 'Concept'
|
T |
caseCondition(Condition object)
Returns the result of interpreting the object as an instance of 'Condition'
|
T |
caseEnum(Enum object)
Returns the result of interpreting the object as an instance of 'Enum'
|
T |
caseInstance(Instance object)
Returns the result of interpreting the object as an instance of 'Instance'
|
T |
caseKnownBy(KnownBy object)
Returns the result of interpreting the object as an instance of 'Known By'
|
T |
caseLiteral(Literal object)
Returns the result of interpreting the object as an instance of 'Literal'
|
T |
caseObject(Object object)
Returns the result of interpreting the object as an instance of 'Object'
|
T |
caseRelation(Relation object)
Returns the result of interpreting the object as an instance of 'Relation'
|
T |
caseRelationInstance(RelationInstance object)
Returns the result of interpreting the object as an instance of 'Relation Instance'
|
T |
caseRelationOrAttribute(RelationOrAttribute object)
Returns the result of interpreting the object as an instance of 'Relation Or Attribute'
|
T |
caseRelationOrAttributeElement(RelationOrAttributeElement object)
Returns the result of interpreting the object as an instance of 'Relation Or Attribute Element'
|
T |
caseSourceOfCondition(SourceOfCondition object)
Returns the result of interpreting the object as an instance of 'Source Of Condition'
|
T |
caseVariable(Variable object)
Returns the result of interpreting the object as an instance of 'Variable'
|
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
|
public static final java.lang.String copyright
protected static CCDModelPackage modelPackage
protected boolean isSwitchFor(org.eclipse.emf.ecore.EPackage ePackage)
isSwitchFor
in class org.eclipse.emf.ecore.util.Switch<T>
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 caseCCDEntity(CCDEntity object)
object
- the target of the switch.doSwitch(EObject)
public T caseCCD(CCD object)
object
- the target of the switch.doSwitch(EObject)
public T caseConcept(Concept object)
object
- the target of the switch.doSwitch(EObject)
public T caseActor(Actor object)
object
- the target of the switch.doSwitch(EObject)
public T caseObject(Object object)
object
- the target of the switch.doSwitch(EObject)
public T caseInstance(Instance object)
object
- the target of the switch.doSwitch(EObject)
public T caseRelation(Relation object)
object
- the target of the switch.doSwitch(EObject)
public T caseRelationInstance(RelationInstance object)
object
- the target of the switch.doSwitch(EObject)
public T caseAction(Action object)
object
- the target of the switch.doSwitch(EObject)
public T caseCondition(Condition object)
object
- the target of the switch.doSwitch(EObject)
public T caseEnum(Enum object)
object
- the target of the switch.doSwitch(EObject)
public T caseLiteral(Literal object)
object
- the target of the switch.doSwitch(EObject)
public T caseAttribute(Attribute object)
object
- the target of the switch.doSwitch(EObject)
public T caseAttributeInstance(AttributeInstance object)
object
- the target of the switch.doSwitch(EObject)
public T caseVariable(Variable object)
object
- the target of the switch.doSwitch(EObject)
public T caseSourceOfCondition(SourceOfCondition object)
object
- the target of the switch.doSwitch(EObject)
public T caseRelationOrAttributeElement(RelationOrAttributeElement object)
object
- the target of the switch.doSwitch(EObject)
public T caseRelationOrAttribute(RelationOrAttribute object)
object
- the target of the switch.doSwitch(EObject)
public T caseKnownBy(KnownBy object)
object
- the target of the switch.doSwitch(EObject)
public T caseAnnotatedObject(AnnotatedObject 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)