com.hammurapi.party
Interface Party

All Superinterfaces:
org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier, Tagged
All Known Subinterfaces:
Organization, Person
All Known Implementing Classes:
OrganizationImpl, PersonImpl

public interface Party
extends Tagged

A representation of the model object 'Party'. Party.

The following features are supported:

See Also:
PartyPackage.getParty()

Method Summary
 org.eclipse.emf.common.util.EList<ContactInfo> getContactInfo()
          Returns the value of the 'Contact Info' containment reference list.
 org.eclipse.emf.common.util.EList<Identity> getIdentity()
          Returns the value of the 'Identity' containment reference list.
 String getName()
          Returns the value of the 'Name' attribute.
 Organization getParent()
          Returns the value of the 'Parent' container reference.
 org.eclipse.emf.common.util.EList<Party> getPath()
          Party's path in the hierarchy.
 String getUid()
          Returns the value of the 'Uid' attribute.
 void setExternalParent(Organization externalParent)
           
 void setName(String value)
          Sets the value of the 'Name' attribute.
 void setParent(Organization value)
          Sets the value of the 'Parent' container reference.
 void setUid(String value)
          Sets the value of the 'Uid' attribute.
 
Methods inherited from interface com.hammurapi.party.Tagged
getComment, getTags, setComment
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getContactInfo

org.eclipse.emf.common.util.EList<ContactInfo> getContactInfo()
Returns the value of the 'Contact Info' containment reference list. The list contents are of type ContactInfo. It is bidirectional and its opposite is 'Owner'. Party has zero or more contacts.

Returns:
the value of the 'Contact Info' containment reference list.
See Also:
PartyPackage.getParty_ContactInfo(), ContactInfo.getOwner()

getIdentity

org.eclipse.emf.common.util.EList<Identity> getIdentity()
Returns the value of the 'Identity' containment reference list. The list contents are of type Identity. Party can have identitie, e.g. taxpayer ID, internal employee number, department number.

Returns:
the value of the 'Identity' containment reference list.
See Also:
PartyPackage.getParty_Identity()

getParent

Organization getParent()
Returns the value of the 'Parent' container reference. It is bidirectional and its opposite is 'Children'. Parties can be nested.

Returns:
the value of the 'Parent' container reference.
See Also:
setParent(Organization), PartyPackage.getParty_Parent(), Organization.getChildren()

setParent

void setParent(Organization value)
Sets the value of the 'Parent' container reference.

Parameters:
value - the new value of the 'Parent' container reference.
See Also:
getParent()

getName

String getName()
Returns the value of the 'Name' attribute. Party name.

Returns:
the value of the 'Name' attribute.
See Also:
setName(String), PartyPackage.getParty_Name()

setName

void setName(String value)
Sets the value of the 'Name' attribute.

Parameters:
value - the new value of the 'Name' attribute.
See Also:
getName()

getUid

String getUid()
Returns the value of the 'Uid' attribute. Unique party ID for referencing. It can be one of party identities.

Returns:
the value of the 'Uid' attribute.
See Also:
setUid(String), PartyPackage.getParty_Uid()

setUid

void setUid(String value)
Sets the value of the 'Uid' attribute.

Parameters:
value - the new value of the 'Uid' attribute.
See Also:
getUid()

getPath

org.eclipse.emf.common.util.EList<Party> getPath()
Party's path in the hierarchy.


setExternalParent

void setExternalParent(Organization externalParent)