|
||||||||||
| 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.datamodel.SpanGap
public class SpanGap
This element is designed to contain the time period attached to an object. Very long periods (school year, quarter, etc.) and very small periods (second, millisecond, etc.) can be defined. This element provides a scoping description of the time metadata enclosed.
| Field Summary |
|---|
| Fields inherited from class com.edustructures.sifworks.Element |
|---|
CURRENT_SERIALIZE_VERSION |
| Constructor Summary | |
|---|---|
SpanGap()
Constructor |
|
SpanGap(TimeElementType type,
java.lang.String code,
java.lang.String name,
java.lang.String value)
Constructor that accepts values for all mandatory fields |
|
| Method Summary | |
|---|---|
java.lang.String |
getCode()
Gets the value of the <Code> element. |
java.util.Calendar |
getEndDateTime()
Gets the value of the <EndDateTime> element. |
java.lang.String |
getName()
Gets the value of the <Name> element. |
java.util.Calendar |
getStartDateTime()
Gets the value of the <StartDateTime> element. |
java.lang.String |
getType()
Gets the value of the <Type> element. |
java.lang.String |
getValue()
Gets the value of the <Value> element. |
void |
setCode(java.lang.String value)
Sets the value of the <Code> element. |
void |
setEndDateTime(java.util.Calendar value)
Sets the value of the <EndDateTime> element. |
void |
setName(java.lang.String value)
Sets the value of the <Name> element. |
void |
setStartDateTime(java.util.Calendar value)
Sets the value of the <StartDateTime> element. |
void |
setType(java.lang.String value)
Sets the value of the <Type> element as a String. |
void |
setType(TimeElementType value)
Sets the value of the <Type> element. |
void |
setValue(java.lang.String value)
Sets the value of the <Value> 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, getKey, 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 SpanGap()
public SpanGap(TimeElementType type,
java.lang.String code,
java.lang.String name,
java.lang.String value)
type - code - This element provides a place for the application to send structured data (code values, unique identifier, timestamps). This code value can, depending upon the use case agreement between agents, be used to qualify the data in the Value element.name - Contains a human-readable description of the value in Value.value - Contains the human-readable value.| Method Detail |
|---|
public java.lang.String getType()
<Type> element.
Type element of this object.public void setType(TimeElementType value)
<Type> element.
value - A constant defined by the TimeElementType classpublic void setType(java.lang.String value)
<Type> element as a String.
value - The value as a Stringpublic java.lang.String getCode()
<Code> element.
The SIF specification defines the meaning of this element as: "This element provides a place for the application to send structured data (code values, unique identifier, timestamps). This code value can, depending upon the use case agreement between agents, be used to qualify the data in the Value element."
Code element of this object.public void setCode(java.lang.String value)
<Code> element.
The SIF specification defines the meaning of this element as: "This element provides a place for the application to send structured data (code values, unique identifier, timestamps). This code value can, depending upon the use case agreement between agents, be used to qualify the data in the Value element."
value - A String objectpublic java.lang.String getName()
<Name> element.
The SIF specification defines the meaning of this element as: "Contains a human-readable description of the value in Value."
Name element of this object.public void setName(java.lang.String value)
<Name> element.
The SIF specification defines the meaning of this element as: "Contains a human-readable description of the value in Value."
value - A String objectpublic java.lang.String getValue()
<Value> element.
The SIF specification defines the meaning of this element as: "Contains the human-readable value."
Value element of this object.public void setValue(java.lang.String value)
<Value> element.
The SIF specification defines the meaning of this element as: "Contains the human-readable value."
value - A String objectpublic java.util.Calendar getStartDateTime()
<StartDateTime> element.
StartDateTime element of this object.public void setStartDateTime(java.util.Calendar value)
<StartDateTime> element.
value - A Calendar objectpublic java.util.Calendar getEndDateTime()
<EndDateTime> element.
EndDateTime element of this object.public void setEndDateTime(java.util.Calendar value)
<EndDateTime> element.
value - A Calendar object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||