public static final class EntityAddress.Builder extends Object implements Serializable, ModelBuilder, EntityAddressContract
EntityAddress instances. Enforces the constraints of the EntityAddressContract.| Modifier and Type | Method and Description |
|---|---|
EntityAddress |
build()
Returns an instance of the object being built by this builder based
on the current state of the builder.
|
static EntityAddress.Builder |
create() |
static EntityAddress.Builder |
create(EntityAddressContract contract) |
String |
getAddressFormat()
Returns the
EntityAddressContract's address format
Corresponds to PESC AddressFormat |
CodedAttribute.Builder |
getAddressType()
Gets this
EntityAddressContract's address type code. |
String |
getAttentionLine()
Returns the attention line for this
EntityAddressContract
Corresponds to PESC AttentionLine |
String |
getAttentionLineUnmasked()
Returns the unmasked attention line for this
EntityAddressContract |
String |
getCity()
Gets this
EntityAddressContract's city name. |
String |
getCityUnmasked()
Gets this
EntityAddressContract's unmasked city name. |
String |
getCountryCode()
Gets this
EntityAddressContract's country code. |
String |
getCountryCodeUnmasked()
Gets this
EntityAddressContract's unmasked country code. |
String |
getEntityId()
Gets this id of the parent identity object.
|
String |
getEntityTypeCode()
Gets this entityTypeCode of the
EntityAddressContract's object. |
String |
getId()
The unique identifier for an object.
|
String |
getLine1()
Gets this
EntityAddressContract's first line. |
String |
getLine1Unmasked()
Gets this
EntityAddressContract's unmasked first line. |
String |
getLine2()
Gets this
EntityAddressContract's second line. |
String |
getLine2Unmasked()
Gets this
EntityAddressContract's unmasked second line. |
String |
getLine3()
Gets this
EntityAddressContract's third line. |
String |
getLine3Unmasked()
Gets this
EntityAddressContract's unmasked third line. |
org.joda.time.DateTime |
getModifiedDate()
Returns the
EntityAddressContract's modification date
Corresponds to PESC ModifiedDate |
String |
getNoteMessage()
Returns the
EntityAddressContract's note/message
Corresponds to PESC NoteMessage |
String |
getObjectId()
Return the globally unique object id of this object.
|
String |
getPostalCode()
Gets this
EntityAddressContract's postal code. |
String |
getPostalCodeUnmasked()
Gets this
EntityAddressContract's unmasked postal code. |
String |
getStateProvinceCode()
Gets this
EntityAddressContract's state code. |
String |
getStateProvinceCodeUnmasked()
Gets this
EntityAddressContract's unmasked state code. |
org.joda.time.DateTime |
getValidatedDate()
Returns the
EntityAddressContract's validation date
Corresponds to PESC ValidatedDate |
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 |
isSuppressAddress()
Returns a boolean value that determines if address fields should be suppressed.
|
boolean |
isValidated()
Returns whether the
EntityAddressContract is validated
Corresponds to PESC Validated |
void |
setActive(boolean active) |
void |
setAddressFormat(String addressFormat) |
void |
setAddressType(CodedAttribute.Builder addressType) |
void |
setAttentionLine(String attnLine) |
void |
setCity(String city) |
void |
setCountryCode(String countryCode) |
void |
setDefaultValue(boolean defaultValue) |
void |
setEntityId(String entityId) |
void |
setEntityTypeCode(String entityTypeCode) |
void |
setId(String id) |
void |
setLine1(String line1) |
void |
setLine2(String line2) |
void |
setLine3(String line3) |
void |
setModifiedDate(org.joda.time.DateTime modifiedDate) |
void |
setNoteMessage(String noteMessage) |
void |
setObjectId(String objectId) |
void |
setPostalCode(String postalCode) |
void |
setStateProvinceCode(String stateProvinceCode) |
void |
setValidated(boolean validated) |
void |
setValidatedDate(org.joda.time.DateTime validatedDate) |
void |
setVersionNumber(Long versionNumber) |
public static EntityAddress.Builder create()
public static EntityAddress.Builder create(EntityAddressContract contract)
public EntityAddress build()
ModelBuilderbuild in interface ModelBuilderpublic String getEntityId()
EntityAddressContractgetEntityId in interface EntityAddressContractEntityAddressContractpublic String getEntityTypeCode()
EntityAddressContractEntityAddressContract's object.getEntityTypeCode in interface EntityAddressContractEntityAddressContractpublic CodedAttribute.Builder getAddressType()
EntityAddressContractEntityAddressContract's address type code.getAddressType in interface EntityAddressContractEntityAddressContract, or null if none has been assigned.public String getAttentionLine()
EntityAddressContractEntityAddressContract
Corresponds to PESC AttentionLinegetAttentionLine in interface EntityAddressContractpublic String getLine1()
EntityAddressContractEntityAddressContract's first line.getLine1 in interface EntityAddressContractEntityAddressContract, or null if none has been assigned.public String getLine2()
EntityAddressContractEntityAddressContract's second line.getLine2 in interface EntityAddressContractEntityAddressContract, or null if none has been assigned.public String getLine3()
EntityAddressContractEntityAddressContract's third line.getLine3 in interface EntityAddressContractEntityAddressContract, or null if none has been assigned.public String getCity()
EntityAddressContractEntityAddressContract's city name.
Corresponds to PESC City.getCity in interface EntityAddressContractEntityAddressContract, or null if none has been assigned.public String getStateProvinceCode()
EntityAddressContractEntityAddressContract's state code.
Corresponds to PESC StateProvinceCode.getStateProvinceCode in interface EntityAddressContractEntityAddressContract, or null if none has been assigned.public String getPostalCode()
EntityAddressContractEntityAddressContract's postal code.getPostalCode in interface EntityAddressContractEntityAddressContract, or null if none has been assigned.public String getCountryCode()
EntityAddressContractEntityAddressContract's country code.getCountryCode in interface EntityAddressContractEntityAddressContract, or null if none has been assigned.public String getAttentionLineUnmasked()
EntityAddressContractEntityAddressContractgetAttentionLineUnmasked in interface EntityAddressContractpublic String getLine1Unmasked()
EntityAddressContractEntityAddressContract's unmasked first line.getLine1Unmasked in interface EntityAddressContractEntityAddressContract, or null if none has been assigned.public String getLine2Unmasked()
EntityAddressContractEntityAddressContract's unmasked second line.getLine2Unmasked in interface EntityAddressContractEntityAddressContract, or null if none has been assigned.public String getLine3Unmasked()
EntityAddressContractEntityAddressContract's unmasked third line.getLine3Unmasked in interface EntityAddressContractEntityAddressContract, or null if none has been assigned.public String getCityUnmasked()
EntityAddressContractEntityAddressContract's unmasked city name.getCityUnmasked in interface EntityAddressContractEntityAddressContract, or null if none has been assigned.public String getStateProvinceCodeUnmasked()
EntityAddressContractEntityAddressContract's unmasked state code.getStateProvinceCodeUnmasked in interface EntityAddressContractEntityAddressContract, or null if none has been assigned.public String getPostalCodeUnmasked()
EntityAddressContractEntityAddressContract's unmasked postal code.getPostalCodeUnmasked in interface EntityAddressContractEntityAddressContract, or null if none has been assigned.public String getCountryCodeUnmasked()
EntityAddressContractEntityAddressContract's unmasked country code.getCountryCodeUnmasked in interface EntityAddressContractEntityAddressContract, or null if none has been assigned.public String getAddressFormat()
EntityAddressContractEntityAddressContract's address format
Corresponds to PESC AddressFormatgetAddressFormat in interface EntityAddressContractpublic org.joda.time.DateTime getModifiedDate()
EntityAddressContractEntityAddressContract's modification date
Corresponds to PESC ModifiedDategetModifiedDate in interface EntityAddressContractpublic org.joda.time.DateTime getValidatedDate()
EntityAddressContractEntityAddressContract's validation date
Corresponds to PESC ValidatedDategetValidatedDate in interface EntityAddressContractpublic boolean isValidated()
EntityAddressContractEntityAddressContract is validated
Corresponds to PESC ValidatedisValidated in interface EntityAddressContractpublic String getNoteMessage()
EntityAddressContractEntityAddressContract's note/message
Corresponds to PESC NoteMessagegetNoteMessage in interface EntityAddressContractpublic boolean isSuppressAddress()
EntityAddressContractisSuppressAddress in interface EntityAddressContractpublic boolean isDefaultValue()
DefaultableisDefaultValue in interface Defaultablepublic Long getVersionNumber()
VersionedgetVersionNumber in interface Versionedpublic String getObjectId()
GloballyUniquegetObjectId in interface GloballyUniquepublic boolean isActive()
InactivatableisActive in interface Inactivatablepublic String getId()
IdentifiablegetId in interface Identifiablepublic void setEntityId(String entityId)
public void setEntityTypeCode(String entityTypeCode)
public void setAddressType(CodedAttribute.Builder addressType)
public void setAttentionLine(String attnLine)
public void setStateProvinceCode(String stateProvinceCode)
public void setPostalCode(String postalCode)
public void setCountryCode(String countryCode)
public void setAddressFormat(String addressFormat)
public void setModifiedDate(org.joda.time.DateTime modifiedDate)
public void setValidatedDate(org.joda.time.DateTime validatedDate)
public void setValidated(boolean validated)
public void setNoteMessage(String noteMessage)
public void setDefaultValue(boolean defaultValue)
public void setVersionNumber(Long versionNumber)
public void setObjectId(String objectId)
public void setActive(boolean active)
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.