|
||||||||||
| 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.Builder
public static final class EntityPhone.Builder
A builder which can be used to construct EntityPhone instances. Enforces the constraints of the EntityPhoneContract.
| Method Summary | |
|---|---|
EntityPhone |
build()
Returns an instance of the object being built by this builder based on the current state of the builder. |
static EntityPhone.Builder |
create()
|
static EntityPhone.Builder |
create(EntityPhoneContract 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. |
CodedAttribute.Builder |
getPhoneType()
Gets this EntityPhone's type code. |
Long |
getVersionNumber()
Returns the version number for this object. |
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. |
void |
setActive(boolean active)
|
void |
setCountryCode(String countryCode)
|
void |
setDefaultValue(boolean defaultValue)
|
void |
setEntityId(String entityId)
|
void |
setEntityTypeCode(String entityTypeCode)
|
void |
setExtensionNumber(String extensionNumber)
|
void |
setId(String id)
|
void |
setObjectId(String objectId)
|
void |
setPhoneNumber(String phoneNumber)
|
void |
setPhoneType(CodedAttribute.Builder phoneType)
|
void |
setVersionNumber(Long versionNumber)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static EntityPhone.Builder create()
public static EntityPhone.Builder create(EntityPhoneContract contract)
public EntityPhone build()
ModelBuilder
build in interface ModelBuilderpublic String getId()
Identifiable
getId in interface Identifiablepublic String getEntityTypeCode()
EntityPhoneContractEntityPhoneContract's object.
getEntityTypeCode in interface EntityPhoneContractEntityPhoneContractpublic String getEntityId()
EntityPhoneContract
getEntityId in interface EntityPhoneContractEntityPhoneContractpublic CodedAttribute.Builder 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 void setId(String id)
public void setEntityTypeCode(String entityTypeCode)
public void setEntityId(String entityId)
public void setPhoneType(CodedAttribute.Builder phoneType)
public void setPhoneNumber(String phoneNumber)
public void setExtensionNumber(String extensionNumber)
public void setCountryCode(String countryCode)
public void setDefaultValue(boolean defaultValue)
public void setVersionNumber(Long versionNumber)
public void setObjectId(String objectId)
public void setActive(boolean active)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||