|
UML Modeling Layer | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.xtools.umlnotation.util.UmlnotationSwitch
public class UmlnotationSwitch
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.
UmlnotationPackage| Field Summary | |
|---|---|
protected static UmlnotationPackage |
modelPackage
The cached model package |
| Constructor Summary | |
|---|---|
UmlnotationSwitch()
Creates an instance of the switch |
|
| Method Summary | |
|---|---|
Object |
caseCanonicalStyle(CanonicalStyle object)
Returns the result of interpreting the object as an instance of 'Canonical Style' |
Object |
caseDescriptionStyle(DescriptionStyle object)
Returns the result of interpreting the object as an instance of 'Description Style' |
Object |
caseDiagramStyle(DiagramStyle object)
Returns the result of interpreting the object as an instance of 'Diagram Style' |
Object |
caseDrawerStyle(DrawerStyle object)
Returns the result of interpreting the object as an instance of 'Drawer Style' |
Object |
caseFillStyle(FillStyle object)
Returns the result of interpreting the object as an instance of 'Fill Style' |
Object |
caseFilteringStyle(FilteringStyle object)
Returns the result of interpreting the object as an instance of 'Filtering Style' |
Object |
caseFontStyle(FontStyle object)
Returns the result of interpreting the object as an instance of 'Font Style' |
Object |
caseGuideStyle(GuideStyle object)
Returns the result of interpreting the object as an instance of 'Guide Style' |
Object |
caseLineStyle(LineStyle object)
Returns the result of interpreting the object as an instance of 'Line Style' |
Object |
casePageStyle(PageStyle object)
Returns the result of interpreting the object as an instance of 'Page Style' |
Object |
caseRoutingStyle(RoutingStyle object)
Returns the result of interpreting the object as an instance of 'Routing Style' |
Object |
caseSortingStyle(SortingStyle object)
Returns the result of interpreting the object as an instance of 'Sorting Style' |
Object |
caseStyle(Style object)
Returns the result of interpreting the object as an instance of 'Style' |
Object |
caseTitleStyle(TitleStyle object)
Returns the result of interpreting the object as an instance of 'Title Style' |
Object |
caseUMLClassifierStyle(UMLClassifierStyle object)
Returns the result of interpreting the object as an instance of 'UML Classifier Style' |
Object |
caseUMLComponentStyle(UMLComponentStyle object)
Returns the result of interpreting the object as an instance of 'UML Component Style' |
Object |
caseUMLConnectorStyle(UMLConnectorStyle object)
Returns the result of interpreting the object as an instance of 'UML Connector Style' |
Object |
caseUMLDiagramStyle(UMLDiagramStyle object)
Returns the result of interpreting the object as an instance of 'UML Diagram Style' |
Object |
caseUMLFrameStyle(UMLFrameStyle object)
Returns the result of interpreting the object as an instance of 'UML Frame Style' |
Object |
caseUMLListCompartmentStyle(UMLListCompartmentStyle object)
Returns the result of interpreting the object as an instance of 'UML List Compartment Style' |
Object |
caseUMLListStyle(UMLListStyle object)
Returns the result of interpreting the object as an instance of 'UML List Style' |
Object |
caseUMLNameStyle(UMLNameStyle object)
Returns the result of interpreting the object as an instance of 'UML Name Style' |
Object |
caseUMLParentStyle(UMLParentStyle object)
Returns the result of interpreting the object as an instance of 'UML Parent Style' |
Object |
caseUMLShapeCompartmentStyle(UMLShapeCompartmentStyle object)
Returns the result of interpreting the object as an instance of 'UML Shape Compartment Style' |
Object |
caseUMLShapeStyle(UMLShapeStyle object)
Returns the result of interpreting the object as an instance of 'UML Shape Style' |
Object |
caseUMLStereotypeStyle(UMLStereotypeStyle object)
Returns the result of interpreting the object as an instance of 'UML Stereotype Style' |
Object |
defaultCase(EObject object)
Returns the result of interpreting the object as an instance of 'EObject' |
protected Object |
doSwitch(EClass theEClass,
EObject theEObject)
Calls caseXXX for each class of the model until one returns a non null result; it yields that result |
Object |
doSwitch(EObject theEObject)
Calls caseXXX for each class of the model until one returns a non null result; it yields that result |
protected Object |
doSwitch(int classifierID,
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 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static UmlnotationPackage modelPackage
| Constructor Detail |
|---|
public UmlnotationSwitch()
| Method Detail |
|---|
public Object doSwitch(EObject theEObject)
caseXXX for each class of the model until one returns a non null result; it yields that result.
caseXXX call.
protected Object doSwitch(EClass theEClass,
EObject theEObject)
caseXXX for each class of the model until one returns a non null result; it yields that result.
caseXXX call.
protected Object doSwitch(int classifierID,
EObject theEObject)
caseXXX for each class of the model until one returns a non null result; it yields that result.
caseXXX call.public Object caseUMLNameStyle(UMLNameStyle object)
object - the target of the switch.
doSwitch(EObject)public Object caseUMLStereotypeStyle(UMLStereotypeStyle object)
object - the target of the switch.
doSwitch(EObject)public Object caseUMLParentStyle(UMLParentStyle object)
object - the target of the switch.
doSwitch(EObject)public Object caseUMLShapeStyle(UMLShapeStyle object)
object - the target of the switch.
doSwitch(EObject)public Object caseUMLClassifierStyle(UMLClassifierStyle object)
object - the target of the switch.
doSwitch(EObject)public Object caseUMLListStyle(UMLListStyle object)
object - the target of the switch.
doSwitch(EObject)public Object caseUMLComponentStyle(UMLComponentStyle object)
object - the target of the switch.
doSwitch(EObject)public Object caseUMLDiagramStyle(UMLDiagramStyle object)
object - the target of the switch.
doSwitch(EObject)public Object caseUMLFrameStyle(UMLFrameStyle object)
object - the target of the switch.
doSwitch(EObject)public Object caseUMLConnectorStyle(UMLConnectorStyle object)
object - the target of the switch.
doSwitch(EObject)public Object caseUMLListCompartmentStyle(UMLListCompartmentStyle object)
object - the target of the switch.
doSwitch(EObject)public Object caseUMLShapeCompartmentStyle(UMLShapeCompartmentStyle object)
object - the target of the switch.
doSwitch(EObject)public Object caseStyle(Style object)
object - the target of the switch.
doSwitch(EObject)public Object caseFontStyle(FontStyle object)
object - the target of the switch.
doSwitch(EObject)public Object caseFillStyle(FillStyle object)
object - the target of the switch.
doSwitch(EObject)public Object caseLineStyle(LineStyle object)
object - the target of the switch.
doSwitch(EObject)public Object casePageStyle(PageStyle object)
object - the target of the switch.
doSwitch(EObject)public Object caseGuideStyle(GuideStyle object)
object - the target of the switch.
doSwitch(EObject)public Object caseDescriptionStyle(DescriptionStyle object)
object - the target of the switch.
doSwitch(EObject)public Object caseDiagramStyle(DiagramStyle object)
object - the target of the switch.
doSwitch(EObject)public Object caseCanonicalStyle(CanonicalStyle object)
object - the target of the switch.
doSwitch(EObject)public Object caseRoutingStyle(RoutingStyle object)
object - the target of the switch.
doSwitch(EObject)public Object caseFilteringStyle(FilteringStyle object)
object - the target of the switch.
doSwitch(EObject)public Object caseSortingStyle(SortingStyle object)
object - the target of the switch.
doSwitch(EObject)public Object caseDrawerStyle(DrawerStyle object)
object - the target of the switch.
doSwitch(EObject)public Object caseTitleStyle(TitleStyle object)
object - the target of the switch.
doSwitch(EObject)public Object defaultCase(EObject object)
object - the target of the switch.
UmlnotationSwitch.doSwitch(org.eclipse.emf.ecore.EObject)
|
UML Modeling Layer | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||