org.jasig.portlet.contacts.model.impl
Class AddressPojo
java.lang.Object
org.jasig.portlet.contacts.model.impl.AddressPojo
- All Implemented Interfaces:
- Serializable, Address, TestableContactDependency
public class AddressPojo
- extends Object
- implements Address
- Author:
- mfgsscw2
- See Also:
- Serialized Form
AddressPojo
public AddressPojo()
toString
public String toString()
- Overrides:
toString in class Object
getLabel
public String getLabel()
- Specified by:
getLabel in interface Address
getType
public String getType()
- Specified by:
getType in interface Address
getInternal
public String getInternal()
- Specified by:
getInternal in interface Address
getBuilding
public String getBuilding()
- Specified by:
getBuilding in interface Address
getStreet
public String getStreet()
- Specified by:
getStreet in interface Address
getLocality
public String getLocality()
- Specified by:
getLocality in interface Address
getRegion
public String getRegion()
- Specified by:
getRegion in interface Address
getPostCode
public String getPostCode()
- Specified by:
getPostCode in interface Address
getCountry
public String getCountry()
- Specified by:
getCountry in interface Address
setLabel
public void setLabel(String label)
- Specified by:
setLabel in interface Address
setType
public void setType(ContactAttributeType type)
- Specified by:
setType in interface Address
setType
public void setType(String typeName)
setInternal
public void setInternal(String internal)
- Specified by:
setInternal in interface Address
setBuilding
public void setBuilding(String building)
- Specified by:
setBuilding in interface Address
setStreet
public void setStreet(String street)
- Specified by:
setStreet in interface Address
setLocality
public void setLocality(String locality)
- Specified by:
setLocality in interface Address
setRegion
public void setRegion(String region)
- Specified by:
setRegion in interface Address
setPostCode
public void setPostCode(String code)
- Specified by:
setPostCode in interface Address
setCountry
public void setCountry(String country)
- Specified by:
setCountry in interface Address
getDisplayType
public String getDisplayType()
- Specified by:
getDisplayType in interface Address
isPopulated
public boolean isPopulated()
- Usable entries must have something for a type, plus at least one of
street, building, locality, region, or country.
- Specified by:
isPopulated in interface TestableContactDependency
- Returns:
- True if populated.
Copyright © 2013 Jasig. All Rights Reserved.