org.eclipse.ohf.bridge.type
Class PhoneType

java.lang.Object
  extended by org.eclipse.ohf.bridge.type.PhoneType
All Implemented Interfaces:
java.io.Serializable

public class PhoneType
extends java.lang.Object
implements java.io.Serializable

Specifies a phone number for inclusion in a patient metadata.

See Also:
Serialized Form

Field Summary
static PhoneType EMPTY_PHONE
           
 
Constructor Summary
PhoneType()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getUnformattedTelephoneNumber()
           
 int hashCode()
           
 void setUnformattedTelephoneNumber(java.lang.String unformattedTelephoneNumber)
           
 java.lang.String toString()
          Constructs a String with all attributes in name = value format.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

EMPTY_PHONE

public static final PhoneType EMPTY_PHONE
Constructor Detail

PhoneType

public PhoneType()
Method Detail

getUnformattedTelephoneNumber

public java.lang.String getUnformattedTelephoneNumber()
Returns:
the unformattedTelephoneNumber

setUnformattedTelephoneNumber

public void setUnformattedTelephoneNumber(java.lang.String unformattedTelephoneNumber)
Parameters:
unformattedTelephoneNumber - the unformattedTelephoneNumber to set

toString

public java.lang.String toString()
Constructs a String with all attributes in name = value format.

Overrides:
toString in class java.lang.Object
Returns:
a String representation of this object.

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object