public static final class EntityResidency.Builder extends Object implements Serializable, ModelBuilder, EntityResidencyContract
EntityResidency
instances. Enforces the constraints of the EntityResidencyContract
.Modifier and Type | Method and Description |
---|---|
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) |
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)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.