|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.kim.api.identity.phone.EntityPhone
public final class EntityPhone
Nested Class Summary | |
---|---|
static class |
EntityPhone.Builder
A builder which can be used to construct EntityPhone instances. |
(package private) static class |
EntityPhone.Constants
Defines some internal constants used on this class. |
(package private) static class |
EntityPhone.Elements
A private class which exposes constants which define the XML element names to use when this object is marshalled to XML. |
Field Summary | |
---|---|
private Collection<Element> |
_futureElements
|
private boolean |
active
|
private String |
countryCode
|
private String |
countryCodeUnmasked
|
private boolean |
defaultValue
|
private String |
entityId
|
private String |
entityTypeCode
|
private String |
extensionNumber
|
private String |
extensionNumberUnmasked
|
private String |
formattedPhoneNumber
|
private String |
formattedPhoneNumberUnmasked
|
private String |
id
|
private String |
objectId
|
private String |
phoneNumber
|
private String |
phoneNumberUnmasked
|
private Type |
phoneType
|
private boolean |
suppressPhone
|
private Long |
versionNumber
|
Constructor Summary | |
---|---|
private |
EntityPhone()
Private constructor used only by JAXB. |
private |
EntityPhone(EntityPhone.Builder builder)
|
Method Summary | |
---|---|
boolean |
equals(Object object)
All "Complete" model object's should adhere to the ModelObjectComplete.equals(Object) contract. |
String |
getCountryCode()
Gets this EntityPhone 's country code. |
String |
getCountryCodeUnmasked()
Gets this EntityPhone 's unmasked country code. |
String |
getEntityId()
Gets this id of the parent identity object. |
String |
getEntityTypeCode()
Gets this entityTypeCode of the EntityPhoneContract 's object. |
String |
getExtensionNumber()
Gets this EntityPhone 's extension number. |
String |
getExtensionNumberUnmasked()
Gets this EntityPhone 's unmasked extension number. |
String |
getFormattedPhoneNumber()
Gets this EntityPhone 's formatted phone number. |
String |
getFormattedPhoneNumberUnmasked()
Gets this EntityPhone 's unmasked formatted phone number. |
String |
getId()
The unique identifier for an object. |
String |
getObjectId()
Return the globally unique object id of this object. |
String |
getPhoneNumber()
Gets this EntityPhone 's phone number. |
String |
getPhoneNumberUnmasked()
Gets this EntityPhone 's unmasked phone number. |
Type |
getPhoneType()
Gets this EntityPhone 's type code. |
Long |
getVersionNumber()
Returns the version number for this object. |
int |
hashCode()
All "Complete" model object's should adhere to the ModelObjectComplete.hashCode() contract. |
boolean |
isActive()
The active indicator for an object. |
boolean |
isDefaultValue()
The default value for this object. |
boolean |
isSuppressPhone()
Returns a boolean value that determines if phone fields should be suppressed. |
String |
toString()
This will return a proper string representation of the Model Object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private final String id
private final String entityTypeCode
private final String entityId
private final Type phoneType
private final String phoneNumber
private final String extensionNumber
private final String countryCode
private final String phoneNumberUnmasked
private final String extensionNumberUnmasked
private final String countryCodeUnmasked
private final String formattedPhoneNumber
private final String formattedPhoneNumberUnmasked
private final boolean suppressPhone
private final boolean defaultValue
private final Long versionNumber
private final String objectId
private final boolean active
private final Collection<Element> _futureElements
Constructor Detail |
---|
private EntityPhone()
private EntityPhone(EntityPhone.Builder builder)
Method Detail |
---|
public String getId()
Identifiable
getId
in interface Identifiable
public String getEntityId()
EntityPhoneContract
getEntityId
in interface EntityPhoneContract
EntityPhoneContract
public String getEntityTypeCode()
EntityPhoneContract
EntityPhoneContract
's object.
getEntityTypeCode
in interface EntityPhoneContract
EntityPhoneContract
public Type getPhoneType()
EntityPhoneContract
EntityPhone
's type code.
getPhoneType
in interface EntityPhoneContract
EntityPhone
, or null if none has been assigned.public String getPhoneNumber()
EntityPhoneContract
EntityPhone
's phone number.
getPhoneNumber
in interface EntityPhoneContract
EntityPhone
, or null if none has been assigned.public String getExtensionNumber()
EntityPhoneContract
EntityPhone
's extension number.
getExtensionNumber
in interface EntityPhoneContract
EntityPhone
, or null if none has been assigned.public String getCountryCode()
EntityPhoneContract
EntityPhone
's country code.
getCountryCode
in interface EntityPhoneContract
EntityPhone
, or null if none has been assigned.public String getPhoneNumberUnmasked()
EntityPhoneContract
EntityPhone
's unmasked phone number.
getPhoneNumberUnmasked
in interface EntityPhoneContract
EntityPhone
, or null if none has been assigned.public String getExtensionNumberUnmasked()
EntityPhoneContract
EntityPhone
's unmasked extension number.
getExtensionNumberUnmasked
in interface EntityPhoneContract
EntityPhone
, or null if none has been assigned.public String getCountryCodeUnmasked()
EntityPhoneContract
EntityPhone
's unmasked country code.
getCountryCodeUnmasked
in interface EntityPhoneContract
EntityPhone
, or null if none has been assigned.public String getFormattedPhoneNumber()
EntityPhoneContract
EntityPhone
's formatted phone number.
getFormattedPhoneNumber
in interface EntityPhoneContract
EntityPhone
, or null if none has been assigned.public String getFormattedPhoneNumberUnmasked()
EntityPhoneContract
EntityPhone
's unmasked formatted phone number.
getFormattedPhoneNumberUnmasked
in interface EntityPhoneContract
EntityPhone
, or null if none has been assigned.public boolean isSuppressPhone()
EntityPhoneContract
isSuppressPhone
in interface EntityPhoneContract
public boolean isDefaultValue()
Defaultable
isDefaultValue
in interface Defaultable
public Long getVersionNumber()
Versioned
getVersionNumber
in interface Versioned
public String getObjectId()
GloballyUnique
getObjectId
in interface GloballyUnique
public boolean isActive()
Inactivatable
isActive
in interface Inactivatable
public int hashCode()
ModelObjectComplete
ModelObjectComplete.hashCode()
contract.
hashCode
in interface ModelObjectComplete
hashCode
in class Object
public boolean equals(Object object)
ModelObjectComplete
ModelObjectComplete.equals(Object)
contract.
equals
in interface ModelObjectComplete
equals
in class Object
object
- to object to compare for equality
public String toString()
ModelObjectBasic
toString
in interface ModelObjectBasic
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |