org.kuali.student.lum.lrc.dto
Class GradeInfo

java.lang.Object
  extended by org.kuali.student.lum.lrc.dto.GradeInfo
All Implemented Interfaces:
Serializable, HasAttributes, Idable

public class GradeInfo
extends Object
implements Serializable, Idable, HasAttributes

Detailed information about a grade value.

See Also:
Serialized Form

Field Summary
private  Map<String,String> attributes
           
private  Date effectiveDate
           
private  Date expirationDate
           
private  String id
           
private  String name
           
private  String rank
           
private  String scaleKey
           
private static long serialVersionUID
           
private  String type
           
private  String value
           
 
Constructor Summary
GradeInfo()
           
 
Method Summary
 Map<String,String> getAttributes()
          List of key/value pairs, typically used for dynamic attributes.
 Date getEffectiveDate()
          Date and time that this grade value became effective.
 Date getExpirationDate()
          Date and time that this grade value expires.
 String getId()
          Unique identifier for a grade value.
 String getName()
          Name of the grade.
 String getRank()
          Rank of the grade value within the scale.
 String getScaleKey()
          Identifier of the scale for this grade value.
 String getType()
          Unique identifier for a grade type.
 String getValue()
          Value of the grade.
 void setAttributes(Map<String,String> attributes)
           
 void setEffectiveDate(Date effectiveDate)
           
 void setExpirationDate(Date expirationDate)
           
 void setId(String id)
           
 void setName(String name)
           
 void setRank(String rank)
           
 void setScaleKey(String scaleKey)
           
 void setType(String type)
           
 void setValue(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

name

private String name

value

private String value

scaleKey

private String scaleKey

rank

private String rank

effectiveDate

private Date effectiveDate

expirationDate

private Date expirationDate

attributes

private Map<String,String> attributes

type

private String type

id

private String id
Constructor Detail

GradeInfo

public GradeInfo()
Method Detail

getName

public String getName()
Name of the grade. This is likely related to the type, value and/or scale, but this is not required.


setName

public void setName(String name)

getValue

public String getValue()
Value of the grade. Typically corresponds with the short coded form of the grade (ex. "A", "4.0", "97.0%", etc.)


setValue

public void setValue(String value)

getScaleKey

public String getScaleKey()
Identifier of the scale for this grade value.


setScaleKey

public void setScaleKey(String scaleKey)

getRank

public String getRank()
Rank of the grade value within the scale. Standards around uniqueness and meaning of value are described in the information about the scale.


setRank

public void setRank(String rank)

getEffectiveDate

public Date getEffectiveDate()
Date and time that this grade value became effective. 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.


setEffectiveDate

public void setEffectiveDate(Date effectiveDate)

getExpirationDate

public Date getExpirationDate()
Date and time that this grade value expires. This is a similar concept to the expiration date on enumerated values. If specified, this should 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.


setExpirationDate

public void setExpirationDate(Date expirationDate)

getAttributes

public Map<String,String> getAttributes()
List of key/value pairs, typically used for dynamic attributes.

Specified by:
getAttributes in interface HasAttributes

setAttributes

public void setAttributes(Map<String,String> attributes)
Specified by:
setAttributes in interface HasAttributes

getType

public String getType()
Unique identifier for a grade type.


setType

public void setType(String type)

getId

public String getId()
Unique identifier for a grade value.

Specified by:
getId in interface Idable

setId

public void setId(String id)
Specified by:
setId in interface Idable


Copyright © 2010 The Kuali Foundation. All rights reserved.