|
||||||||||
| 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_Ack
public class SIF_Ack
Contains one of the SIF message types.
| Field Summary | |
|---|---|
SIFMessagePayload |
message
|
| Fields inherited from class com.edustructures.sifworks.Element |
|---|
CURRENT_SERIALIZE_VERSION |
| Constructor Summary | |
|---|---|
SIF_Ack()
Constructor |
|
| Method Summary | |
|---|---|
SIF_Error |
getSIF_Error()
Gets the value of the <SIF_Error> element. |
SIF_Header |
getSIF_Header()
Gets the value of the <SIF_Header> element. |
java.lang.String |
getSIF_OriginalMsgId()
Gets the value of the <SIF_OriginalMsgId> element. |
java.lang.String |
getSIF_OriginalSourceId()
Gets the value of the <SIF_OriginalSourceId> element. |
SIF_Status |
getSIF_Status()
Gets the value of the <SIF_Status> element. |
boolean |
hasError()
Determines if this SIF_Ack communicates an error |
boolean |
hasError(int category,
int code)
Determines if this SIF_Ack contains the specified error code |
boolean |
hasStatusCode(int code)
Determines if this SIF_Ack has a specific status code. |
void |
LogRecv(org.apache.log4j.Category log)
Utility method called by the class framework to log this SIF_Message upon receipt from a zone. |
void |
LogSend(org.apache.log4j.Category log)
Utility method called by the class framework to log this SIF_Message prior to sending it to a zone. |
void |
removeSIF_Error()
Removes the SIF_Error child element previously created by calling setSIF_Error |
void |
removeSIF_Header()
Removes the SIF_Header child element previously created by calling setSIF_Header |
void |
removeSIF_Status()
Removes the SIF_Status child element previously created by calling setSIF_Status |
void |
setSIF_Error(SIF_Error value)
Sets the value of the <SIF_Error> element. |
void |
setSIF_Header(SIF_Header value)
Sets the value of the <SIF_Header> element. |
void |
setSIF_OriginalMsgId(java.lang.String value)
Sets the value of the <SIF_OriginalMsgId> element. |
void |
setSIF_OriginalSourceId(java.lang.String value)
Sets the value of the <SIF_OriginalSourceId> element. |
void |
setSIF_Status(SIF_Status value)
Sets the value of the <SIF_Status> 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, 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 |
| Field Detail |
|---|
public SIFMessagePayload message
| Constructor Detail |
|---|
public SIF_Ack()
| 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."
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."
SIF_Header objectpublic void removeSIF_Header()
SIF_Header child element previously created by calling setSIF_Header
public java.lang.String getSIF_OriginalSourceId()
<SIF_OriginalSourceId> element.
The SIF specification defines the meaning of this element as: "The SIF_SourceId of the infrastructure message for which the SIF_Ack serves as a response."
SIF_OriginalSourceId element of this object.public void setSIF_OriginalSourceId(java.lang.String value)
<SIF_OriginalSourceId> element.
The SIF specification defines the meaning of this element as: "The SIF_SourceId of the infrastructure message for which the SIF_Ack serves as a response."
value - A String objectpublic java.lang.String getSIF_OriginalMsgId()
<SIF_OriginalMsgId> element.
The SIF specification defines the meaning of this element as: "The SIF_MsgId of the infrastructure message for which the SIF_Ack message serves as a response."
SIF_OriginalMsgId element of this object.public void setSIF_OriginalMsgId(java.lang.String value)
<SIF_OriginalMsgId> element.
The SIF specification defines the meaning of this element as: "The SIF_MsgId of the infrastructure message for which the SIF_Ack message serves as a response."
value - A String objectpublic void setSIF_Status(SIF_Status value)
<SIF_Status> element.
The SIF specification defines the meaning of this element as: "This element is used to signal a successful response."
value - A SIF_Status objectpublic SIF_Status getSIF_Status()
<SIF_Status> element.
The SIF specification defines the meaning of this element as: "This element is used to signal a successful response."
SIF_Status objectpublic void removeSIF_Status()
SIF_Status child element previously created by calling setSIF_Status
public void setSIF_Error(SIF_Error value)
<SIF_Error> element.
The SIF specification defines the meaning of this element as: "This element is used to signal an unsuccessful response."
value - A SIF_Error objectpublic SIF_Error getSIF_Error()
<SIF_Error> element.
The SIF specification defines the meaning of this element as: "This element is used to signal an unsuccessful response."
SIF_Error objectpublic void removeSIF_Error()
SIF_Error child element previously created by calling setSIF_Error
public boolean hasStatusCode(int code)
code - The status code to test for
public boolean hasError()
public boolean hasError(int category,
int code)
category - The error categorycode - The error code
public void LogSend(org.apache.log4j.Category log)
SIFMessagePayload
LogSend in class SIFMessagePayloadlog - The Log4j Category instance representing the destination Zonepublic void LogRecv(org.apache.log4j.Category log)
SIFMessagePayload
LogRecv in class SIFMessagePayloadlog - The Log4j Category instance representing the source Zone
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||