|
||||||||||
| 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.instr.AssignmentTime
public class AssignmentTime
Time structures for the assignment.
| Field Summary |
|---|
| Fields inherited from class com.edustructures.sifworks.Element |
|---|
CURRENT_SERIALIZE_VERSION |
| Constructor Summary | |
|---|---|
AssignmentTime()
Constructor |
|
AssignmentTime(java.util.Calendar startDate,
java.util.Calendar dueDate)
Constructor that accepts values for all mandatory fields |
|
| Method Summary | |
|---|---|
java.util.Calendar |
getAdministrationDate()
Gets the value of the <AdministrationDate> element. |
java.util.Calendar |
getCreationDate()
Gets the value of the <CreationDate> element. |
java.util.Calendar |
getDueDate()
Gets the value of the <DueDate> element. |
java.util.Calendar |
getDueTime()
Gets the value of the <DueTime> element. |
TimeDuration |
getDuration()
Gets the value of the <Duration> 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.util.Calendar |
getStartDate()
Gets the value of the <StartDate> element. |
java.util.Calendar |
getStartTime()
Gets the value of the <StartTime> element. |
void |
removeDuration()
Removes the Duration child element previously created by calling setDuration |
void |
setAdministrationDate(java.util.Calendar value)
Sets the value of the <AdministrationDate> element. |
void |
setCreationDate(java.util.Calendar value)
Sets the value of the <CreationDate> element. |
void |
setDueDate(java.util.Calendar value)
Sets the value of the <DueDate> element. |
void |
setDueTime(java.util.Calendar value)
Sets the value of the <DueTime> element. |
void |
setDuration(TimeDuration value)
Sets the value of the <Duration> element. |
void |
setDuration(TimeUnits units,
java.math.BigDecimal value)
Sets the value of the <Duration> child element. |
void |
setStartDate(java.util.Calendar value)
Sets the value of the <StartDate> element. |
void |
setStartTime(java.util.Calendar value)
Sets the value of the <StartTime> 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 AssignmentTime()
public AssignmentTime(java.util.Calendar startDate,
java.util.Calendar dueDate)
startDate - Date assignment is started.dueDate - Date assignment is due.| Method Detail |
|---|
public java.lang.String getKey()
getKey in class SIFElementpublic ElementDef[] getKeyFields()
public java.util.Calendar getCreationDate()
<CreationDate> element.
The SIF specification defines the meaning of this element as: "Creation date of the assignment"
CreationDate element of this object.public void setCreationDate(java.util.Calendar value)
<CreationDate> element.
The SIF specification defines the meaning of this element as: "Creation date of the assignment"
value - A Calendar objectpublic void setDuration(TimeDuration value)
<Duration> element.
The SIF specification defines the meaning of this element as: "Time required to complete the assignment."
value - A TimeDuration object
public void setDuration(TimeUnits units,
java.math.BigDecimal value)
<Duration> child element.
This form of setDuration is provided as a convenience method
that is functionally equivalent to the version of setDuration
that accepts a single TimeDuration object.
units - value - Gets or sets the content value of the <TimeDuration> elementpublic TimeDuration getDuration()
<Duration> element.
The SIF specification defines the meaning of this element as: "Time required to complete the assignment."
TimeDuration objectpublic void removeDuration()
Duration child element previously created by calling setDuration
public java.util.Calendar getStartDate()
<StartDate> element.
The SIF specification defines the meaning of this element as: "Date assignment is started."
StartDate element of this object.public void setStartDate(java.util.Calendar value)
<StartDate> element.
The SIF specification defines the meaning of this element as: "Date assignment is started."
value - A Calendar objectpublic java.util.Calendar getStartTime()
<StartTime> element.
The SIF specification defines the meaning of this element as: "Time assignment is started."
StartTime element of this object.public void setStartTime(java.util.Calendar value)
<StartTime> element.
The SIF specification defines the meaning of this element as: "Time assignment is started."
value - A Calendar objectpublic java.util.Calendar getDueDate()
<DueDate> element.
The SIF specification defines the meaning of this element as: "Date assignment is due."
DueDate element of this object.public void setDueDate(java.util.Calendar value)
<DueDate> element.
The SIF specification defines the meaning of this element as: "Date assignment is due."
value - A Calendar objectpublic java.util.Calendar getDueTime()
<DueTime> element.
The SIF specification defines the meaning of this element as: "Time assignment is due."
DueTime element of this object.public void setDueTime(java.util.Calendar value)
<DueTime> element.
The SIF specification defines the meaning of this element as: "Time assignment is due."
value - A Calendar objectpublic java.util.Calendar getAdministrationDate()
<AdministrationDate> element.
The SIF specification defines the meaning of this element as: "Date that the assignment was administered to student if an assessment."
This element is known by more than one tag name depending on the version of SIF in use. The ADK will use the tag names shown below when parsing and rendering elements of this kind.
| Version | Tag |
| 1.5r1 | "AdminDate" |
| SIF2.0 | "AdministrationDate" |
AdministrationDate element of this object.public void setAdministrationDate(java.util.Calendar value)
<AdministrationDate> element.
The SIF specification defines the meaning of this element as: "Date that the assignment was administered to student if an assessment."
This element is known by more than one tag name depending on the version of SIF in use. The ADK will use the tag names shown below when parsing and rendering elements of this kind.
| Version | Tag |
| 1.5r1 | "AdminDate" |
| SIF2.0 | "AdministrationDate" |
value - A Calendar object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||