public class DataSwitch<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.
DataPackage| Constructor and Description |
|---|
DataSwitch()
Creates an instance of the switch.
|
| Modifier and Type | Method and Description |
|---|---|
T |
caseAbstractActionRelationship(AbstractActionRelationship object)
Returns the result of interpreting the object as an instance of 'Abstract Action Relationship'.
|
T |
caseAbstractContentElement(AbstractContentElement object)
Returns the result of interpreting the object as an instance of 'Abstract Content Element'.
|
T |
caseAbstractDataElement(AbstractDataElement object)
Returns the result of interpreting the object as an instance of 'Abstract Data Element'.
|
T |
caseAbstractDataRelationship(AbstractDataRelationship object)
Returns the result of interpreting the object as an instance of 'Abstract Data Relationship'.
|
T |
caseAllContent(AllContent object)
Returns the result of interpreting the object as an instance of 'All Content'.
|
T |
caseCatalog(Catalog object)
Returns the result of interpreting the object as an instance of 'Catalog'.
|
T |
caseChoiceContent(ChoiceContent object)
Returns the result of interpreting the object as an instance of 'Choice Content'.
|
T |
caseColumnSet(ColumnSet object)
Returns the result of interpreting the object as an instance of 'Column Set'.
|
T |
caseComplexContentType(ComplexContentType object)
Returns the result of interpreting the object as an instance of 'Complex Content Type'.
|
T |
caseContentAttribute(ContentAttribute object)
Returns the result of interpreting the object as an instance of 'Content Attribute'.
|
T |
caseContentElement(ContentElement object)
Returns the result of interpreting the object as an instance of 'Content Element'.
|
T |
caseContentItem(ContentItem object)
Returns the result of interpreting the object as an instance of 'Content Item'.
|
T |
caseContentReference(ContentReference object)
Returns the result of interpreting the object as an instance of 'Content Reference'.
|
T |
caseContentRestriction(ContentRestriction object)
Returns the result of interpreting the object as an instance of 'Content Restriction'.
|
T |
caseDataAction(DataAction object)
Returns the result of interpreting the object as an instance of 'Action'.
|
T |
caseDataContainer(DataContainer object)
Returns the result of interpreting the object as an instance of 'Container'.
|
T |
caseDataEvent(DataEvent object)
Returns the result of interpreting the object as an instance of 'Event'.
|
T |
caseDataModel(DataModel object)
Returns the result of interpreting the object as an instance of 'Model'.
|
T |
caseDataRelationship(DataRelationship object)
Returns the result of interpreting the object as an instance of 'Relationship'.
|
T |
caseDataResource(DataResource object)
Returns the result of interpreting the object as an instance of 'Resource'.
|
T |
caseDataSegment(DataSegment object)
Returns the result of interpreting the object as an instance of 'Segment'.
|
T |
caseDatatypeOf(DatatypeOf object)
Returns the result of interpreting the object as an instance of 'Datatype Of'.
|
T |
caseElement(Element object)
Returns the result of interpreting the object as an instance of 'Element'.
|
T |
caseExtendedDataElement(ExtendedDataElement object)
Returns the result of interpreting the object as an instance of 'Extended Data Element'.
|
T |
caseExtensionTo(ExtensionTo object)
Returns the result of interpreting the object as an instance of 'Extension To'.
|
T |
caseGroupContent(GroupContent object)
Returns the result of interpreting the object as an instance of 'Group Content'.
|
T |
caseHasContent(HasContent object)
Returns the result of interpreting the object as an instance of 'Has Content'.
|
T |
caseIndex(Index object)
Returns the result of interpreting the object as an instance of 'Index'.
|
T |
caseIndexElement(IndexElement object)
Returns the result of interpreting the object as an instance of 'Index 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 |
caseKeyRelation(KeyRelation object)
Returns the result of interpreting the object as an instance of 'Key Relation'.
|
T |
caseManagesData(ManagesData object)
Returns the result of interpreting the object as an instance of 'Manages Data'.
|
T |
caseMixedContent(MixedContent object)
Returns the result of interpreting the object as an instance of 'Mixed Content'.
|
T |
caseModelElement(ModelElement object)
Returns the result of interpreting the object as an instance of 'Model Element'.
|
T |
caseProducesDataEvent(ProducesDataEvent object)
Returns the result of interpreting the object as an instance of 'Produces Data Event'.
|
T |
caseReadsColumnSet(ReadsColumnSet object)
Returns the result of interpreting the object as an instance of 'Reads Column Set'.
|
T |
caseRecordFile(RecordFile object)
Returns the result of interpreting the object as an instance of 'Record File'.
|
T |
caseReferenceKey(ReferenceKey object)
Returns the result of interpreting the object as an instance of 'Reference Key'.
|
T |
caseReferenceTo(ReferenceTo object)
Returns the result of interpreting the object as an instance of 'Reference To'.
|
T |
caseRelationalSchema(RelationalSchema object)
Returns the result of interpreting the object as an instance of 'Relational Schema'.
|
T |
caseRelationalTable(RelationalTable object)
Returns the result of interpreting the object as an instance of 'Relational Table'.
|
T |
caseRelationalView(RelationalView object)
Returns the result of interpreting the object as an instance of 'Relational View'.
|
T |
caseRestrictionOf(RestrictionOf object)
Returns the result of interpreting the object as an instance of 'Restriction Of'.
|
T |
caseSeqContent(SeqContent object)
Returns the result of interpreting the object as an instance of 'Seq Content'.
|
T |
caseSimpleContentType(SimpleContentType object)
Returns the result of interpreting the object as an instance of 'Simple Content Type'.
|
T |
caseTypedBy(TypedBy object)
Returns the result of interpreting the object as an instance of 'Typed By'.
|
T |
caseUniqueKey(UniqueKey object)
Returns the result of interpreting the object as an instance of 'Unique Key'.
|
T |
caseWritesColumnSet(WritesColumnSet object)
Returns the result of interpreting the object as an instance of 'Writes Column Set'.
|
T |
caseXMLSchema(XMLSchema object)
Returns the result of interpreting the object as an instance of 'XML Schema'.
|
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 caseDataModel(DataModel object)
object - the target of the switch.doSwitch(EObject)public T caseAbstractDataElement(AbstractDataElement object)
object - the target of the switch.doSwitch(EObject)public T caseDataResource(DataResource object)
object - the target of the switch.doSwitch(EObject)public T caseIndexElement(IndexElement object)
object - the target of the switch.doSwitch(EObject)public T caseUniqueKey(UniqueKey object)
object - the target of the switch.doSwitch(EObject)public T caseIndex(Index object)
object - the target of the switch.doSwitch(EObject)public T caseAbstractDataRelationship(AbstractDataRelationship object)
object - the target of the switch.doSwitch(EObject)public T caseKeyRelation(KeyRelation object)
object - the target of the switch.doSwitch(EObject)public T caseReferenceKey(ReferenceKey object)
object - the target of the switch.doSwitch(EObject)public T caseDataContainer(DataContainer object)
object - the target of the switch.doSwitch(EObject)public T caseCatalog(Catalog object)
object - the target of the switch.doSwitch(EObject)public T caseRelationalSchema(RelationalSchema object)
object - the target of the switch.doSwitch(EObject)public T caseColumnSet(ColumnSet object)
object - the target of the switch.doSwitch(EObject)public T caseRelationalTable(RelationalTable object)
object - the target of the switch.doSwitch(EObject)public T caseRelationalView(RelationalView object)
object - the target of the switch.doSwitch(EObject)public T caseRecordFile(RecordFile object)
object - the target of the switch.doSwitch(EObject)public T caseDataEvent(DataEvent object)
object - the target of the switch.doSwitch(EObject)public T caseXMLSchema(XMLSchema object)
object - the target of the switch.doSwitch(EObject)public T caseAbstractContentElement(AbstractContentElement object)
object - the target of the switch.doSwitch(EObject)public T caseComplexContentType(ComplexContentType object)
object - the target of the switch.doSwitch(EObject)public T caseAllContent(AllContent object)
object - the target of the switch.doSwitch(EObject)public T caseSeqContent(SeqContent object)
object - the target of the switch.doSwitch(EObject)public T caseChoiceContent(ChoiceContent object)
object - the target of the switch.doSwitch(EObject)public T caseContentItem(ContentItem object)
object - the target of the switch.doSwitch(EObject)public T caseGroupContent(GroupContent object)
object - the target of the switch.doSwitch(EObject)public T caseContentRestriction(ContentRestriction object)
object - the target of the switch.doSwitch(EObject)public T caseSimpleContentType(SimpleContentType object)
object - the target of the switch.doSwitch(EObject)public T caseExtendedDataElement(ExtendedDataElement object)
object - the target of the switch.doSwitch(EObject)public T caseDataRelationship(DataRelationship object)
object - the target of the switch.doSwitch(EObject)public T caseMixedContent(MixedContent object)
object - the target of the switch.doSwitch(EObject)public T caseContentReference(ContentReference object)
object - the target of the switch.doSwitch(EObject)public T caseDataAction(DataAction object)
object - the target of the switch.doSwitch(EObject)public T caseReadsColumnSet(ReadsColumnSet object)
object - the target of the switch.doSwitch(EObject)public T caseContentAttribute(ContentAttribute object)
object - the target of the switch.doSwitch(EObject)public T caseTypedBy(TypedBy object)
object - the target of the switch.doSwitch(EObject)public T caseReferenceTo(ReferenceTo object)
object - the target of the switch.doSwitch(EObject)public T caseRestrictionOf(RestrictionOf object)
object - the target of the switch.doSwitch(EObject)public T caseExtensionTo(ExtensionTo object)
object - the target of the switch.doSwitch(EObject)public T caseDatatypeOf(DatatypeOf object)
object - the target of the switch.doSwitch(EObject)public T caseHasContent(HasContent object)
object - the target of the switch.doSwitch(EObject)public T caseWritesColumnSet(WritesColumnSet object)
object - the target of the switch.doSwitch(EObject)public T caseProducesDataEvent(ProducesDataEvent object)
object - the target of the switch.doSwitch(EObject)public T caseDataSegment(DataSegment object)
object - the target of the switch.doSwitch(EObject)public T caseContentElement(ContentElement object)
object - the target of the switch.doSwitch(EObject)public T caseManagesData(ManagesData 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 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 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 caseAbstractActionRelationship(AbstractActionRelationship 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)