|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectBusinessDomainDsl.util.BusinessDomainDslSwitch<T>
public class BusinessDomainDslSwitch<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.
BusinessDomainDslPackage| Field Summary | |
|---|---|
protected static BusinessDomainDslPackage |
modelPackage
The cached model package |
| Constructor Summary | |
|---|---|
BusinessDomainDslSwitch()
Creates an instance of the switch. |
|
| Method Summary | |
|---|---|
T |
caseAbstractBusinessClass(AbstractBusinessClass object)
Returns the result of interpreting the object as an instance of 'Abstract Business Class'. |
T |
caseAbstractBusinessRule(AbstractBusinessRule object)
Returns the result of interpreting the object as an instance of 'Abstract Business Rule'. |
T |
caseAbstractType(AbstractType object)
Returns the result of interpreting the object as an instance of 'Abstract Type'. |
T |
caseAssociation(Association object)
Returns the result of interpreting the object as an instance of 'Association'. |
T |
caseBlobBinaryProperty(BlobBinaryProperty object)
Returns the result of interpreting the object as an instance of 'Blob Binary Property'. |
T |
caseBlobTextProperty(BlobTextProperty object)
Returns the result of interpreting the object as an instance of 'Blob Text Property'. |
T |
caseBoolProperty(BoolProperty object)
Returns the result of interpreting the object as an instance of 'Bool Property'. |
T |
caseBusinessClass(BusinessClass object)
Returns the result of interpreting the object as an instance of 'Business Class'. |
T |
caseBusinessClassReference(BusinessClassReference object)
Returns the result of interpreting the object as an instance of 'Business Class Reference'. |
T |
caseBusinessDomainModel(BusinessDomainModel object)
Returns the result of interpreting the object as an instance of 'Business Domain Model'. |
T |
caseBusinessRule(BusinessRule object)
Returns the result of interpreting the object as an instance of 'Business Rule'. |
T |
caseDateTimeProperty(DateTimeProperty object)
Returns the result of interpreting the object as an instance of 'Date Time Property'. |
T |
caseDecimalProperty(DecimalProperty object)
Returns the result of interpreting the object as an instance of 'Decimal Property'. |
T |
caseEnumeration(Enumeration object)
Returns the result of interpreting the object as an instance of 'Enumeration'. |
T |
caseEnumerationLiteral(EnumerationLiteral object)
Returns the result of interpreting the object as an instance of 'Enumeration Literal'. |
T |
caseEnumerationProperty(EnumerationProperty object)
Returns the result of interpreting the object as an instance of 'Enumeration Property'. |
T |
caseIntegerProperty(IntegerProperty object)
Returns the result of interpreting the object as an instance of 'Integer Property'. |
T |
caseModelElement(ModelElement object)
Returns the result of interpreting the object as an instance of 'Model Element'. |
T |
caseProperty(Property object)
Returns the result of interpreting the object as an instance of 'Property'. |
T |
caseStringProperty(StringProperty object)
Returns the result of interpreting the object as an instance of 'String Property'. |
T |
caseUniqueRule(UniqueRule object)
Returns the result of interpreting the object as an instance of 'Unique Rule'. |
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 BusinessDomainDslPackage modelPackage
| Constructor Detail |
|---|
public BusinessDomainDslSwitch()
| 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 caseModelElement(ModelElement object)
object - the target of the switch.
doSwitch(EObject)public T caseBusinessDomainModel(BusinessDomainModel object)
object - the target of the switch.
doSwitch(EObject)public T caseBusinessClass(BusinessClass object)
object - the target of the switch.
doSwitch(EObject)public T caseProperty(Property object)
object - the target of the switch.
doSwitch(EObject)public T caseEnumeration(Enumeration object)
object - the target of the switch.
doSwitch(EObject)public T caseEnumerationLiteral(EnumerationLiteral object)
object - the target of the switch.
doSwitch(EObject)public T caseAbstractBusinessRule(AbstractBusinessRule object)
object - the target of the switch.
doSwitch(EObject)public T caseBoolProperty(BoolProperty object)
object - the target of the switch.
doSwitch(EObject)public T caseDateTimeProperty(DateTimeProperty object)
object - the target of the switch.
doSwitch(EObject)public T caseEnumerationProperty(EnumerationProperty object)
object - the target of the switch.
doSwitch(EObject)public T caseIntegerProperty(IntegerProperty object)
object - the target of the switch.
doSwitch(EObject)public T caseStringProperty(StringProperty object)
object - the target of the switch.
doSwitch(EObject)public T caseAbstractType(AbstractType object)
object - the target of the switch.
doSwitch(EObject)public T caseBlobBinaryProperty(BlobBinaryProperty object)
object - the target of the switch.
doSwitch(EObject)public T caseBlobTextProperty(BlobTextProperty object)
object - the target of the switch.
doSwitch(EObject)public T caseAssociation(Association object)
object - the target of the switch.
doSwitch(EObject)public T caseDecimalProperty(DecimalProperty object)
object - the target of the switch.
doSwitch(EObject)public T caseAbstractBusinessClass(AbstractBusinessClass object)
object - the target of the switch.
doSwitch(EObject)public T caseBusinessClassReference(BusinessClassReference object)
object - the target of the switch.
doSwitch(EObject)public T caseUniqueRule(UniqueRule object)
object - the target of the switch.
doSwitch(EObject)public T caseBusinessRule(BusinessRule 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 | |||||||||