com.hammurapi.party
Interface ContactInfo

All Superinterfaces:
DateEffectiveObject, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier, Tagged
All Known Subinterfaces:
Address, Custom, EMail, Phone, URL, USAddress, Web
All Known Implementing Classes:
CustomImpl, EMailImpl, PhoneImpl, USAddressImpl, WebImpl

public interface ContactInfo
extends DateEffectiveObject

A representation of the model object 'Contact Info'. Contact information.

The following features are supported:

See Also:
PartyPackage.getContactInfo()

Method Summary
 String getCategory()
          Returns the value of the 'Category' attribute.
 Party getOwner()
          Returns the value of the 'Owner' container reference.
 void setCategory(String value)
          Sets the value of the 'Category' attribute.
 void setOwner(Party 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

getCategory

String getCategory()
Returns the value of the 'Category' attribute. Contact type. E.g. for phone it can be "Home", "Work", or "Mobile".

Returns:
the value of the 'Category' attribute.
See Also:
setCategory(String), PartyPackage.getContactInfo_Category()

setCategory

void setCategory(String value)
Sets the value of the 'Category' attribute.

Parameters:
value - the new value of the 'Category' attribute.
See Also:
getCategory()

getOwner

Party getOwner()
Returns the value of the 'Owner' container reference. It is bidirectional and its opposite is 'Contact Info'.

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(Party), PartyPackage.getContactInfo_Owner(), Party.getContactInfo()

setOwner

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

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