org.kuali.rice.kim.bo.entity.dto
Class KimEntityPhoneInfo

java.lang.Object
  extended by org.kuali.rice.kim.bo.entity.dto.KimInactivatableInfo
      extended by org.kuali.rice.kim.bo.entity.dto.KimDefaultableInfo
          extended by org.kuali.rice.kim.bo.entity.dto.KimEntityPhoneInfo
All Implemented Interfaces:
Serializable, KimDefaultableEntityTypeData, KimEntityPhone, Defaultable, DefaultableInactivateable, Inactivateable

public class KimEntityPhoneInfo
extends KimDefaultableInfo
implements KimEntityPhone

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Field Summary
protected  String countryCode
           
protected  String countryCodeUnmasked
           
protected  String entityPhoneId
           
protected  String entityTypeCode
           
protected  String extensionNumber
           
protected  String extensionNumberUnmasked
           
protected  String formattedPhoneNumber
           
protected  String formattedPhoneNumberUnmasked
           
protected  String phoneNumber
           
protected  String phoneNumberUnmasked
           
protected  String phoneTypeCode
           
private static long serialVersionUID
           
protected  boolean suppressPhone
           
 
Fields inherited from class org.kuali.rice.kim.bo.entity.dto.KimDefaultableInfo
dflt
 
Fields inherited from class org.kuali.rice.kim.bo.entity.dto.KimInactivatableInfo
active
 
Constructor Summary
KimEntityPhoneInfo()
          constructs an empty KimEntityPhoneInfo
KimEntityPhoneInfo(KimEntityPhone phone)
          constructs a KimEntityPhoneInfo derived from the given KimEntityPhone
 
Method Summary
 String getCountryCode()
          Gets this KimEntityPhone's country code.
 String getCountryCodeUnmasked()
          Gets this KimEntityPhone's unmasked country code.
 String getEntityPhoneId()
          Gets this KimEntityPhone's id.
 String getEntityTypeCode()
          
 String getExtensionNumber()
          Gets this KimEntityPhone's extension number.
 String getExtensionNumberUnmasked()
          Gets this KimEntityPhone's unmasked extension number.
 String getFormattedPhoneNumber()
          Gets this KimEntityPhone's formatted phone number.
 String getFormattedPhoneNumberUnmasked()
          Gets this KimEntityPhone's unmasked formatted phone number.
 String getPhoneNumber()
          Gets this KimEntityPhone's phone number.
 String getPhoneNumberUnmasked()
          Gets this KimEntityPhone's unmasked phone number.
 String getPhoneTypeCode()
          Gets this KimEntityPhone's type code.
 boolean isSuppressPhone()
          
 void setCountryCode(String countryCode)
           
 void setCountryCodeUnmasked(String countryCodeUnmasked)
           
 void setEntityPhoneId(String entityPhoneId)
           
 void setEntityTypeCode(String entityTypeCode)
           
 void setExtensionNumber(String extensionNumber)
           
 void setExtensionNumberUnmasked(String extensionNumberUnmasked)
           
 void setFormattedPhoneNumber(String formattedPhoneNumber)
           
 void setFormattedPhoneNumberUnmasked(String formattedPhoneNumberUnmasked)
           
 void setPhoneNumber(String phoneNumber)
           
 void setPhoneNumberUnmasked(String phoneNumberUnmasked)
           
 void setPhoneTypeCode(String phoneTypeCode)
           
 void setSuppressPhone(boolean suppressPhone)
           
 
Methods inherited from class org.kuali.rice.kim.bo.entity.dto.KimDefaultableInfo
isDefault, setDefault
 
Methods inherited from class org.kuali.rice.kim.bo.entity.dto.KimInactivatableInfo
isActive, setActive
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.kns.bo.Defaultable
isDefault, setDefault
 
Methods inherited from interface org.kuali.rice.kns.bo.Inactivateable
isActive, setActive
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

entityPhoneId

protected String entityPhoneId

entityTypeCode

protected String entityTypeCode

phoneTypeCode

protected String phoneTypeCode

phoneNumber

protected String phoneNumber

extensionNumber

protected String extensionNumber

countryCode

protected String countryCode

phoneNumberUnmasked

protected String phoneNumberUnmasked

extensionNumberUnmasked

protected String extensionNumberUnmasked

countryCodeUnmasked

protected String countryCodeUnmasked

formattedPhoneNumber

protected String formattedPhoneNumber

formattedPhoneNumberUnmasked

protected String formattedPhoneNumberUnmasked

suppressPhone

protected boolean suppressPhone
Constructor Detail

KimEntityPhoneInfo

public KimEntityPhoneInfo()
constructs an empty KimEntityPhoneInfo


KimEntityPhoneInfo

public KimEntityPhoneInfo(KimEntityPhone phone)
constructs a KimEntityPhoneInfo derived from the given KimEntityPhone

Method Detail

getEntityPhoneId

public String getEntityPhoneId()
Gets this KimEntityPhone's id.

Specified by:
getEntityPhoneId in interface KimEntityPhone
Returns:
the id for this KimEntityPhone, or null if none has been assigned.
See Also:
KimEntityPhone.getEntityPhoneId()

setEntityPhoneId

public void setEntityPhoneId(String entityPhoneId)
Parameters:
entityPhoneId - the entityPhoneId to set

