org.kuali.student.contract.model.test.source
Class RelationshipInfo.Builder

java.lang.Object
  extended by org.kuali.student.contract.model.test.source.HasAttributesInfo.Builder
      extended by org.kuali.student.contract.model.test.source.HasAttributesAndMetaInfo.Builder
          extended by org.kuali.student.contract.model.test.source.RelationshipInfo.Builder
All Implemented Interfaces:
HasAttributes, HasAttributesAndMeta, HasEffectiveDates, HasId, HasMeta, HasPrimaryKey, HasState, HasType, Relationship
Direct Known Subclasses:
LprInfo.Builder
Enclosing class:
RelationshipInfo

public static class RelationshipInfo.Builder
extends HasAttributesAndMetaInfo.Builder
implements Relationship


Constructor Summary
RelationshipInfo.Builder()
           
RelationshipInfo.Builder(Relationship amrInfo)
           
 
Method Summary
 Date getEffectiveDate()
          Name:Effective Date Date/time this object became effective.
 Date getExpirationDate()
          Name: Expiration Date Date/time this relationship is no longer effective.
 String getId()
          The system assigned unique id to identify this Object.
 String getStateKey()
          Name: State Key Unique identifier for the state of this object.
 String getTypeKey()
          Unique key for the type of this object.
 void setEffectiveDate(Date effectiveDate)
           
 void setExpirationDate(Date expirationDate)
           
 void setId(String id)
           
 void setStateKey(String stateKey)
           
 void setTypeKey(String typeKey)
           
 
Methods inherited from class org.kuali.student.contract.model.test.source.HasAttributesAndMetaInfo.Builder
getMeta, setMetaInfo
 
Methods inherited from class org.kuali.student.contract.model.test.source.HasAttributesInfo.Builder
getAttributes, setAttributes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.kuali.student.contract.model.test.source.HasAttributes
getAttributes
 
Methods inherited from interface org.kuali.student.contract.model.test.source.HasMeta
getMeta
 

Constructor Detail

RelationshipInfo.Builder

public RelationshipInfo.Builder()

RelationshipInfo.Builder

public RelationshipInfo.Builder(Relationship amrInfo)
Method Detail

getId

public String getId()
Description copied from interface: HasId
The system assigned unique id to identify this Object. Could be implemented as as sequence number or as a UUID. Attempts to set this value on creates should result in a ReadOnlyException being thrown An Id:

Specified by:
getId in interface HasId

setId

public void setId(String id)

getTypeKey

public String getTypeKey()
Description copied from interface: HasType
Unique key for the type of this object. This key must exist in the list returned by the getTypes () method for this service.

Specified by:
getTypeKey in interface HasType

setTypeKey

public void setTypeKey(String typeKey)

getStateKey

public String getStateKey()
Description copied from interface: HasState
Name: State Key Unique identifier for the state of this object.

Specified by:
getStateKey in interface HasState
Returns:
the state

setStateKey

public void setStateKey(String stateKey)

getEffectiveDate

public Date getEffectiveDate()
Description copied from interface: HasEffectiveDates
Name:Effective Date Date/time this object became effective. Must be less than or equal to the expirationDate specified.

Specified by:
getEffectiveDate in interface HasEffectiveDates

setEffectiveDate

public void setEffectiveDate(Date effectiveDate)

getExpirationDate

public Date getExpirationDate()
Description copied from interface: HasEffectiveDates
Name: Expiration Date Date/time this relationship is no longer effective. Must be greater than or equal to the effectiveDate specified.

Specified by:
getExpirationDate in interface HasEffectiveDates

setExpirationDate

public void setExpirationDate(Date expirationDate)


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