|
||||||||||
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.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 ModelBuilder
public String getEntityId()
EntityAddressContract
getEntityId
in interface EntityAddressContract
EntityAddressContract
public String getEntityTypeCode()
EntityAddressContract
EntityAddressContract
's object.
getEntityTypeCode
in interface EntityAddressContract
EntityAddressContract
public CodedAttribute.Builder getAddressType()
EntityAddressContract
EntityAddressContract
's address type code.
getAddressType
in interface EntityAddressContract
EntityAddressContract
, or null if none has been assigned.public String getAttentionLine()
EntityAddressContract
EntityAddressContract
Corresponds to PESC AttentionLine
getAttentionLine
in interface EntityAddressContract
public String getLine1()
EntityAddressContract
EntityAddressContract
's first line.
getLine1
in interface EntityAddressContract
EntityAddressContract
, or null if none has been assigned.public String getLine2()
EntityAddressContract
EntityAddressContract
's second line.
getLine2
in interface EntityAddressContract
EntityAddressContract
, or null if none has been assigned.public String getLine3()
EntityAddressContract
EntityAddressContract
's third line.
getLine3
in interface EntityAddressContract
EntityAddressContract
, or null if none has been assigned.public String getCity()
EntityAddressContract
EntityAddressContract
's city name.
Corresponds to PESC City.
getCity
in interface EntityAddressContract
EntityAddressContract
, or null if none has been assigned.public String getStateProvinceCode()
EntityAddressContract
EntityAddressContract
's state code.
Corresponds to PESC StateProvinceCode.
getStateProvinceCode
in interface EntityAddressContract
EntityAddressContract
, or null if none has been assigned.public String getPostalCode()
EntityAddressContract
EntityAddressContract
's postal code.
getPostalCode
in interface EntityAddressContract
EntityAddressContract
, or null if none has been assigned.public String getCountryCode()
EntityAddressContract
EntityAddressContract
's country code.
getCountryCode
in interface EntityAddressContract
EntityAddressContract
, or null if none has been assigned.public String getAttentionLineUnmasked()
EntityAddressContract
EntityAddressContract
getAttentionLineUnmasked
in interface EntityAddressContract
public String getLine1Unmasked()
EntityAddressContract
EntityAddressContract
's unmasked first line.
getLine1Unmasked
in interface EntityAddressContract
EntityAddressContract
, or null if none has been assigned.public String getLine2Unmasked()
EntityAddressContract
EntityAddressContract
's unmasked second line.
getLine2Unmasked
in interface EntityAddressContract
EntityAddressContract
, or null if none has been assigned.public String getLine3Unmasked()
EntityAddressContract
EntityAddressContract
's unmasked third line.
getLine3Unmasked
in interface EntityAddressContract
EntityAddressContract
, or null if none has been assigned.public String getCityUnmasked()
EntityAddressContract
EntityAddressContract
's unmasked city name.
getCityUnmasked
in interface EntityAddressContract
EntityAddressContract
, or null if none has been assigned.public String getStateProvinceCodeUnmasked()
EntityAddressContract
EntityAddressContract
's unmasked state code.
getStateProvinceCodeUnmasked
in interface EntityAddressContract
EntityAddressContract
, or null if none has been assigned.public String getPostalCodeUnmasked()
EntityAddressContract
EntityAddressContract
's unmasked postal code.
getPostalCodeUnmasked
in interface EntityAddressContract
EntityAddressContract
, or null if none has been assigned.public String getCountryCodeUnmasked()
EntityAddressContract
EntityAddressContract
's unmasked country code.
getCountryCodeUnmasked
in interface EntityAddressContract
EntityAddressContract
, or null if none has been assigned.public String getAddressFormat()
EntityAddressContract
EntityAddressContract
's address format
Corresponds to PESC AddressFormat
getAddressFormat
in interface EntityAddressContract
public org.joda.time.DateTime getModifiedDate()
EntityAddressContract
EntityAddressContract
's modification date
Corresponds to PESC ModifiedDate
getModifiedDate
in interface EntityAddressContract
public org.joda.time.DateTime getValidatedDate()
EntityAddressContract
EntityAddressContract
's validation date
Corresponds to PESC ValidatedDate
getValidatedDate
in interface EntityAddressContract
public boolean isValidated()
EntityAddressContract
EntityAddressContract
is validated
Corresponds to PESC Validated
isValidated
in interface EntityAddressContract
public String getNoteMessage()
EntityAddressContract
EntityAddressContract
's note/message
Corresponds to PESC NoteMessage
getNoteMessage
in interface EntityAddressContract
public boolean isSuppressAddress()
EntityAddressContract
isSuppressAddress
in interface EntityAddressContract
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 String getId()
Identifiable
getId
in interface Identifiable
public 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 |