|
||||||||||
| 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.library.Message
public class Message
| Field Summary |
|---|
| Fields inherited from class com.edustructures.sifworks.Element |
|---|
CURRENT_SERIALIZE_VERSION |
| Constructor Summary | |
|---|---|
Message()
Constructor |
|
Message(Priority priority,
java.lang.String text)
Constructor that accepts values for all mandatory fields |
|
| Method Summary | |
|---|---|
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 |
getPriority()
Gets the value of the Priority attribute. |
java.util.Calendar |
getSent()
Gets the value of the <Sent> element. |
java.lang.String |
getText()
Gets the value of the <Text> element. |
void |
setPriority(Priority value)
Sets the value of the Priority attribute. |
void |
setPriority(java.lang.String value)
Sets the value of the Priority attribute as a String. |
void |
setSent(java.util.Calendar value)
Sets the value of the <Sent> element. |
void |
setText(java.lang.String value)
Sets the value of the <Text> 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 Message()
public Message(Priority priority,
java.lang.String text)
priority - The level of urgency associated with this message.text - The contents of the message.| Method Detail |
|---|
public java.lang.String getKey()
getKey in class SIFElementpublic ElementDef[] getKeyFields()
public java.lang.String getPriority()
Priority attribute.
The SIF specification defines the meaning of this attribute as: "The level of urgency associated with this message."
Priority attribute of this object.public void setPriority(Priority value)
Priority attribute.
The SIF specification defines the meaning of this attribute as: "The level of urgency associated with this message."
value - A constant defined by the Priority classpublic void setPriority(java.lang.String value)
Priority attribute as a String.
The SIF specification defines the meaning of this attribute as: "The level of urgency associated with this message."
value - The value as a Stringpublic java.util.Calendar getSent()
<Sent> element.
The SIF specification defines the meaning of this element as: "The date and time that this message was originally sent."
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.1 | "Date" |
| SIF2.0 | "Sent" |
Sent element of this object.public void setSent(java.util.Calendar value)
<Sent> element.
The SIF specification defines the meaning of this element as: "The date and time that this message was originally sent."
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.1 | "Date" |
| SIF2.0 | "Sent" |
value - A Calendar objectpublic java.lang.String getText()
<Text> element.
The SIF specification defines the meaning of this element as: "The contents of the message."
Text element of this object.public void setText(java.lang.String value)
<Text> element.
The SIF specification defines the meaning of this element as: "The contents of the message."
value - A String object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||