org.kuali.student.enrollment.courseoffering.dto
Class RegistrationGroupInfo

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.courseoffering.dto.RegistrationGroupInfo
All Implemented Interfaces:
Serializable, RegistrationGroup, Entity, HasAttributes, HasAttributesAndMeta, HasId, HasMeta, HasPrimaryKey, HasState, HasType, IdEntity, TypeStateEntity

public class RegistrationGroupInfo
extends IdEntityInfo
implements RegistrationGroup

Author:
Kuali Student Team (Kamal)
See Also:
Serialized Form

Constructor Summary
RegistrationGroupInfo()
          Constructs a new RegistrationGroupInfo.
RegistrationGroupInfo(RegistrationGroup registrationGroup)
          Constructs a new RegistrationGroupInfo from another RegistrationGroup.
 
Method Summary
 List<String> getActivityOfferingIds()
          Activity Offerings for the registration group.
 String getCourseOfferingId()
          Course offering for this registration group.
 String getFormatOfferingId()
          Canonical format to which this registration group belong to.
 Boolean getIsGenerated()
          Tests if this registration group wa sthe product of an automatic generation.
 String getRegistrationCode()
          Uniquely identifies an instance of the course for the purposes of registration.
 String getTermId()
          Academic term the registration group is being offered in.
 void setActivityOfferingIds(List<String> activityOfferingIds)
           
 void setCourseOfferingId(String courseOfferingId)
           
 void setFormatOfferingId(String formatOfferingId)
           
 void setIsGenerated(Boolean isGenerated)
           
 void setRegistrationCode(String registrationCode)
           
 void setTermId(String termId)
           
 String toString()
           
 
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, 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

RegistrationGroupInfo

public RegistrationGroupInfo()
Constructs a new RegistrationGroupInfo.


RegistrationGroupInfo

public RegistrationGroupInfo(RegistrationGroup registrationGroup)
Constructs a new RegistrationGroupInfo from another RegistrationGroup.

Parameters:
registrationGroup - the registration group to copy
Method Detail

getFormatOfferingId

public String getFormatOfferingId()
Description copied from interface: RegistrationGroup
Canonical format to which this registration group belong to.

Specified by:
getFormatOfferingId in interface RegistrationGroup

setFormatOfferingId

public void setFormatOfferingId(String formatOfferingId)

getCourseOfferingId

public String getCourseOfferingId()
Description copied from interface: RegistrationGroup
Course offering for this registration group.

Specified by:
getCourseOfferingId in interface RegistrationGroup

setCourseOfferingId

public void setCourseOfferingId(String courseOfferingId)

getTermId

public String getTermId()
Description copied from interface: RegistrationGroup
Academic term the registration group is being offered in. Should be same as CourseOffering unless changed, then must be nested term of courseOffering.

Specified by:
getTermId in interface RegistrationGroup

setTermId

public void setTermId(String termId)

getRegistrationCode

public String getRegistrationCode()
Description copied from interface: RegistrationGroup
Uniquely identifies an instance of the course for the purposes of registration. This code is unique for a given term, thus, no two registration groups in the same term shares the same registration code. By contrast, the [name] field (this is inherited from IdEntity) is used to store a registration group code that is unique only within a course offering. Thus, no two registration groups would share the same registration group code within the same course offering (in a given term).

Specified by:
getRegistrationCode in interface RegistrationGroup

setRegistrationCode

public void setRegistrationCode(String registrationCode)

getActivityOfferingIds

public List<String> getActivityOfferingIds()
Description copied from interface: RegistrationGroup
Activity Offerings for the registration group. This list should be constrained by the canonical format and the activity offerings listed in the course offering.

Specified by:
getActivityOfferingIds in interface RegistrationGroup

setActivityOfferingIds

public void setActivityOfferingIds(List<String> activityOfferingIds)

getIsGenerated

public Boolean getIsGenerated()
Description copied from interface: RegistrationGroup
Tests if this registration group wa sthe product of an automatic generation. manually created registration groups return false for this.

Specified by:
getIsGenerated in interface RegistrationGroup

setIsGenerated

public void setIsGenerated(Boolean isGenerated)

toString

public String toString()
Overrides:
toString in class Object


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