com.hammurapi.party
Interface Role

All Superinterfaces:
DateEffectiveObject, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier, Tagged
All Known Implementing Classes:
RoleImpl

public interface Role
extends DateEffectiveObject

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

The following features are supported:

See Also:
PartyPackage.getRole()

Method Summary
 String getName()
          Returns the value of the 'Name' attribute.
 CommonObject getOwner()
          Returns the value of the 'Owner' container reference.
 org.eclipse.emf.common.util.EList<Party> getParty()
          Returns the value of the 'Party' reference list.
 void setName(String value)
          Sets the value of the 'Name' attribute.
 void setOwner(CommonObject value)
          Sets the value of the 'Owner' container reference.
 
Methods inherited from interface com.hammurapi.party.DateEffectiveObject
getEnd, getStart, isEffective, isEffectiveNow, setEnd, setStart
 
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

getParty

org.eclipse.emf.common.util.EList<Party> getParty()
Returns the value of the 'Party' reference list. The list contents are of type Party. Parties playing given role.

Returns:
the value of the 'Party' reference list.
See Also:
PartyPackage.getRole_Party()

getName

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

Returns:
the value of the 'Name' attribute.
See Also:
setName(String), PartyPackage.getRole_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()

getOwner

CommonObject getOwner()
Returns the value of the 'Owner' container reference. It is bidirectional and its opposite is 'Roles'.

If the meaning of the 'Owner' container reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Owner' container reference.
See Also:
setOwner(CommonObject), PartyPackage.getRole_Owner(), CommonObject.getRoles()

setOwner

void setOwner(CommonObject value)
Sets the value of the 'Owner' container reference.

Parameters:
value - the new value of the 'Owner' container reference.
See Also:
getOwner()