|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hammurapi.party.util.PartySwitch<T>
public class PartySwitch<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.
PartyPackage| Field Summary | |
|---|---|
protected static PartyPackage |
modelPackage
The cached model package |
| Constructor Summary | |
|---|---|
PartySwitch()
Creates an instance of the switch. |
|
| Method Summary | |
|---|---|
T |
caseAddress(Address object)
Returns the result of interpreting the object as an instance of 'Address'. |
T |
caseCommonObject(CommonObject object)
Returns the result of interpreting the object as an instance of 'Common Object'. |
T |
caseContactInfo(ContactInfo object)
Returns the result of interpreting the object as an instance of 'Contact Info'. |
T |
caseCustom(Custom object)
Returns the result of interpreting the object as an instance of 'Custom'. |
T |
caseDateEffectiveObject(DateEffectiveObject object)
Returns the result of interpreting the object as an instance of 'Date Effective Object'. |
T |
caseEMail(EMail object)
Returns the result of interpreting the object as an instance of 'EMail'. |
T |
caseIdentity(Identity object)
Returns the result of interpreting the object as an instance of 'Identity'. |
T |
caseMatrixRelationship(MatrixRelationship object)
Returns the result of interpreting the object as an instance of 'Matrix Relationship'. |
T |
caseOrganization(Organization object)
Returns the result of interpreting the object as an instance of 'Organization'. |
T |
caseParty(Party object)
Returns the result of interpreting the object as an instance of 'Party'. |
T |
casePerson(Person object)
Returns the result of interpreting the object as an instance of 'Person'. |
T |
casePhone(Phone object)
Returns the result of interpreting the object as an instance of 'Phone'. |
T |
caseRole(Role object)
Returns the result of interpreting the object as an instance of 'Role'. |
T |
caseTag(Tag object)
Returns the result of interpreting the object as an instance of 'Tag'. |
T |
caseTagged(Tagged object)
Returns the result of interpreting the object as an instance of 'Tagged'. |
T |
caseURL(URL object)
Returns the result of interpreting the object as an instance of 'URL'. |
T |
caseUSAddress(USAddress object)
Returns the result of interpreting the object as an instance of 'US Address'. |
T |
caseWeb(Web object)
Returns the result of interpreting the object as an instance of 'Web'. |
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 PartyPackage modelPackage
| Constructor Detail |
|---|
public PartySwitch()
| 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 caseParty(Party object)
object - the target of the switch.
doSwitch(EObject)public T caseIdentity(Identity object)
object - the target of the switch.
doSwitch(EObject)public T caseTagged(Tagged object)
object - the target of the switch.
doSwitch(EObject)public T caseDateEffectiveObject(DateEffectiveObject object)
object - the target of the switch.
doSwitch(EObject)public T caseContactInfo(ContactInfo object)
object - the target of the switch.
doSwitch(EObject)public T casePhone(Phone object)
object - the target of the switch.
doSwitch(EObject)public T caseWeb(Web object)
object - the target of the switch.
doSwitch(EObject)public T caseEMail(EMail object)
object - the target of the switch.
doSwitch(EObject)public T caseAddress(Address object)
object - the target of the switch.
doSwitch(EObject)public T caseCustom(Custom object)
object - the target of the switch.
doSwitch(EObject)public T caseUSAddress(USAddress object)
object - the target of the switch.
doSwitch(EObject)public T caseOrganization(Organization object)
object - the target of the switch.
doSwitch(EObject)public T casePerson(Person object)
object - the target of the switch.
doSwitch(EObject)public T caseTag(Tag object)
object - the target of the switch.
doSwitch(EObject)public T caseRole(Role object)
object - the target of the switch.
doSwitch(EObject)public T caseURL(URL object)
object - the target of the switch.
doSwitch(EObject)public T caseCommonObject(CommonObject object)
object - the target of the switch.
doSwitch(EObject)public T caseMatrixRelationship(MatrixRelationship 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 | |||||||||