|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.edustructures.sifworks.Element
com.edustructures.sifworks.SIFElement
com.edustructures.sifworks.SIFKeyedElement
com.edustructures.sifworks.assessment.Item
public class Item
| Field Summary |
|---|
| Fields inherited from class com.edustructures.sifworks.Element |
|---|
CURRENT_SERIALIZE_VERSION |
| Constructor Summary | |
|---|---|
Item()
Constructor |
|
Item(java.lang.String itemNumber)
Constructor that accepts values for all mandatory fields |
|
| Method Summary | |
|---|---|
java.lang.String |
getDiagnosticStatement()
Gets the value of the <DiagnosticStatement> element. |
java.lang.String |
getItemName()
Gets the value of the <ItemName> element. |
java.lang.String |
getItemNumber()
Gets the value of the <ItemNumber> element. |
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.Integer |
getNumberOfAttempts()
Gets the value of the <NumberOfAttempts> element. |
java.lang.String |
getResponse()
Gets the value of the <Response> element. |
java.lang.String |
getResponseLocation()
Gets the value of the <ResponseLocation> element. |
java.lang.String |
getResponseStatus()
Gets the value of the <ResponseStatus> element. |
javax.xml.datatype.Duration |
getResponseTime()
Gets the value of the <ResponseTime> element. |
void |
setDiagnosticStatement(java.lang.String value)
Sets the value of the <DiagnosticStatement> element. |
void |
setItemName(java.lang.String value)
Sets the value of the <ItemName> element. |
void |
setItemNumber(java.lang.String value)
Sets the value of the <ItemNumber> element. |
void |
setNumberOfAttempts(java.lang.Integer value)
Sets the value of the <NumberOfAttempts> element. |
void |
setResponse(java.lang.String value)
Sets the value of the <Response> element. |
void |
setResponseLocation(java.lang.String value)
Sets the value of the <ResponseLocation> element. |
void |
setResponseStatus(ResponseStatus value)
Sets the value of the <ResponseStatus> element. |
void |
setResponseStatus(java.lang.String value)
Sets the value of the <ResponseStatus> element as a String. |
void |
setResponseTime(javax.xml.datatype.Duration value)
Sets the value of the <ResponseTime> element. |
| Methods inherited from class com.edustructures.sifworks.SIFElement |
|---|
addChild, addChild, clone, compareGraphTo, create, effectiveSIFVersion, getChild, getChild, getChild, getChild, getChild, getChildCount, getChildList, getChildList, getChildList, getChildren, getChildren, getContent, getContent, getField, getField, getFieldCount, getFields, getFieldValue, getSIFValue, getSIFVersion, getTextValue, getXmlId, hasTextValue, removeChild, removeChild, removeChild, removeChild, restoreImplementationDef, setChanged, setChildren, setEmpty, setField, setField, setField, setField, setSIFValue, setSIFVersion, 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 |
|---|
public Item()
public Item(java.lang.String itemNumber)
itemNumber - Identifies the item on the assessment by number.| Method Detail |
|---|
public java.lang.String getKey()
getKey in class SIFElementpublic ElementDef[] getKeyFields()
public java.lang.String getItemNumber()
<ItemNumber> element.
The SIF specification defines the meaning of this element as: "Identifies the item on the assessment by number."
ItemNumber element of this object.public void setItemNumber(java.lang.String value)
<ItemNumber> element.
The SIF specification defines the meaning of this element as: "Identifies the item on the assessment by number."
value - A String objectpublic java.lang.String getResponse()
<Response> element.
The SIF specification defines the meaning of this element as: "Answer selected or student work in raw format."
Response element of this object.public void setResponse(java.lang.String value)
<Response> element.
The SIF specification defines the meaning of this element as: "Answer selected or student work in raw format."
value - A String objectpublic java.lang.String getResponseLocation()
<ResponseLocation> element.
The SIF specification defines the meaning of this element as: "An optional element that contains a URL pointing to the location of the response or additional response."
ResponseLocation element of this object.public void setResponseLocation(java.lang.String value)
<ResponseLocation> element.
The SIF specification defines the meaning of this element as: "An optional element that contains a URL pointing to the location of the response or additional response."
value - A String objectpublic java.lang.String getResponseStatus()
<ResponseStatus> element.
The SIF specification defines the meaning of this element as: "Status of the response."
ResponseStatus element of this object.public void setResponseStatus(ResponseStatus value)
<ResponseStatus> element.
The SIF specification defines the meaning of this element as: "Status of the response."
value - A constant defined by the ResponseStatus classpublic void setResponseStatus(java.lang.String value)
<ResponseStatus> element as a String.
The SIF specification defines the meaning of this element as: "Status of the response."
value - The value as a Stringpublic javax.xml.datatype.Duration getResponseTime()
<ResponseTime> element.
The SIF specification defines the meaning of this element as: "The length of time the student took to respond."
ResponseTime element of this object.public void setResponseTime(javax.xml.datatype.Duration value)
<ResponseTime> element.
The SIF specification defines the meaning of this element as: "The length of time the student took to respond."
value - A javax.xml.datatype.Duration objectpublic java.lang.String getItemName()
<ItemName> element.
The SIF specification defines the meaning of this element as: "Identifies the item on the assessment by name."
ItemName element of this object.public void setItemName(java.lang.String value)
<ItemName> element.
The SIF specification defines the meaning of this element as: "Identifies the item on the assessment by name."
value - A String objectpublic java.lang.String getDiagnosticStatement()
<DiagnosticStatement> element.
The SIF specification defines the meaning of this element as: "Psychometric purpose or design-related comment about the question."
DiagnosticStatement element of this object.public void setDiagnosticStatement(java.lang.String value)
<DiagnosticStatement> element.
The SIF specification defines the meaning of this element as: "Psychometric purpose or design-related comment about the question."
value - A String objectpublic java.lang.Integer getNumberOfAttempts()
<NumberOfAttempts> element.
The SIF specification defines the meaning of this element as: "The number of times a student changes their answer or attempts a response."
NumberOfAttempts element of this object.public void setNumberOfAttempts(java.lang.Integer value)
<NumberOfAttempts> element.
The SIF specification defines the meaning of this element as: "The number of times a student changes their answer or attempts a response."
value - A Integer object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||