|
||||||||||
| 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_Register
public class SIF_Register
Contains one of the SIF message types.
| Field Summary |
|---|
| Fields inherited from class com.edustructures.sifworks.Element |
|---|
CURRENT_SERIALIZE_VERSION |
| Constructor Summary | |
|---|---|
SIF_Register()
Constructor |
|
| Method Summary | |
|---|---|
void |
addSIF_Version(SIF_Version value)
Adds a new <SIF_Version> child element. |
SIF_Application |
getSIF_Application()
Gets the value of the <SIF_Application> element. |
SIF_Header |
getSIF_Header()
Gets the value of the <SIF_Header> element. |
java.lang.String |
getSIF_Icon()
Gets the value of the <SIF_Icon> element. |
java.lang.Integer |
getSIF_MaxBufferSize()
Gets the value of the <SIF_MaxBufferSize> element. |
java.lang.String |
getSIF_Mode()
Gets the value of the <SIF_Mode> element. |
java.lang.String |
getSIF_Name()
Gets the value of the <SIF_Name> element. |
java.lang.String |
getSIF_NodeVendor()
Gets the value of the <SIF_NodeVendor> element. |
java.lang.String |
getSIF_NodeVersion()
Gets the value of the <SIF_NodeVersion> element. |
SIF_Protocol |
getSIF_Protocol()
Gets the value of the <SIF_Protocol> element. |
SIF_Version |
getSIF_Version(java.lang.String value)
Gets a SIF_Version object instance. |
SIF_Version[] |
getSIF_Versions()
Gets all SIF_Version object instances. |
void |
removeSIF_Application()
Removes the SIF_Application child element previously created by calling setSIF_Application |
void |
removeSIF_Header()
Removes the SIF_Header child element previously created by calling setSIF_Header |
void |
removeSIF_Protocol()
Removes the SIF_Protocol child element previously created by calling setSIF_Protocol |
void |
removeSIF_Version(java.lang.String value)
Removes a SIF_Version object instance. |
void |
setSIF_Application(SIF_Application value)
Sets the value of the <SIF_Application> element. |
void |
setSIF_Header(SIF_Header value)
Sets the value of the <SIF_Header> element. |
void |
setSIF_Icon(java.lang.String value)
Sets the value of the <SIF_Icon> element. |
void |
setSIF_MaxBufferSize(java.lang.Integer value)
Sets the value of the <SIF_MaxBufferSize> element. |
void |
setSIF_Mode(SIFMode value)
Sets the value of the <SIF_Mode> element. |
void |
setSIF_Mode(java.lang.String value)
Sets the value of the <SIF_Mode> element as a String. |
void |
setSIF_Name(java.lang.String value)
Sets the value of the <SIF_Name> element. |
void |
setSIF_NodeVendor(java.lang.String value)
Sets the value of the <SIF_NodeVendor> element. |
void |
setSIF_NodeVersion(java.lang.String value)
Sets the value of the <SIF_NodeVersion> element. |
void |
setSIF_Protocol(SIF_Protocol value)
Sets the value of the <SIF_Protocol> element. |
void |
setSIF_Versions(SIF_Version[] sif_versions)
Sets an array of SIF_Version objects. |
| 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_Register()
| 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_Name()
<SIF_Name> element.
The SIF specification defines the meaning of this element as: "This is the descriptive name of the agent that is registering (i.e. Ramsey Media Center)."
SIF_Name element of this object.public void setSIF_Name(java.lang.String value)
<SIF_Name> element.
The SIF specification defines the meaning of this element as: "This is the descriptive name of the agent that is registering (i.e. Ramsey Media Center)."
value - A String objectpublic void addSIF_Version(SIF_Version value)
<SIF_Version> child element.
The SIF specification defines the meaning of this element as: "Specifies which SIF Specification version(s) the agent supports. If the ZIS cannot communicate in this format, it should reject the request."
value - A SIF_Version objectpublic void removeSIF_Version(java.lang.String value)
SIF_Version object instance. More than one instance can be defined for this object because it is a repeatable field element.
value - Identifies the SIF_Version object to remove by its Value valuepublic SIF_Version getSIF_Version(java.lang.String value)
SIF_Version object instance. More than one instance can be defined for this object because it is a repeatable field element.
value - Identifies the SIF_Version object to return by its "Value" attribute value
SIF_Version objectpublic SIF_Version[] getSIF_Versions()
SIF_Version object instances. More than one instance can be defined for this object because it is a repeatable field element.
SIF_Version objectspublic void setSIF_Versions(SIF_Version[] sif_versions)
SIF_Version objects. All existing
SIF_Version instances
are removed and replaced with this list. Calling this method with the
parameter value set to null removes all SIF_Versions.
public java.lang.Integer getSIF_MaxBufferSize()
<SIF_MaxBufferSize> element.
The SIF specification defines the meaning of this element as: "Specifies the maximum size of a packet to be returned by the ZIS. The ZIS may return packets smaller than, or equal to, the maximum value."
SIF_MaxBufferSize element of this object.public void setSIF_MaxBufferSize(java.lang.Integer value)
<SIF_MaxBufferSize> element.
The SIF specification defines the meaning of this element as: "Specifies the maximum size of a packet to be returned by the ZIS. The ZIS may return packets smaller than, or equal to, the maximum value."
value - A Integer objectpublic java.lang.String getSIF_Mode()
<SIF_Mode> element.
The SIF specification defines the meaning of this element as: "Specifies the communication mode (Pull or Push) as chosen by the message sender."
SIF_Mode element of this object.public void setSIF_Mode(SIFMode value)
<SIF_Mode> element.
The SIF specification defines the meaning of this element as: "Specifies the communication mode (Pull or Push) as chosen by the message sender."
value - A constant defined by the SIFMode classpublic void setSIF_Mode(java.lang.String value)
<SIF_Mode> element as a String.
The SIF specification defines the meaning of this element as: "Specifies the communication mode (Pull or Push) as chosen by the message sender."
value - The value as a Stringpublic void setSIF_Protocol(SIF_Protocol value)
<SIF_Protocol> element.
value - A SIF_Protocol objectpublic SIF_Protocol getSIF_Protocol()
<SIF_Protocol> element.
SIF_Protocol objectpublic void removeSIF_Protocol()
SIF_Protocol child element previously created by calling setSIF_Protocol
public java.lang.String getSIF_NodeVendor()
<SIF_NodeVendor> element.
The SIF specification defines the meaning of this element as: "The vendor of the SIF agent."
SIF_NodeVendor element of this object.public void setSIF_NodeVendor(java.lang.String value)
<SIF_NodeVendor> element.
The SIF specification defines the meaning of this element as: "The vendor of the SIF agent."
value - A String objectpublic java.lang.String getSIF_NodeVersion()
<SIF_NodeVersion> element.
The SIF specification defines the meaning of this element as: " The agent version number. The format of this field is undefined, but it should match the format used in the agent's conformance statement, if the agent is SIF Certified. "
SIF_NodeVersion element of this object.public void setSIF_NodeVersion(java.lang.String value)
<SIF_NodeVersion> element.
The SIF specification defines the meaning of this element as: " The agent version number. The format of this field is undefined, but it should match the format used in the agent's conformance statement, if the agent is SIF Certified. "
value - A String objectpublic void setSIF_Application(SIF_Application value)
<SIF_Application> element.
value - A SIF_Application objectpublic SIF_Application getSIF_Application()
<SIF_Application> element.
SIF_Application objectpublic void removeSIF_Application()
SIF_Application child element previously created by calling setSIF_Application
public java.lang.String getSIF_Icon()
<SIF_Icon> element.
The SIF specification defines the meaning of this element as: " HTTP URL referencing an icon for graphical representation of the application/agent. Should range from 16x16 pixels to 128x128 pixels and be of an image MIME type commonly supported by Web browsers (e.g. PNG, JPEG, GIF). Agents may optionally follow the more restrictive guidelines at [FAVICON]. "
SIF_Icon element of this object.public void setSIF_Icon(java.lang.String value)
<SIF_Icon> element.
The SIF specification defines the meaning of this element as: " HTTP URL referencing an icon for graphical representation of the application/agent. Should range from 16x16 pixels to 128x128 pixels and be of an image MIME type commonly supported by Web browsers (e.g. PNG, JPEG, GIF). Agents may optionally follow the more restrictive guidelines at [FAVICON]. "
value - A String object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||