|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mod4j.dsl.datacontract.mm.DataContractDsl.util.DataContractDslSwitch<T>
public class DataContractDslSwitch<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.
DataContractDslPackage| Field Summary | |
|---|---|
protected static DataContractDslPackage |
modelPackage
The cached model package |
| Constructor Summary | |
|---|---|
DataContractDslSwitch()
Creates an instance of the switch. |
|
| Method Summary | |
|---|---|
T |
caseBusinessClassAssociationRoleReference(BusinessClassAssociationRoleReference object)
Returns the result of interpreting the object as an instance of 'Business Class Association Role Reference'. |
T |
caseBusinessClassDto(BusinessClassDto object)
Returns the result of interpreting the object as an instance of 'Business Class Dto'. |
T |
caseBusinessClassPropertyReference(BusinessClassPropertyReference object)
Returns the result of interpreting the object as an instance of 'Business Class Property Reference'. |
T |
caseCustomDto(CustomDto object)
Returns the result of interpreting the object as an instance of 'Custom Dto'. |
T |
caseDataContractModel(DataContractModel object)
Returns the result of interpreting the object as an instance of 'Data Contract Model'. |
T |
caseDto(Dto object)
Returns the result of interpreting the object as an instance of 'Dto'. |
T |
caseDtoAssociationRoleProperty(DtoAssociationRoleProperty object)
Returns the result of interpreting the object as an instance of 'Dto Association Role Property'. |
T |
caseDtoBooleanProperty(DtoBooleanProperty object)
Returns the result of interpreting the object as an instance of 'Dto Boolean Property'. |
T |
caseDtoDataProperty(DtoDataProperty object)
Returns the result of interpreting the object as an instance of 'Dto Data Property'. |
T |
caseDtoDateTimeProperty(DtoDateTimeProperty object)
Returns the result of interpreting the object as an instance of 'Dto Date Time Property'. |
T |
caseDtoDecimalProperty(DtoDecimalProperty object)
Returns the result of interpreting the object as an instance of 'Dto Decimal Property'. |
T |
caseDtoEnumerationProperty(DtoEnumerationProperty object)
Returns the result of interpreting the object as an instance of 'Dto Enumeration Property'. |
T |
caseDtoIntegerProperty(DtoIntegerProperty object)
Returns the result of interpreting the object as an instance of 'Dto Integer Property'. |
T |
caseDtoProperty(DtoProperty object)
Returns the result of interpreting the object as an instance of 'Dto Property'. |
T |
caseDtoPropertyReference(DtoPropertyReference object)
Returns the result of interpreting the object as an instance of 'Dto Property Reference'. |
T |
caseDtoStringProperty(DtoStringProperty object)
Returns the result of interpreting the object as an instance of 'Dto String Property'. |
T |
caseEnumerationDto(EnumerationDto object)
Returns the result of interpreting the object as an instance of 'Enumeration Dto'. |
T |
caseEnumerationDtoLiteral(EnumerationDtoLiteral object)
Returns the result of interpreting the object as an instance of 'Enumeration Dto Literal'. |
T |
caseExternalReference(ExternalReference object)
Returns the result of interpreting the object as an instance of 'External Reference'. |
T |
caseListDto(ListDto object)
Returns the result of interpreting the object as an instance of 'List Dto'. |
T |
caseModelElement(ModelElement object)
Returns the result of interpreting the object as an instance of 'Model Element'. |
T |
defaultCase(org.eclipse.emf.ecore.EObject object)
Returns the result of interpreting the object as an instance of 'EObject'. |
protected T |
doSwitch(org.eclipse.emf.ecore.EClass theEClass,
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. |
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. |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static DataContractDslPackage modelPackage
| Constructor Detail |
|---|
public DataContractDslSwitch()
| 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.
caseXXX call.
protected T doSwitch(org.eclipse.emf.ecore.EClass theEClass,
org.eclipse.emf.ecore.EObject theEObject)
caseXXX for each class of the model until one returns a non null result; it yields that result.
caseXXX call.
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.
caseXXX call.public T caseDataContractModel(DataContractModel object)
object - the target of the switch.
doSwitch(EObject)public T caseDto(Dto object)
object - the target of the switch.
doSwitch(EObject)public T caseBusinessClassDto(BusinessClassDto object)
object - the target of the switch.
doSwitch(EObject)public T caseListDto(ListDto object)
object - the target of the switch.
doSwitch(EObject)public T caseDtoProperty(DtoProperty object)
object - the target of the switch.
doSwitch(EObject)public T caseDtoPropertyReference(DtoPropertyReference object)
object - the target of the switch.
doSwitch(EObject)public T caseDtoDataProperty(DtoDataProperty object)
object - the target of the switch.
doSwitch(EObject)public T caseDtoStringProperty(DtoStringProperty object)
object - the target of the switch.
doSwitch(EObject)public T caseDtoBooleanProperty(DtoBooleanProperty object)
object - the target of the switch.
doSwitch(EObject)public T caseEnumerationDto(EnumerationDto object)
object - the target of the switch.
doSwitch(EObject)public T caseEnumerationDtoLiteral(EnumerationDtoLiteral object)
object - the target of the switch.
doSwitch(EObject)public T caseModelElement(ModelElement object)
object - the target of the switch.
doSwitch(EObject)public T caseCustomDto(CustomDto object)
object - the target of the switch.
doSwitch(EObject)public T caseDtoIntegerProperty(DtoIntegerProperty object)
object - the target of the switch.
doSwitch(EObject)public T caseDtoDecimalProperty(DtoDecimalProperty object)
object - the target of the switch.
doSwitch(EObject)public T caseDtoEnumerationProperty(DtoEnumerationProperty object)
object - the target of the switch.
doSwitch(EObject)public T caseDtoDateTimeProperty(DtoDateTimeProperty object)
object - the target of the switch.
doSwitch(EObject)public T caseBusinessClassPropertyReference(BusinessClassPropertyReference object)
object - the target of the switch.
doSwitch(EObject)public T caseBusinessClassAssociationRoleReference(BusinessClassAssociationRoleReference object)
object - the target of the switch.
doSwitch(EObject)public T caseDtoAssociationRoleProperty(DtoAssociationRoleProperty object)
object - the target of the switch.
doSwitch(EObject)public T caseExternalReference(ExternalReference 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 | |||||||||