getEntityTypeCode

public String getEntityTypeCode()

Specified by:
getEntityTypeCode in interface KimDefaultableEntityTypeData
See Also:
KimDefaultableEntityTypeData.getEntityTypeCode()

setEntityTypeCode

public void setEntityTypeCode(String entityTypeCode)
Parameters:
entityTypeCode - the entityTypeCode to set

getPhoneTypeCode

public String getPhoneTypeCode()
Gets this KimEntityPhone's type code.

Specified by:
getPhoneTypeCode in interface KimEntityPhone
Returns:
the type code for this KimEntityPhone, or null if none has been assigned.
See Also:
KimEntityPhone.getPhoneTypeCode()

setPhoneTypeCode

public void setPhoneTypeCode(String phoneTypeCode)
Parameters:
phoneTypeCode - the phoneTypeCode to set

getPhoneNumber

public String getPhoneNumber()
Gets this KimEntityPhone's phone number.

Specified by:
getPhoneNumber in interface KimEntityPhone
Returns:
the phone number for this KimEntityPhone, or null if none has been assigned.
See Also:
KimEntityPhone.getPhoneNumber()

setPhoneNumber

public void setPhoneNumber(String phoneNumber)
Parameters:
phoneNumber - the phoneNumber to set

getExtensionNumber

public String getExtensionNumber()
Gets this KimEntityPhone's extension number.

Specified by:
getExtensionNumber in interface KimEntityPhone
Returns:
the extension number for this KimEntityPhone, or null if none has been assigned.
See Also:
KimEntityPhone.getExtensionNumber()

setExtensionNumber

public void setExtensionNumber(String extensionNumber)
Parameters:
extensionNumber - the extensionNumber to set

getCountryCode

public String getCountryCode()
Gets this KimEntityPhone's country code.

Specified by:
getCountryCode in interface KimEntityPhone
Returns:
the country code for this KimEntityPhone, or null if none has been assigned.
See Also:
KimEntityPhone.getCountryCode()

setCountryCode

public void setCountryCode(String countryCode)
Parameters:
countryCode - the countryCode to set

getPhoneNumberUnmasked

public String getPhoneNumberUnmasked()
Gets this KimEntityPhone's unmasked phone number.

Specified by:
getPhoneNumberUnmasked in interface KimEntityPhone
Returns:
the unmasked phone number for this KimEntityPhone, or null if none has been assigned.
See Also:
KimEntityPhone.getPhoneNumberUnmasked()

setPhoneNumberUnmasked

public void setPhoneNumberUnmasked(String phoneNumberUnmasked)
Parameters:
phoneNumberUnmasked - the phoneNumberUnmasked to set

getExtensionNumberUnmasked

public String getExtensionNumberUnmasked()
Gets this KimEntityPhone's unmasked extension number.

Specified by:
getExtensionNumberUnmasked in interface KimEntityPhone
Returns:
the unmasked extension number for this KimEntityPhone, or null if none has been assigned.
See Also:
KimEntityPhone.getExtensionNumberUnmasked()

setExtensionNumberUnmasked

public void setExtensionNumberUnmasked(String extensionNumberUnmasked)
Parameters:
extensionNumberUnmasked - the extensionNumberUnmasked to set

getCountryCodeUnmasked

public String getCountryCodeUnmasked()
Gets this KimEntityPhone's unmasked country code.

Specified by:
getCountryCodeUnmasked in interface KimEntityPhone
Returns:
the unmasked country code for this KimEntityPhone, or null if none has been assigned.
See Also:
KimEntityPhone.getCountryCodeUnmasked()

setCountryCodeUnmasked

public void setCountryCodeUnmasked(String countryCodeUnmasked)
Parameters:
countryCodeUnmasked - the countryCodeUnmasked to set

getFormattedPhoneNumber

public String getFormattedPhoneNumber()
Gets this KimEntityPhone's formatted phone number.

Specified by:
getFormattedPhoneNumber in interface KimEntityPhone
Returns:
the formatted phone number for this KimEntityPhone, or null if none has been assigned.
See Also:
KimEntityPhone.getFormattedPhoneNumber()

setFormattedPhoneNumber

public void setFormattedPhoneNumber(String formattedPhoneNumber)
Parameters:
formattedPhoneNumber - the formattedPhoneNumber to set

getFormattedPhoneNumberUnmasked

public String getFormattedPhoneNumberUnmasked()
Gets this KimEntityPhone's unmasked formatted phone number.

Specified by:
getFormattedPhoneNumberUnmasked in interface KimEntityPhone
Returns:
the unmasked formatted phone number for this KimEntityPhone, or null if none has been assigned.
See Also:
KimEntityPhone.getFormattedPhoneNumberUnmasked()

setFormattedPhoneNumberUnmasked

public void setFormattedPhoneNumberUnmasked(String formattedPhoneNumberUnmasked)
Parameters:
formattedPhoneNumberUnmasked - the formattedPhoneNumberUnmasked to set

isSuppressPhone

public boolean isSuppressPhone()

Specified by:
isSuppressPhone in interface KimEntityPhone
See Also:
KimEntityPhone.isSuppressPhone()

setSuppressPhone

public void setSuppressPhone(boolean suppressPhone)
Parameters:
suppressPhone - the suppressPhone to set


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.