org.kuali.rice.kim.api.identity.residency
Class EntityResidency.Builder

java.lang.Object
  extended by org.kuali.rice.kim.api.identity.residency.EntityResidency.Builder
All Implemented Interfaces:
Serializable, org.kuali.rice.core.api.mo.common.GloballyUnique, org.kuali.rice.core.api.mo.common.Identifiable, org.kuali.rice.core.api.mo.common.Versioned, org.kuali.rice.core.api.mo.ModelBuilder, EntityResidencyContract
Enclosing class:
EntityResidency

public static final class EntityResidency.Builder
extends Object
implements Serializable, org.kuali.rice.core.api.mo.ModelBuilder, EntityResidencyContract

A builder which can be used to construct EntityResidency instances. Enforces the constraints of the EntityResidencyContract.

See Also:
Serialized Form

Method Summary
 EntityResidency build()
           
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()
           
 String getInState()
          Gets the state this EntityResidencyContract is in.
 String getObjectId()
           
 Long getVersionNumber()
           
 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

create

public static EntityResidency.Builder create()

create

public static EntityResidency.Builder create(EntityResidencyContract contract)

build

public EntityResidency build()
Specified by:
build in interface org.kuali.rice.core.api.mo.ModelBuilder

getEntityId

public String getEntityId()
Description copied from interface: EntityResidencyContract
Gets this EntityResidencyContract's identity id.

Specified by:
getEntityId in interface EntityResidencyContract
Returns:
the identity id for this EntityResidencyContract, or null if none has been assigned.

getDeterminationMethod

public String getDeterminationMethod()
Description copied from interface: EntityResidencyContract
Gets this EntityResidencyContract's determination method.

Specified by:
getDeterminationMethod in interface EntityResidencyContract
Returns:
the determination method for this EntityResidencyContract, or null if none has been assigned.

getInState

public String getInState()
Description copied from interface: EntityResidencyContract
Gets the state this EntityResidencyContract is in.

Specified by:
getInState in interface EntityResidencyContract
Returns:
the state this EntityResidencyContract is in, or null if none has been assigned.

getVersionNumber

public Long getVersionNumber()
Specified by:
getVersionNumber in interface org.kuali.rice.core.api.mo.common.Versioned

getObjectId

public String getObjectId()
Specified by:
getObjectId in interface org.kuali.rice.core.api.mo.common.GloballyUnique

getId

public String getId()
Specified by:
getId in interface org.kuali.rice.core.api.mo.common.Identifiable

setEntityId

public void setEntityId(String entityId)

setDeterminationMethod

public void setDeterminationMethod(String determinationMethod)

setInState

public void setInState(String inState)

setVersionNumber

public void setVersionNumber(Long versionNumber)

setObjectId

public void setObjectId(String objectId)

setId

public void setId(String id)


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.