|
||||||||||
| 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.instr.ActivityTime
public class ActivityTime
Time structures for the activity.
| Field Summary |
|---|
| Fields inherited from class com.edustructures.sifworks.Element |
|---|
CURRENT_SERIALIZE_VERSION |
| Constructor Summary | |
|---|---|
ActivityTime()
Constructor |
|
ActivityTime(java.util.Calendar creationDate)
Constructor that accepts values for all mandatory fields |
|
| Method Summary | |
|---|---|
java.util.Calendar |
getCreationDate()
Gets the value of the <CreationDate> element. |
java.util.Calendar |
getDueDate()
Gets the value of the <DueDate> element. |
Duration |
getDuration()
Gets the value of the <Duration> element. |
java.util.Calendar |
getFinishDate()
Gets the value of the <FinishDate> 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. |
void |
removeDuration()
Removes the Duration child element previously created by calling setDuration |
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 |
setDuration(Duration value)
Sets the value of the <Duration> element. |
void |
setDuration(DurationUnits units,
java.lang.String value)
Sets the value of the <Duration> child element. |
void |
setFinishDate(java.util.Calendar value)
Sets the value of the <FinishDate> element. |
void |
setStartDate(java.util.Calendar value)
Sets the value of the <StartDate> 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 ActivityTime()
public ActivityTime(java.util.Calendar creationDate)
creationDate - Creation date of the activity.| 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 activity."
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 activity."
value - A Calendar objectpublic void setDuration(Duration value)
<Duration> element.
The SIF specification defines the meaning of this element as: "Time required to complete the activity."
value - A Duration object
public void setDuration(DurationUnits units,
java.lang.String 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 Duration object.
units - Unit of time of the Duration value.value - Gets or sets the content value of the <Duration> elementpublic Duration getDuration()
<Duration> element.
The SIF specification defines the meaning of this element as: "Time required to complete the activity."
Duration 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 activity 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 activity is started."
value - A Calendar objectpublic java.util.Calendar getFinishDate()
<FinishDate> element.
The SIF specification defines the meaning of this element as: "Date activity is finished."
FinishDate element of this object.public void setFinishDate(java.util.Calendar value)
<FinishDate> element.
The SIF specification defines the meaning of this element as: "Date activity is finished."
value - A Calendar objectpublic java.util.Calendar getDueDate()
<DueDate> element.
The SIF specification defines the meaning of this element as: "Date activity 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 activity is due."
value - A Calendar object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||