public class BuildSwitch<T>
extends java.lang.Object
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.
BuildPackage| Constructor and Description |
|---|
BuildSwitch()
Creates an instance of the switch.
|
| Modifier and Type | Method and Description |
|---|---|
T |
caseAbstractBuildElement(AbstractBuildElement object)
Returns the result of interpreting the object as an instance of 'Abstract Build Element'.
|
T |
caseAbstractBuildRelationship(AbstractBuildRelationship object)
Returns the result of interpreting the object as an instance of 'Abstract Build Relationship'.
|
T |
caseBuildComponent(BuildComponent object)
Returns the result of interpreting the object as an instance of 'Component'.
|
T |
caseBuildDescription(BuildDescription object)
Returns the result of interpreting the object as an instance of 'Description'.
|
T |
caseBuildElement(BuildElement object)
Returns the result of interpreting the object as an instance of 'Element'.
|
T |
caseBuildModel(BuildModel object)
Returns the result of interpreting the object as an instance of 'Model'.
|
T |
caseBuildProduct(BuildProduct object)
Returns the result of interpreting the object as an instance of 'Product'.
|
T |
caseBuildRelationship(BuildRelationship object)
Returns the result of interpreting the object as an instance of 'Relationship'.
|
T |
caseBuildResource(BuildResource object)
Returns the result of interpreting the object as an instance of 'Resource'.
|
T |
caseBuildStep(BuildStep object)
Returns the result of interpreting the object as an instance of 'Step'.
|
T |
caseConsumes(Consumes object)
Returns the result of interpreting the object as an instance of 'Consumes'.
|
T |
caseDescribedBy(DescribedBy object)
Returns the result of interpreting the object as an instance of 'Described By'.
|
T |
caseElement(Element object)
Returns the result of interpreting the object as an instance of 'Element'.
|
T |
caseKDMEntity(KDMEntity object)
Returns the result of interpreting the object as an instance of 'KDM Entity'.
|
T |
caseKDMFramework(KDMFramework object)
Returns the result of interpreting the object as an instance of 'KDM Framework'.
|
T |
caseKDMModel(KDMModel object)
Returns the result of interpreting the object as an instance of 'KDM Model'.
|
T |
caseKDMRelationship(KDMRelationship object)
Returns the result of interpreting the object as an instance of 'KDM Relationship'.
|
T |
caseLibrary(Library object)
Returns the result of interpreting the object as an instance of 'Library'.
|
T |
caseLinksTo(LinksTo object)
Returns the result of interpreting the object as an instance of 'Links To'.
|
T |
caseModelElement(ModelElement object)
Returns the result of interpreting the object as an instance of 'Model Element'.
|
T |
caseProduces(Produces object)
Returns the result of interpreting the object as an instance of 'Produces'.
|
T |
caseSuppliedBy(SuppliedBy object)
Returns the result of interpreting the object as an instance of 'Supplied By'.
|
T |
caseSupplier(Supplier object)
Returns the result of interpreting the object as an instance of 'Supplier'.
|
T |
caseSupportedBy(SupportedBy object)
Returns the result of interpreting the object as an instance of 'Supported By'.
|
T |
caseSymbolicLink(SymbolicLink object)
Returns the result of interpreting the object as an instance of 'Symbolic Link'.
|
T |
caseTool(Tool object)
Returns the result of interpreting the object as an instance of 'Tool'.
|
T |
defaultCase(EObject object)
Returns the result of interpreting the object as an instance of 'EObject'.
|
T |
doSwitch(EObject theEObject)
Calls
caseXXX for each class of the model until one returns a non null result; it yields that result. |
public T doSwitch(EObject theEObject)
caseXXX for each class of the model until one returns a non null result; it yields that result.
caseXXX call.public T caseAbstractBuildElement(AbstractBuildElement object)
object - the target of the switch.doSwitch(EObject)public T caseBuildResource(BuildResource object)
object - the target of the switch.doSwitch(EObject)public T caseBuildDescription(BuildDescription object)
object - the target of the switch.doSwitch(EObject)public T caseSymbolicLink(SymbolicLink object)
object - the target of the switch.doSwitch(EObject)public T caseAbstractBuildRelationship(AbstractBuildRelationship object)
object - the target of the switch.doSwitch(EObject)public T caseLinksTo(LinksTo object)
object - the target of the switch.doSwitch(EObject)public T caseConsumes(Consumes object)
object - the target of the switch.doSwitch(EObject)public T caseBuildModel(BuildModel object)
object - the target of the switch.doSwitch(EObject)public T caseBuildComponent(BuildComponent object)
object - the target of the switch.doSwitch(EObject)public T caseSupplier(Supplier object)
object - the target of the switch.doSwitch(EObject)public T caseTool(Tool object)
object - the target of the switch.doSwitch(EObject)public T caseBuildElement(BuildElement object)
object - the target of the switch.doSwitch(EObject)public T caseBuildRelationship(BuildRelationship object)
object - the target of the switch.doSwitch(EObject)public T caseSuppliedBy(SuppliedBy object)
object - the target of the switch.doSwitch(EObject)public T caseLibrary(Library object)
object - the target of the switch.doSwitch(EObject)public T caseBuildStep(BuildStep object)
object - the target of the switch.doSwitch(EObject)public T caseProduces(Produces object)
object - the target of the switch.doSwitch(EObject)public T caseSupportedBy(SupportedBy object)
object - the target of the switch.doSwitch(EObject)public T caseBuildProduct(BuildProduct object)
object - the target of the switch.doSwitch(EObject)public T caseDescribedBy(DescribedBy object)
object - the target of the switch.doSwitch(EObject)public T caseElement(Element object)
object - the target of the switch.doSwitch(EObject)public T caseModelElement(ModelElement object)
object - the target of the switch.doSwitch(EObject)public T caseKDMEntity(KDMEntity object)
object - the target of the switch.doSwitch(EObject)public T caseKDMRelationship(KDMRelationship object)
object - the target of the switch.doSwitch(EObject)public T caseKDMFramework(KDMFramework object)
object - the target of the switch.doSwitch(EObject)public T caseKDMModel(KDMModel object)
object - the target of the switch.doSwitch(EObject)public T defaultCase(EObject object)
object - the target of the switch.#doSwitch(org.eclipse.emf.ecore.EObject)