org.jasig.portlet.contacts.model.impl
Class PhoneNumberPojo

java.lang.Object
  extended by org.jasig.portlet.contacts.model.impl.PhoneNumberPojo
All Implemented Interfaces:
Serializable, PhoneNumber, TestableContactDependency

public class PhoneNumberPojo
extends Object
implements PhoneNumber

Author:
mfgsscw2
See Also:
Serialized Form

Constructor Summary
PhoneNumberPojo()
           
 
Method Summary
 String getDisplayType()
           
 String getLabel()
           
 String getPhoneNumber()
           
 String getType()
           
 boolean isPopulated()
          Usable entries must have something for a number plus a type.
 void setLabel(String label)
           
 void setPhoneNumber(String number)
           
 void setType(ContactAttributeType type)
           
 void setType(String typeName)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PhoneNumberPojo

public PhoneNumberPojo()
Method Detail

toString

public String toString()
Overrides:
toString in class Object

getLabel

public String getLabel()
Specified by:
getLabel in interface PhoneNumber

getType

public String getType()
Specified by:
getType in interface PhoneNumber

getPhoneNumber

public String getPhoneNumber()
Specified by:
getPhoneNumber in interface PhoneNumber

setLabel

public void setLabel(String label)
Specified by:
setLabel in interface PhoneNumber

setType

public void setType(ContactAttributeType type)
Specified by:
setType in interface PhoneNumber

setType

public void setType(String typeName)

setPhoneNumber

public void setPhoneNumber(String number)
Specified by:
setPhoneNumber in interface PhoneNumber

getDisplayType

public String getDisplayType()
Specified by:
getDisplayType in interface PhoneNumber

isPopulated

public boolean isPopulated()
Usable entries must have something for a number plus a type.

Specified by:
isPopulated in interface TestableContactDependency
Returns:
True if populated.


Copyright © 2013 Jasig. All Rights Reserved.