|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.kim.api.identity.address.EntityAddress.Builder
public static final class EntityAddress.Builder
A builder which can be used to construct EntityAddress instances. Enforces the constraints of the EntityAddressContract.
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static EntityAddress.Builder create()
public static EntityAddress.Builder create(EntityAddressContract contract)
public EntityAddress build()
ModelBuilder
build in interface ModelBuilderpublic String getEntityId()
EntityAddressContract
getEntityId 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 AttentionLine
getAttentionLine 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()
EntityAddressContractEntityAddressContract
getAttentionLineUnmasked 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 AddressFormat
getAddressFormat in interface EntityAddressContractpublic org.joda.time.DateTime getModifiedDate()
EntityAddressContractEntityAddressContract's modification date
Corresponds to PESC ModifiedDate
getModifiedDate in interface EntityAddressContractpublic org.joda.time.DateTime getValidatedDate()
EntityAddressContractEntityAddressContract's validation date
Corresponds to PESC ValidatedDate
getValidatedDate in interface EntityAddressContractpublic boolean isValidated()
EntityAddressContractEntityAddressContract is validated
Corresponds to PESC Validated
isValidated in interface EntityAddressContractpublic String getNoteMessage()
EntityAddressContractEntityAddressContract's note/message
Corresponds to PESC NoteMessage
getNoteMessage in interface EntityAddressContractpublic boolean isSuppressAddress()
EntityAddressContract
isSuppressAddress in interface EntityAddressContractpublic 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 String getId()
Identifiable
getId 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 setLine1(String line1)
public void setLine2(String line2)
public void setLine3(String line3)
public void setCity(String city)
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)
public void setId(String id)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||