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() |
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() |
String |
getObjectId() |
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() |
boolean |
isActive() |
boolean |
isDefaultValue() |
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()
build in interface ModelBuilderpublic String getId()
getId 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()
isDefaultValue in interface Defaultablepublic Long getVersionNumber()
getVersionNumber in interface Versionedpublic String getObjectId()
getObjectId in interface GloballyUniquepublic boolean isActive()
isActive 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–2017 The Kuali Foundation. All rights reserved.