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

java.lang.Object
  extended by org.kuali.student.contract.model.test.source.HasAttributesInfo.Builder
      extended by org.kuali.student.contract.model.test.source.StateInfo.Builder
All Implemented Interfaces:
HasAttributes, HasEffectiveDates, HasKey, HasPrimaryKey, ModelBuilder<StateInfo>, State
Enclosing class:
StateInfo

public static class StateInfo.Builder
extends HasAttributesInfo.Builder
implements ModelBuilder<StateInfo>, State


Constructor Summary
StateInfo.Builder()
           
StateInfo.Builder(State stateInfo)
           
 
Method Summary
 StateInfo build()
           
 String getDescr()
          Name: Description Narrative description of the State
 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 getKey()
          Unique key to this object.
 String getName()
          Name: Name Friendly name of the State
 void setDescr(String descr)
           
 void setEffectiveDate(Date effectiveDate)
           
 void setExpirationDate(Date expirationDate)
           
 void setKey(String key)
           
 void setName(String name)
           
 
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
 

Constructor Detail

StateInfo.Builder

public StateInfo.Builder()

StateInfo.Builder

public StateInfo.Builder(State stateInfo)
Method Detail

build

public StateInfo build()
Specified by:
build in interface ModelBuilder<StateInfo>

getKey

public String getKey()
Description copied from interface: HasKey
Unique key to this object. Unlike an Id this key can be explicitly set by the application and is intended to be "somewhat" readable by a human. A Key:

Specified by:
getKey in interface HasKey

setKey

public void setKey(String key)

getName

public String getName()
Description copied from interface: State
Name: Name Friendly name of the State

Specified by:
getName in interface State

setName

public void setName(String name)

getDescr

public String getDescr()
Description copied from interface: State
Name: Description Narrative description of the State

Specified by:
getDescr in interface State

setDescr

public void setDescr(String descr)

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–2014 The Kuali Foundation. All rights reserved.