|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.kim.api.identity.residency.EntityResidency.Builder
public static final class EntityResidency.Builder
A builder which can be used to construct EntityResidency instances. Enforces the constraints of the EntityResidencyContract.
| Method Summary | |
|---|---|
EntityResidency |
build()
Returns an instance of the object being built by this builder based on the current state of the builder. |
static EntityResidency.Builder |
create()
|
static EntityResidency.Builder |
create(EntityResidencyContract contract)
|
String |
getDeterminationMethod()
Gets this EntityResidencyContract's determination method. |
String |
getEntityId()
Gets this EntityResidencyContract's identity id. |
String |
getId()
The unique identifier for an object. |
String |
getInState()
Gets the state this EntityResidencyContract is in. |
String |
getObjectId()
Return the globally unique object id of this object. |
Long |
getVersionNumber()
Returns the version number for this object. |
void |
setDeterminationMethod(String determinationMethod)
|
void |
setEntityId(String entityId)
|
void |
setId(String id)
|
void |
setInState(String inState)
|
void |
setObjectId(String objectId)
|
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 EntityResidency.Builder create()
public static EntityResidency.Builder create(EntityResidencyContract contract)
public EntityResidency build()
ModelBuilder
build in interface ModelBuilderpublic String getEntityId()
EntityResidencyContractEntityResidencyContract's identity id.
getEntityId in interface EntityResidencyContractEntityResidencyContract, or null if none has been assigned.public String getDeterminationMethod()
EntityResidencyContractEntityResidencyContract's determination method.
getDeterminationMethod in interface EntityResidencyContractEntityResidencyContract, or null if none has been assigned.public String getInState()
EntityResidencyContractEntityResidencyContract is in.
getInState in interface EntityResidencyContractEntityResidencyContract is in, or null if none has been assigned.public Long getVersionNumber()
Versioned
getVersionNumber in interface Versionedpublic String getObjectId()
GloballyUnique
getObjectId in interface GloballyUniquepublic String getId()
Identifiable
getId in interface Identifiablepublic void setEntityId(String entityId)
public void setDeterminationMethod(String determinationMethod)
public void setInState(String inState)
public void setVersionNumber(Long versionNumber)
public void setObjectId(String objectId)
public void setId(String id)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||