|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.kim.api.identity.citizenship.EntityCitizenship.Builder
public static final class EntityCitizenship.Builder
A builder which can be used to construct EntityCitizenship instances. Enforces the constraints of the EntityCitizenshipContract.
| Method Summary | |
|---|---|
EntityCitizenship |
build()
Returns an instance of the object being built by this builder based on the current state of the builder. |
static EntityCitizenship.Builder |
create()
|
static EntityCitizenship.Builder |
create(EntityCitizenshipContract contract)
|
String |
getCountryCode()
Gets this EntityCitizenshipContract's country code. |
org.joda.time.DateTime |
getEndDate()
Gets this EntityCitizenshipContract's end date. |
String |
getEntityId()
Gets this id of the parent identity object. |
String |
getId()
The unique identifier for an object. |
String |
getObjectId()
Return the globally unique object id of this object. |
org.joda.time.DateTime |
getStartDate()
Gets this EntityCitizenshipContract's start date. |
CodedAttribute.Builder |
getStatus()
Gets this EntityCitizenshipContract's citizenship status object. |
Long |
getVersionNumber()
Returns the version number for this object. |
boolean |
isActive()
The active indicator for an object. |
void |
setActive(boolean active)
|
void |
setCountryCode(String countryCode)
|
void |
setEndDate(org.joda.time.DateTime endDate)
|
void |
setEntityId(String entityId)
|
void |
setId(String id)
|
void |
setObjectId(String objectId)
|
void |
setStartDate(org.joda.time.DateTime startDate)
|
void |
setStatus(CodedAttribute.Builder status)
|
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 EntityCitizenship.Builder create()
public static EntityCitizenship.Builder create(EntityCitizenshipContract contract)
public EntityCitizenship build()
ModelBuilder
build in interface ModelBuilderpublic String getEntityId()
EntityCitizenshipContract
getEntityId in interface EntityCitizenshipContractEntityCitizenshipContractpublic CodedAttribute.Builder getStatus()
EntityCitizenshipContractEntityCitizenshipContract's citizenship status object.
getStatus in interface EntityCitizenshipContractEntityCitizenshipContract, or null if none has been assigned.public String getCountryCode()
EntityCitizenshipContractEntityCitizenshipContract's country code.
getCountryCode in interface EntityCitizenshipContractEntityCitizenshipContract, or null if none has been assigned.public org.joda.time.DateTime getStartDate()
EntityCitizenshipContractEntityCitizenshipContract's start date.
getStartDate in interface EntityCitizenshipContractEntityCitizenshipContract, or null if none has been assigned.public org.joda.time.DateTime getEndDate()
EntityCitizenshipContractEntityCitizenshipContract's end date.
getEndDate in interface EntityCitizenshipContractEntityCitizenshipContract, or null if none has been assigned.public 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 setStatus(CodedAttribute.Builder status)
public void setCountryCode(String countryCode)
public void setStartDate(org.joda.time.DateTime startDate)
public void setEndDate(org.joda.time.DateTime endDate)
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 | |||||||||