|
||||||||||
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.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 ModelBuilder
public String getEntityId()
EntityResidencyContract
EntityResidencyContract
's identity id.
getEntityId
in interface EntityResidencyContract
EntityResidencyContract
, or null if none has been assigned.public String getDeterminationMethod()
EntityResidencyContract
EntityResidencyContract
's determination method.
getDeterminationMethod
in interface EntityResidencyContract
EntityResidencyContract
, or null if none has been assigned.public String getInState()
EntityResidencyContract
EntityResidencyContract
is in.
getInState
in interface EntityResidencyContract
EntityResidencyContract
is in, or null if none has been assigned.public Long getVersionNumber()
Versioned
getVersionNumber
in interface Versioned
public String getObjectId()
GloballyUnique
getObjectId
in interface GloballyUnique
public String getId()
Identifiable
getId
in interface Identifiable
public 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 |