public static final class EntityPhone.Builder extends Object implements Serializable, ModelBuilder, EntityPhoneContract
EntityPhone instances. Enforces the constraints of the EntityPhoneContract.| Modifier and Type | Method and Description |
|---|---|
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) |
public static EntityPhone.Builder create()
public static EntityPhone.Builder create(EntityPhoneContract contract)
public EntityPhone build()
ModelBuilderbuild in interface ModelBuilderpublic String getId()
IdentifiablegetId in interface Identifiablepublic String getEntityTypeCode()
EntityPhoneContractEntityPhoneContract's object.getEntityTypeCode in interface EntityPhoneContractEntityPhoneContractpublic String getEntityId()
EntityPhoneContractgetEntityId 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()
EntityPhoneContractisSuppressPhone in interface EntityPhoneContractpublic boolean isDefaultValue()
DefaultableisDefaultValue in interface Defaultablepublic Long getVersionNumber()
VersionedgetVersionNumber in interface Versionedpublic String getObjectId()
GloballyUniquegetObjectId in interface GloballyUniquepublic boolean isActive()
InactivatableisActive in interface Inactivatablepublic 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)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.