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

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

public class EmailAddressPojo
extends Object
implements EmailAddress

Author:
mfgsscw2
See Also:
Serialized Form

Constructor Summary
EmailAddressPojo()
           
 
Method Summary
 String getDisplayType()
           
 String getEmailAddress()
           
 String getLabel()
           
 String getType()
           
 boolean isPopulated()
          Usable entries must have something for an address plus a type.
 void setEmailAddress(String email)
           
 void setLabel(String label)
           
 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

EmailAddressPojo

public EmailAddressPojo()
Method Detail

toString

public String toString()
Overrides:
toString in class Object

getLabel

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

getEmailAddress

public String getEmailAddress()
Specified by:
getEmailAddress in interface EmailAddress

setLabel

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

setEmailAddress

public void setEmailAddress(String email)
Specified by:
setEmailAddress in interface EmailAddress

getType

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

setType

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

setType

public void setType(String typeName)

getDisplayType

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

isPopulated

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

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


Copyright © 2013 Jasig. All Rights Reserved.