com.hammurapi.party
Interface Phone

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

public interface Phone
extends ContactInfo

A representation of the model object 'Phone'. Phone number.

The following features are supported:

See Also:
PartyPackage.getPhone()

Method Summary
 int getAreaCode()
          Returns the value of the 'Area Code' attribute.
 String getCountryCode()
          Returns the value of the 'Country Code' attribute.
 String getNumber()
          Returns the value of the 'Number' attribute.
 void setAreaCode(int value)
          Sets the value of the 'Area Code' attribute.
 void setCountryCode(String value)
          Sets the value of the 'Country Code' attribute.
 void setNumber(String value)
          Sets the value of the 'Number' attribute.
 
Methods inherited from interface com.hammurapi.party.ContactInfo
getCategory, getOwner, setCategory, setOwner
 
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

getCountryCode

String getCountryCode()
Returns the value of the 'Country Code' attribute. Country code

Returns:
the value of the 'Country Code' attribute.
See Also:
setCountryCode(String), PartyPackage.getPhone_CountryCode()

setCountryCode

void setCountryCode(String value)
Sets the value of the 'Country Code' attribute.

Parameters:
value - the new value of the 'Country Code' attribute.
See Also:
getCountryCode()

getAreaCode

int getAreaCode()
Returns the value of the 'Area Code' attribute. Area code

Returns:
the value of the 'Area Code' attribute.
See Also:
setAreaCode(int), PartyPackage.getPhone_AreaCode()

setAreaCode

void setAreaCode(int value)
Sets the value of the 'Area Code' attribute.

Parameters:
value - the new value of the 'Area Code' attribute.
See Also:
getAreaCode()

getNumber

String getNumber()
Returns the value of the 'Number' attribute. Phone number.

Returns:
the value of the 'Number' attribute.
See Also:
setNumber(String), PartyPackage.getPhone_Number()

setNumber

void setNumber(String value)
Sets the value of the 'Number' attribute.

Parameters:
value - the new value of the 'Number' attribute.
See Also:
getNumber()