org.kuali.student.enrollment.acal.dto
Class TermInfo

java.lang.Object
  extended by org.kuali.student.r2.common.dto.HasAttributesInfo
      extended by org.kuali.student.r2.common.dto.HasAttributesAndMetaInfo
          extended by org.kuali.student.r2.common.dto.TypeStateEntityInfo
              extended by org.kuali.student.r2.common.dto.EntityInfo
                  extended by org.kuali.student.r2.common.dto.IdEntityInfo
                      extended by org.kuali.student.enrollment.acal.dto.TermInfo
All Implemented Interfaces:
Serializable, Term, Entity, HasAttributes, HasAttributesAndMeta, HasId, HasMeta, HasPrimaryKey, HasState, HasType, IdEntity, TypeStateEntity

public class TermInfo
extends IdEntityInfo
implements Term, Serializable

See Also:
Serialized Form

Constructor Summary
TermInfo()
          Constructs a new TermInfo.
TermInfo(Term term)
          Constructs a new TermInfo from another Term.
 
Method Summary
 String getCode()
          Gets a display code for this Term.
 Date getEndDate()
          Date and time the term expires.
 Date getStartDate()
          Date and time the term became effective.
 void setCode(String code)
           
 void setEndDate(Date endDate)
           
 void setStartDate(Date startDate)
           
 
Methods inherited from class org.kuali.student.r2.common.dto.IdEntityInfo
getId, setId
 
Methods inherited from class org.kuali.student.r2.common.dto.EntityInfo
getDescr, getName, setDescr, setName
 
Methods inherited from class org.kuali.student.r2.common.dto.TypeStateEntityInfo
getState, getStateKey, getType, getTypeKey, setState, setStateKey, setType, setTypeKey
 
Methods inherited from class org.kuali.student.r2.common.dto.HasAttributesAndMetaInfo
getMeta, setMeta
 
Methods inherited from class org.kuali.student.r2.common.dto.HasAttributesInfo
getAttributes, getAttributeValue, getAttributeValueList, 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.r2.common.infc.HasId
getId
 
Methods inherited from interface org.kuali.student.r2.common.infc.Entity
getDescr, getName
 
Methods inherited from interface org.kuali.student.r2.common.infc.HasType
getType, getTypeKey
 
Methods inherited from interface org.kuali.student.r2.common.infc.HasState
getState, getStateKey
 
Methods inherited from interface org.kuali.student.r2.common.infc.HasAttributes
getAttributes
 
Methods inherited from interface org.kuali.student.r2.common.infc.HasMeta
getMeta
 

Constructor Detail

TermInfo

public TermInfo()
Constructs a new TermInfo.


TermInfo

public TermInfo(Term term)
Constructs a new TermInfo from another Term.

Parameters:
term - the Term to copy
Method Detail

getCode

public String getCode()
Description copied from interface: Term
Gets a display code for this Term.

Specified by:
getCode in interface Term

setCode

public void setCode(String code)

getStartDate

public Date getStartDate()
Description copied from interface: Term
Date and time the term became effective. This does not provide a bound on date ranges or milestones associated with this time period, but instead indicates the time period proper. This is a similar concept to the effective date on enumerated values. When an expiration date has been specified, this field must be less than or equal to the expiration date.

Specified by:
getStartDate in interface Term

setStartDate

public void setStartDate(Date startDate)

getEndDate

public Date getEndDate()
Description copied from interface: Term
Date and time the term expires. This does not provide a bound on date ranges or milestones associated with this time period, but instead indicates the time period proper. If specified, this must be greater than or equal to the effective date. If this field is not specified, then no expiration date has been currently defined and should automatically be considered greater than the effective date.

Specified by:
getEndDate in interface Term

setEndDate

public void setEndDate(Date endDate)


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