|
||||||||||
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.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. |
Type.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(Type.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 ModelBuilder
public String getId()
Identifiable
getId
in interface Identifiable
public String getEntityTypeCode()
EntityPhoneContract
EntityPhoneContract
's object.
getEntityTypeCode
in interface EntityPhoneContract
EntityPhoneContract
public String getEntityId()
EntityPhoneContract
getEntityId
in interface EntityPhoneContract
EntityPhoneContract
public Type.Builder 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 void setId(String id)
public void setEntityTypeCode(String entityTypeCode)
public void setEntityId(String entityId)
public void setPhoneType(Type.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 |