|
||||||||||
| 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.infra.SIF_Header
public class SIF_Header
Common message header for all SIF messages
| Field Summary |
|---|
| Fields inherited from class com.edustructures.sifworks.Element |
|---|
CURRENT_SERIALIZE_VERSION |
| Constructor Summary | |
|---|---|
SIF_Header()
Constructor |
|
SIF_Header(java.lang.String sifMsgId,
java.util.Calendar sifTimestamp,
java.lang.String sifSourceId)
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 |
SIF_Contexts |
getSIF_Contexts()
Gets the value of the <SIF_Contexts> element. |
java.lang.String |
getSIF_DestinationId()
Gets the value of the <SIF_DestinationId> element. |
java.lang.String |
getSIF_MsgId()
Gets the value of the <SIF_MsgId> element. |
SIF_Security |
getSIF_Security()
Gets the value of the <SIF_Security> element. |
java.lang.String |
getSIF_SourceId()
Gets the value of the <SIF_SourceId> element. |
java.util.Calendar |
getSIF_Timestamp()
Gets the value of the <SIF_Timestamp> element. |
void |
removeSIF_Contexts()
Removes the SIF_Contexts child element previously created by calling setSIF_Contexts |
void |
removeSIF_Security()
Removes the SIF_Security child element previously created by calling setSIF_Security |
void |
setSIF_Contexts(SIF_Contexts value)
Sets the value of the <SIF_Contexts> element. |
void |
setSIF_DestinationId(java.lang.String value)
Sets the value of the <SIF_DestinationId> element. |
void |
setSIF_MsgId(java.lang.String value)
Sets the value of the <SIF_MsgId> element. |
void |
setSIF_Security(SIF_SecureChannel sifSecureChannel)
Sets the value of the <SIF_Security> child element. |
void |
setSIF_Security(SIF_Security value)
Sets the value of the <SIF_Security> element. |
void |
setSIF_SourceId(java.lang.String value)
Sets the value of the <SIF_SourceId> element. |
void |
setSIF_Timestamp(java.util.Calendar value)
Sets the value of the <SIF_Timestamp> 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 SIF_Header()
public SIF_Header(java.lang.String sifMsgId,
java.util.Calendar sifTimestamp,
java.lang.String sifSourceId)
sifMsgId - SIF_MsgId is a globally unique message identifier from the Agent or ZIS that sends out the message.sifTimestamp - Timestamp of when the message was sent.sifSourceId - The SIF_SourceId is the ID of the originator of the message. Each source needs to have a zone unique case-sensitive identifier.| Method Detail |
|---|
public java.lang.String getKey()
getKey in class SIFElementpublic ElementDef[] getKeyFields()
public java.lang.String getSIF_MsgId()
<SIF_MsgId> element.
The SIF specification defines the meaning of this element as: "SIF_MsgId is a globally unique message identifier from the Agent or ZIS that sends out the message."
SIF_MsgId element of this object.public void setSIF_MsgId(java.lang.String value)
<SIF_MsgId> element.
The SIF specification defines the meaning of this element as: "SIF_MsgId is a globally unique message identifier from the Agent or ZIS that sends out the message."
value - A String objectpublic java.util.Calendar getSIF_Timestamp()
<SIF_Timestamp> element.
The SIF specification defines the meaning of this element as: "Timestamp of when the message was 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 | "SIF_Date" |
| SIF2.0 | "SIF_Timestamp" |
SIF_Timestamp element of this object.public void setSIF_Timestamp(java.util.Calendar value)
<SIF_Timestamp> element.
The SIF specification defines the meaning of this element as: "Timestamp of when the message was 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 | "SIF_Date" |
| SIF2.0 | "SIF_Timestamp" |
value - A Calendar objectpublic void setSIF_Security(SIF_Security value)
<SIF_Security> element.
value - A SIF_Security objectpublic void setSIF_Security(SIF_SecureChannel sifSecureChannel)
<SIF_Security> child element.
This form of setSIF_Security is provided as a convenience method
that is functionally equivalent to the version of setSIF_Security
that accepts a single SIF_Security object.
sifSecureChannel - public SIF_Security getSIF_Security()
<SIF_Security> element.
SIF_Security objectpublic void removeSIF_Security()
SIF_Security child element previously created by calling setSIF_Security
public java.lang.String getSIF_SourceId()
<SIF_SourceId> element.
The SIF specification defines the meaning of this element as: "The SIF_SourceId is the ID of the originator of the message. Each source needs to have a zone unique case-sensitive identifier."
SIF_SourceId element of this object.public void setSIF_SourceId(java.lang.String value)
<SIF_SourceId> element.
The SIF specification defines the meaning of this element as: "The SIF_SourceId is the ID of the originator of the message. Each source needs to have a zone unique case-sensitive identifier."
value - A String objectpublic java.lang.String getSIF_DestinationId()
<SIF_DestinationId> element.
The SIF specification defines the meaning of this element as: "This element represents the ID of the recipient of the message and may be present as follows:"
SIF_DestinationId element of this object.public void setSIF_DestinationId(java.lang.String value)
<SIF_DestinationId> element.
The SIF specification defines the meaning of this element as: "This element represents the ID of the recipient of the message and may be present as follows:"
value - A String objectpublic void setSIF_Contexts(SIF_Contexts value)
<SIF_Contexts> element.
The SIF specification defines the meaning of this element as: " Each SIF Context that applies to the message. If none is specified, the applicable context is Default. Repeatable for SIF_Events, not repeatable for SIF_Request or SIF_Response. "
value - A SIF_Contexts objectpublic SIF_Contexts getSIF_Contexts()
<SIF_Contexts> element.
The SIF specification defines the meaning of this element as: " Each SIF Context that applies to the message. If none is specified, the applicable context is Default. Repeatable for SIF_Events, not repeatable for SIF_Request or SIF_Response. "
SIF_Contexts objectpublic void removeSIF_Contexts()
SIF_Contexts child element previously created by calling setSIF_Contexts
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||