|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ohf.stem.definitions.labels.util.LabelsSwitch<T>
public class LabelsSwitch<T>
The Switch for the model's inheritance
hierarchy. It supports the call 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.
LabelsPackage
Field Summary | |
---|---|
static java.lang.String |
copyright
|
Constructor Summary | |
---|---|
LabelsSwitch()
Creates an instance of the switch. |
Method Summary | |
---|---|
T |
caseAreaLabel(AreaLabel object)
Returns the result of interpretting the object as an instance of 'Area Label'. |
T |
caseAreaLabelValue(AreaLabelValue object)
Returns the result of interpretting the object as an instance of 'Area Label Value'. |
T |
caseCommonBorderRelationshipLabel(CommonBorderRelationshipLabel object)
Returns the result of interpretting the object as an instance of 'Common Border Relationship Label'. |
T |
caseCommonBorderRelationshipLabelValue(CommonBorderRelationshipLabelValue object)
Returns the result of interpretting the object as an instance of 'Common Border Relationship Label Value'. |
T |
caseDynamicEdgeLabel(DynamicEdgeLabel object)
Returns the result of interpretting the object as an instance of 'Dynamic Edge Label'. |
T |
caseDynamicLabel(DynamicLabel object)
Returns the result of interpretting the object as an instance of 'Dynamic Label'. |
T |
caseEdgeLabel(EdgeLabel object)
Returns the result of interpretting the object as an instance of 'Edge Label'. |
T |
caseIdentifiable(Identifiable object)
Returns the result of interpretting the object as an instance of 'Identifiable'. |
T |
caseLabel(Label object)
Returns the result of interpretting the object as an instance of 'Label'. |
T |
caseLabelValue(LabelValue object)
Returns the result of interpretting the object as an instance of 'Label Value'. |
T |
caseNodeLabel(NodeLabel object)
Returns the result of interpretting the object as an instance of 'Node Label'. |
T |
casePhysicalRelationshipLabel(PhysicalRelationshipLabel object)
Returns the result of interpretting the object as an instance of 'Physical Relationship Label'. |
T |
casePhysicalRelationshipLabelValue(PhysicalRelationshipLabelValue object)
Returns the result of interpretting the object as an instance of 'Physical Relationship Label Value'. |
T |
casePopulationLabel(PopulationLabel object)
Returns the result of interpretting the object as an instance of 'Population Label'. |
T |
casePopulationLabelValue(PopulationLabelValue object)
Returns the result of interpretting the object as an instance of 'Population Label Value'. |
T |
caseRelativePhysicalRelationshipLabel(RelativePhysicalRelationshipLabel object)
Returns the result of interpretting the object as an instance of 'Relative Physical Relationship Label'. |
T |
caseRelativePhysicalRelationshipLabelValue(RelativePhysicalRelationshipLabelValue object)
Returns the result of interpretting the object as an instance of 'Relative Physical Relationship Label Value'. |
T |
caseSanityChecker(SanityChecker object)
Returns the result of interpretting the object as an instance of 'Sanity Checker'. |
T |
caseStaticEdgeLabel(StaticEdgeLabel object)
Returns the result of interpretting the object as an instance of 'Static Edge Label'. |
T |
caseStaticNodeLabel(StaticNodeLabel object)
Returns the result of interpretting the object as an instance of 'Static Node Label'. |
T |
caseTransportRelationshipLabel(TransportRelationshipLabel object)
Returns the result of interpretting the object as an instance of 'Transport Relationship Label'. |
T |
caseTransportRelationshipLabelValue(TransportRelationshipLabelValue object)
Returns the result of interpretting the object as an instance of 'Transport Relationship Label Value'. |
T |
defaultCase(org.eclipse.emf.ecore.EObject object)
Returns the result of interpretting the object as an instance of 'EObject'. |
T |
doSwitch(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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String copyright
Constructor Detail |
---|
public LabelsSwitch()
Method Detail |
---|
public T doSwitch(org.eclipse.emf.ecore.EObject theEObject)
caseXXX
for each class of the model until one returns a non null result; it yields that result.
theEObject
-
caseXXX
call.public T casePopulationLabel(PopulationLabel object)
object
- the target of the switch.
doSwitch(EObject)
public T casePopulationLabelValue(PopulationLabelValue object)
object
- the target of the switch.
doSwitch(EObject)
public T caseAreaLabel(AreaLabel object)
object
- the target of the switch.
doSwitch(EObject)
public T caseAreaLabelValue(AreaLabelValue object)
object
- the target of the switch.
doSwitch(EObject)
public T casePhysicalRelationshipLabel(PhysicalRelationshipLabel object)
object
- the target of the switch.
doSwitch(EObject)
public T caseRelativePhysicalRelationshipLabel(RelativePhysicalRelationshipLabel object)
object
- the target of the switch.
doSwitch(EObject)
public T caseRelativePhysicalRelationshipLabelValue(RelativePhysicalRelationshipLabelValue object)
object
- the target of the switch.
doSwitch(EObject)
public T caseCommonBorderRelationshipLabel(CommonBorderRelationshipLabel object)
object
- the target of the switch.
doSwitch(EObject)
public T caseCommonBorderRelationshipLabelValue(CommonBorderRelationshipLabelValue object)
object
- the target of the switch.
doSwitch(EObject)
public T caseTransportRelationshipLabel(TransportRelationshipLabel object)
object
- the target of the switch.
doSwitch(EObject)
public T caseTransportRelationshipLabelValue(TransportRelationshipLabelValue object)
object
- the target of the switch.
doSwitch(EObject)
public T casePhysicalRelationshipLabelValue(PhysicalRelationshipLabelValue object)
object
- the target of the switch.
doSwitch(EObject)
public T caseIdentifiable(Identifiable object)
object
- the target of the switch.
doSwitch(EObject)
public T caseLabel(Label object)
object
- the target of the switch.
doSwitch(EObject)
public T caseNodeLabel(NodeLabel object)
object
- the target of the switch.
doSwitch(EObject)
public T caseStaticNodeLabel(StaticNodeLabel object)
object
- the target of the switch.
doSwitch(EObject)
public T caseSanityChecker(SanityChecker object)
object
- the target of the switch.
doSwitch(EObject)
public T caseLabelValue(LabelValue object)
object
- the target of the switch.
doSwitch(EObject)
public T caseEdgeLabel(EdgeLabel object)
object
- the target of the switch.
doSwitch(EObject)
public T caseStaticEdgeLabel(StaticEdgeLabel object)
object
- the target of the switch.
doSwitch(EObject)
public T caseDynamicLabel(DynamicLabel object)
object
- the target of the switch.
doSwitch(EObject)
public T caseDynamicEdgeLabel(DynamicEdgeLabel object)
object
- the target of the switch.
doSwitch(EObject)
public T defaultCase(org.eclipse.emf.ecore.EObject object)
object
- the target of the switch.
doSwitch(org.eclipse.emf.ecore.EObject)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |