com.edustructures.sifworks.gradebook
Class GradingAssignmentScore

java.lang.Object
  extended by com.edustructures.sifworks.Element
      extended by com.edustructures.sifworks.SIFElement
          extended by com.edustructures.sifworks.SIFDataObject
              extended by com.edustructures.sifworks.gradebook.GradingAssignmentScore
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class GradingAssignmentScore
extends SIFDataObject

Since:
2.0
Version:
2.0
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.edustructures.sifworks.Element
CURRENT_SERIALIZE_VERSION
 
Constructor Summary
GradingAssignmentScore()
          Constructor
GradingAssignmentScore(java.lang.String studentPersonalRefId, java.lang.String sectionInfoRefId, java.lang.String schoolInfoRefId, java.lang.String gradingAssignmentRefId)
          Constructor that accepts values for all mandatory fields
 
Method Summary
 java.lang.String getGradingAssignmentRefId()
          Gets the value of the GradingAssignmentRefId attribute.
 java.lang.String getKey()
          Gets the key of this object
 ElementDef[] getKeyFields()
          Gets the metadata fields that make up the key of this object
 java.lang.String getSchoolInfoRefId()
          Gets the value of the SchoolInfoRefId attribute.
 java.lang.String getScoreDescription()
          Gets the value of the <ScoreDescription> element.
 java.lang.String getScoreLetter()
          Gets the value of the <ScoreLetter> element.
 java.math.BigDecimal getScorePercent()
          Gets the value of the <ScorePercent> element.
 java.lang.Integer getScorePoints()
          Gets the value of the <ScorePoints> element.
 java.lang.String getSectionInfoRefId()
          Gets the value of the SectionInfoRefId attribute.
 java.lang.String getStudentPersonalRefId()
          Gets the value of the StudentPersonalRefId attribute.
 void setGradingAssignmentRefId(java.lang.String value)
          Sets the value of the GradingAssignmentRefId attribute.
 void setSchoolInfoRefId(java.lang.String value)
          Sets the value of the SchoolInfoRefId attribute.
 void setScoreDescription(java.lang.String value)
          Sets the value of the <ScoreDescription> element.
 void setScoreLetter(java.lang.String value)
          Sets the value of the <ScoreLetter> element.
 void setScorePercent(java.math.BigDecimal value)
          Sets the value of the <ScorePercent> element.
 void setScorePoints(java.lang.Integer value)
          Sets the value of the <ScorePoints> element.
 void setSectionInfoRefId(java.lang.String value)
          Sets the value of the SectionInfoRefId attribute.
 void setStudentPersonalRefId(java.lang.String value)
          Sets the value of the StudentPersonalRefId attribute.
 
Methods inherited from class com.edustructures.sifworks.SIFDataObject
addSIFExtendedElement, clone, getElementOrAttribute, getObjectTag, getObjectType, getRefId, getSIFExtendedElement, getSIFExtendedElements, getSIFExtendedElementsContainer, getSIFMetadata, getSIFVersion, setElementOrAttribute, setElementOrAttribute, setElementOrAttribute, setSIFExtendedElements, setSIFExtendedElementsContainer, setSIFMetadata, setSIFVersion, toXML
 
Methods inherited from class com.edustructures.sifworks.SIFElement
addChild, addChild, compareGraphTo, create, effectiveSIFVersion, getChild, getChild, getChild, getChild, getChild, getChildCount, getChildList, getChildList, getChildList, getChildren, getChildren, getContent, getContent, getField, getField, getFieldCount, getFields, getFieldValue, getSIFValue, getTextValue, getXmlId, hasTextValue, removeChild, removeChild, removeChild, removeChild, restoreImplementationDef, setChanged, setChildren, setEmpty, setField, setField, setField, setField, setSIFValue, setTextValue, setXmlId, tag
 
Methods inherited from class com.edustructures.sifworks.Element
compareTo, getElementDef, getParent, getRoot, isChanged, isDoNotEncode, isEmpty, setChanged, setDoNotEncode, setElementDef, setEmpty, setParent, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GradingAssignmentScore

public GradingAssignmentScore()
Constructor


GradingAssignmentScore

public GradingAssignmentScore(java.lang.String studentPersonalRefId,
                              java.lang.String sectionInfoRefId,
                              java.lang.String schoolInfoRefId,
                              java.lang.String gradingAssignmentRefId)
Constructor that accepts values for all mandatory fields

Parameters:
studentPersonalRefId -
sectionInfoRefId -
schoolInfoRefId - The GUID that specifies the school this score was recorded at.
gradingAssignmentRefId -
Method Detail

getKey

public java.lang.String getKey()
Gets the key of this object

Overrides:
getKey in class SIFElement
Returns:
The value of the object's Mandatory or Required attribute. If an object has more than one such attribute, the key is a period- delimited concatenation of the attribute values in sequential order

getKeyFields

public ElementDef[] getKeyFields()
Gets the metadata fields that make up the key of this object

Returns:
an array of metadata fields that make up the object's key

getStudentPersonalRefId

public java.lang.String getStudentPersonalRefId()
Gets the value of the StudentPersonalRefId attribute.

Returns:
The StudentPersonalRefId attribute of this object.
Since:
2.0

setStudentPersonalRefId

public void setStudentPersonalRefId(java.lang.String value)
Sets the value of the StudentPersonalRefId attribute.

Parameters:
value - A String object
Since:
2.0

getSectionInfoRefId

public java.lang.String getSectionInfoRefId()
Gets the value of the SectionInfoRefId attribute.

Returns:
The SectionInfoRefId attribute of this object.
Since:
2.0

setSectionInfoRefId

public void setSectionInfoRefId(java.lang.String value)
Sets the value of the SectionInfoRefId attribute.

Parameters:
value - A String object
Since:
2.0

getSchoolInfoRefId

public java.lang.String getSchoolInfoRefId()
Gets the value of the SchoolInfoRefId attribute.

The SIF specification defines the meaning of this attribute as: "The GUID that specifies the school this score was recorded at."

Returns:
The SchoolInfoRefId attribute of this object.
Since:
2.0

setSchoolInfoRefId

public void setSchoolInfoRefId(java.lang.String value)
Sets the value of the SchoolInfoRefId attribute.

The SIF specification defines the meaning of this attribute as: "The GUID that specifies the school this score was recorded at."

Parameters:
value - A String object
Since:
2.0

getGradingAssignmentRefId

public java.lang.String getGradingAssignmentRefId()
Gets the value of the GradingAssignmentRefId attribute.

Returns:
The GradingAssignmentRefId attribute of this object.
Since:
2.0

setGradingAssignmentRefId

public void setGradingAssignmentRefId(java.lang.String value)
Sets the value of the GradingAssignmentRefId attribute.

Parameters:
value - A String object
Since:
2.0

getScorePoints

public java.lang.Integer getScorePoints()
Gets the value of the <ScorePoints> element.

The SIF specification defines the meaning of this element as: "The score represented as points. Conditionally required that one or more of ScorePoints, ScorePercent or ScoreLetter must be filled in."

Returns:
The ScorePoints element of this object.
Since:
2.0

setScorePoints

public void setScorePoints(java.lang.Integer value)
Sets the value of the <ScorePoints> element.

The SIF specification defines the meaning of this element as: "The score represented as points. Conditionally required that one or more of ScorePoints, ScorePercent or ScoreLetter must be filled in."

Parameters:
value - A Integer object
Since:
2.0

getScorePercent

public java.math.BigDecimal getScorePercent()
Gets the value of the <ScorePercent> element.

The SIF specification defines the meaning of this element as: "The score represented as a percent. Conditionally required that one or more of ScorePoints, ScorePercent or ScoreLetter must be filled in."

Returns:
The ScorePercent element of this object.
Since:
2.0

setScorePercent

public void setScorePercent(java.math.BigDecimal value)
Sets the value of the <ScorePercent> element.

The SIF specification defines the meaning of this element as: "The score represented as a percent. Conditionally required that one or more of ScorePoints, ScorePercent or ScoreLetter must be filled in."

Parameters:
value - A BigDecimal object
Since:
2.0

getScoreLetter

public java.lang.String getScoreLetter()
Gets the value of the <ScoreLetter> element.

The SIF specification defines the meaning of this element as: "The score represented as a letter grade. Conditionally required that one or more of ScorePoints, ScorePercent or ScoreLetter must be filled in."

Returns:
The ScoreLetter element of this object.
Since:
2.0

setScoreLetter

public void setScoreLetter(java.lang.String value)
Sets the value of the <ScoreLetter> element.

The SIF specification defines the meaning of this element as: "The score represented as a letter grade. Conditionally required that one or more of ScorePoints, ScorePercent or ScoreLetter must be filled in."

Parameters:
value - A String object
Since:
2.0

getScoreDescription

public java.lang.String getScoreDescription()
Gets the value of the <ScoreDescription> element.

The SIF specification defines the meaning of this element as: "Text description of the score."

Returns:
The ScoreDescription element of this object.
Since:
2.0

setScoreDescription

public void setScoreDescription(java.lang.String value)
Sets the value of the <ScoreDescription> element.

The SIF specification defines the meaning of this element as: "Text description of the score."

Parameters:
value - A String object
Since:
2.0


Copyright © 2001-2007 Edustructures LLC. All Rights Reserved. SIFWorks® and ADK® are registered trademarks of Edustructures LLC. SIF™ and Schools Interoperability Framework are trademarks of the Schools Interoperability Framework Association.