|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 Identifiablepublic String getEntityId()
EntityPhoneContract
getEntityId in interface EntityPhoneContractEntityPhoneContractpublic String getEntityTypeCode()
EntityPhoneContractEntityPhoneContract's object.
getEntityTypeCode in interface EntityPhoneContractEntityPhoneContractpublic Type getPhoneType()
EntityPhoneContractEntityPhone's type code.
getPhoneType in interface EntityPhoneContractEntityPhone, or null if none has been assigned.public String getPhoneNumber()
EntityPhoneContractEntityPhone's phone number.
getPhoneNumber in interface EntityPhoneContractEntityPhone, or null if none has been assigned.public String getExtensionNumber()
EntityPhoneContractEntityPhone's extension number.
getExtensionNumber in interface EntityPhoneContractEntityPhone, or null if none has been assigned.public String getCountryCode()
EntityPhoneContractEntityPhone's country code.
getCountryCode in interface EntityPhoneContractEntityPhone, or null if none has been assigned.public String getPhoneNumberUnmasked()
EntityPhoneContractEntityPhone's unmasked phone number.
getPhoneNumberUnmasked in interface EntityPhoneContractEntityPhone, or null if none has been assigned.public String getExtensionNumberUnmasked()
EntityPhoneContractEntityPhone's unmasked extension number.
getExtensionNumberUnmasked in interface EntityPhoneContractEntityPhone, or null if none has been assigned.public String getCountryCodeUnmasked()
EntityPhoneContractEntityPhone's unmasked country code.
getCountryCodeUnmasked in interface EntityPhoneContractEntityPhone, or null if none has been assigned.public String getFormattedPhoneNumber()
EntityPhoneContractEntityPhone's formatted phone number.
getFormattedPhoneNumber in interface EntityPhoneContractEntityPhone, or null if none has been assigned.public String getFormattedPhoneNumberUnmasked()
EntityPhoneContractEntityPhone's unmasked formatted phone number.
getFormattedPhoneNumberUnmasked in interface EntityPhoneContractEntityPhone, or null if none has been assigned.public boolean isSuppressPhone()
EntityPhoneContract
isSuppressPhone in interface EntityPhoneContractpublic boolean isDefaultValue()
Defaultable
isDefaultValue in interface Defaultablepublic Long getVersionNumber()
Versioned
getVersionNumber in interface Versionedpublic String getObjectId()
GloballyUnique
getObjectId in interface GloballyUniquepublic boolean isActive()
Inactivatable
isActive in interface Inactivatablepublic int hashCode()
ModelObjectCompleteModelObjectComplete.hashCode() contract.
hashCode in interface ModelObjectCompletehashCode in class Objectpublic boolean equals(Object object)
ModelObjectCompleteModelObjectComplete.equals(Object) contract.
equals in interface ModelObjectCompleteequals in class Objectobject - to object to compare for equality
public String toString()
ModelObjectBasic
toString in interface ModelObjectBasictoString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||