org.kuali.student.enrollment.acal.dto
Class TermInfo
java.lang.Object
org.kuali.student.r2.common.dto.HasAttributesInfo
org.kuali.student.r2.common.dto.HasAttributesAndMetaInfo
org.kuali.student.r2.common.dto.TypeStateEntityInfo
org.kuali.student.r2.common.dto.EntityInfo
org.kuali.student.r2.common.dto.IdEntityInfo
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. |
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.HasMeta |
getMeta |
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
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.