|
||||||||||
| 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.SIFMessagePayload
com.edustructures.sifworks.infra.SIF_Response
public class SIF_Response
Contains one of the SIF message types.
| Field Summary |
|---|
| Fields inherited from class com.edustructures.sifworks.Element |
|---|
CURRENT_SERIALIZE_VERSION |
| Constructor Summary | |
|---|---|
SIF_Response()
Constructor |
|
| Method Summary | |
|---|---|
SIF_Error |
getSIF_Error()
Gets the value of the <SIF_Error> element. |
SIF_ExtendedQueryResults |
getSIF_ExtendedQueryResults()
Gets the value of the <SIF_ExtendedQueryResults> element. |
SIF_Header |
getSIF_Header()
Gets the value of the <SIF_Header> element. |
java.lang.String |
getSIF_MorePackets()
Gets the value of the <SIF_MorePackets> element. |
SIF_ObjectData |
getSIF_ObjectData()
Gets the value of the <SIF_ObjectData> element. |
java.lang.Integer |
getSIF_PacketNumber()
Gets the value of the <SIF_PacketNumber> element. |
java.lang.String |
getSIF_RequestMsgId()
Gets the value of the <SIF_RequestMsgId> element. |
void |
removeSIF_Error()
Removes the SIF_Error child element previously created by calling setSIF_Error |
void |
removeSIF_ExtendedQueryResults()
Removes the SIF_ExtendedQueryResults child element previously created by calling setSIF_ExtendedQueryResults |
void |
removeSIF_Header()
Removes the SIF_Header child element previously created by calling setSIF_Header |
void |
removeSIF_ObjectData()
Removes the SIF_ObjectData child element previously created by calling setSIF_ObjectData |
void |
setSIF_Error(SIF_Error value)
Sets the value of the <SIF_Error> element. |
void |
setSIF_ExtendedQueryResults(SIF_ExtendedQueryResults value)
Sets the value of the <SIF_ExtendedQueryResults> element. |
void |
setSIF_Header(SIF_Header value)
Sets the value of the <SIF_Header> element. |
void |
setSIF_MorePackets(java.lang.String value)
Sets the value of the <SIF_MorePackets> element as a String. |
void |
setSIF_MorePackets(YesNo value)
Sets the value of the <SIF_MorePackets> element. |
void |
setSIF_ObjectData(SIF_ObjectData value)
Sets the value of the <SIF_ObjectData> element. |
void |
setSIF_PacketNumber(java.lang.Integer value)
Sets the value of the <SIF_PacketNumber> element. |
void |
setSIF_RequestMsgId(java.lang.String value)
Sets the value of the <SIF_RequestMsgId> element. |
| Methods inherited from class com.edustructures.sifworks.SIFMessagePayload |
|---|
ackError, ackError, ackError, ackError, ackFinal, ackImmediate, ackIntermediate, ackStatus, getDestinationId, getHeader, getMsgId, getSIFContexts, getSIFVersion, getSourceId, getTimestamp, getVersionAttribute, getXmlns, LogRecv, LogSend, setSIFVersion, setVersionAttribute, setXmlns |
| 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, getTextValue, getXmlId, hasTextValue, removeChild, removeChild, removeChild, removeChild, restoreImplementationDef, setChanged, setChildren, setEmpty, setField, setField, setField, setField, setSIFValue, 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_Response()
| Method Detail |
|---|
public void setSIF_Header(SIF_Header value)
<SIF_Header> element.
The SIF specification defines the meaning of this element as: "Header information associated with this message. The SIF_DestinationId needs to be the SIF_SourceId of the original SIF_Request message being processed."
value - A SIF_Header objectpublic SIF_Header getSIF_Header()
<SIF_Header> element.
The SIF specification defines the meaning of this element as: "Header information associated with this message. The SIF_DestinationId needs to be the SIF_SourceId of the original SIF_Request message being processed."
SIF_Header objectpublic void removeSIF_Header()
SIF_Header child element previously created by calling setSIF_Header
public java.lang.String getSIF_RequestMsgId()
<SIF_RequestMsgId> element.
The SIF specification defines the meaning of this element as: "This is the message ID of the SIF_Request message being processed. It provides a unique match between a SIF_Response and a previous SIF_Request. Since the ID of each message from an agent is unique, the receiver of a SIF_Response message will be able to relate the SIF_Response to a SIF_Request that it sent out previously."
SIF_RequestMsgId element of this object.public void setSIF_RequestMsgId(java.lang.String value)
<SIF_RequestMsgId> element.
The SIF specification defines the meaning of this element as: "This is the message ID of the SIF_Request message being processed. It provides a unique match between a SIF_Response and a previous SIF_Request. Since the ID of each message from an agent is unique, the receiver of a SIF_Response message will be able to relate the SIF_Response to a SIF_Request that it sent out previously."
value - A String objectpublic void setSIF_Error(SIF_Error value)
<SIF_Error> element.
value - A SIF_Error objectpublic SIF_Error getSIF_Error()
<SIF_Error> element.
SIF_Error objectpublic void removeSIF_Error()
SIF_Error child element previously created by calling setSIF_Error
public java.lang.Integer getSIF_PacketNumber()
<SIF_PacketNumber> element.
The SIF specification defines the meaning of this element as: "This element represents the index of the SIF_Response message in the sequence of packets that make up a complete response. Its value must be in the range of 1 through n, with n equal to the total number of packets that make up a response."
SIF_PacketNumber element of this object.public void setSIF_PacketNumber(java.lang.Integer value)
<SIF_PacketNumber> element.
The SIF specification defines the meaning of this element as: "This element represents the index of the SIF_Response message in the sequence of packets that make up a complete response. Its value must be in the range of 1 through n, with n equal to the total number of packets that make up a response."
value - A Integer objectpublic java.lang.String getSIF_MorePackets()
<SIF_MorePackets> element.
The SIF specification defines the meaning of this element as: "This element provides an indication as to whether there are more packets besides this one to make up a complete response."
SIF_MorePackets element of this object.public void setSIF_MorePackets(YesNo value)
<SIF_MorePackets> element.
The SIF specification defines the meaning of this element as: "This element provides an indication as to whether there are more packets besides this one to make up a complete response."
value - A constant defined by the YesNo classpublic void setSIF_MorePackets(java.lang.String value)
<SIF_MorePackets> element as a String.
The SIF specification defines the meaning of this element as: "This element provides an indication as to whether there are more packets besides this one to make up a complete response."
value - The value as a Stringpublic void setSIF_ObjectData(SIF_ObjectData value)
<SIF_ObjectData> element.
The SIF specification defines the meaning of this element as: " The SIF_ObjectData element contains the data objects matching the supplied criteria in the SIF_Request message if the SIF_Request contained SIF_Query. If the SIF_Request contained SIF_ExtendedQuery, include SIF_ExtendedQueryResults. If the SIF_Error element is present, this element MUST be empty. "
value - A SIF_ObjectData objectpublic SIF_ObjectData getSIF_ObjectData()
<SIF_ObjectData> element.
The SIF specification defines the meaning of this element as: " The SIF_ObjectData element contains the data objects matching the supplied criteria in the SIF_Request message if the SIF_Request contained SIF_Query. If the SIF_Request contained SIF_ExtendedQuery, include SIF_ExtendedQueryResults. If the SIF_Error element is present, this element MUST be empty. "
SIF_ObjectData objectpublic void removeSIF_ObjectData()
SIF_ObjectData child element previously created by calling setSIF_ObjectData
public void setSIF_ExtendedQueryResults(SIF_ExtendedQueryResults value)
<SIF_ExtendedQueryResults> element.
The SIF specification defines the meaning of this element as: " This element contains the elements requested by SIF_ExtendedQuery in SIF_Request. If the SIF_Error element is present, this element MUST be empty. "
value - A SIF_ExtendedQueryResults objectpublic SIF_ExtendedQueryResults getSIF_ExtendedQueryResults()
<SIF_ExtendedQueryResults> element.
The SIF specification defines the meaning of this element as: " This element contains the elements requested by SIF_ExtendedQuery in SIF_Request. If the SIF_Error element is present, this element MUST be empty. "
SIF_ExtendedQueryResults objectpublic void removeSIF_ExtendedQueryResults()
SIF_ExtendedQueryResults child element previously created by calling setSIF_ExtendedQueryResults
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||