|
||||||||||
| 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_SIFNode
public class SIF_SIFNode
| Field Summary |
|---|
| Fields inherited from class com.edustructures.sifworks.Element |
|---|
CURRENT_SERIALIZE_VERSION |
| Constructor Summary | |
|---|---|
SIF_SIFNode()
Constructor |
|
SIF_SIFNode(SIF_SIFNodeType type,
java.lang.String sifName,
java.lang.String sifSourceId,
SIFMode sifMode,
java.lang.Integer sifMaxBufferSize,
YesNo sifSleeping)
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_Application |
getSIF_Application()
Gets the value of the <SIF_Application> element. |
java.lang.String |
getSIF_AuthenticationLevel()
Gets the value of the <SIF_AuthenticationLevel> element. |
java.lang.String |
getSIF_DynamicConnectionData()
Gets the value of the <SIF_DynamicConnectionData> element. |
java.lang.String |
getSIF_EncryptionLevel()
Gets the value of the <SIF_EncryptionLevel> 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. |
java.lang.String |
getSIF_Sleeping()
Gets the value of the <SIF_Sleeping> element. |
java.lang.String |
getSIF_SourceId()
Gets the value of the <SIF_SourceId> element. |
SIF_VersionList |
getSIF_VersionList()
Gets the value of the <SIF_VersionList> element. |
java.lang.String |
getType()
Gets the value of the Type attribute. |
void |
removeSIF_Application()
Removes the SIF_Application child element previously created by calling setSIF_Application |
void |
removeSIF_Protocol()
Removes the SIF_Protocol child element previously created by calling setSIF_Protocol |
void |
removeSIF_VersionList()
Removes the SIF_VersionList child element previously created by calling setSIF_VersionList |
void |
setSIF_Application(SIF_Application value)
Sets the value of the <SIF_Application> element. |
void |
setSIF_Application(java.lang.String sifVendor,
java.lang.String sifProduct,
java.lang.String sifVersion)
Sets the value of the <SIF_Application> child element. |
void |
setSIF_AuthenticationLevel(AuthenticationLevel value)
Sets the value of the <SIF_AuthenticationLevel> element. |
void |
setSIF_AuthenticationLevel(java.lang.String value)
Sets the value of the <SIF_AuthenticationLevel> element as a String. |
void |
setSIF_DynamicConnectionData(java.lang.String value)
Sets the value of the <SIF_DynamicConnectionData> element. |
void |
setSIF_EncryptionLevel(EncryptionLevel value)
Sets the value of the <SIF_EncryptionLevel> element. |
void |
setSIF_EncryptionLevel(java.lang.String value)
Sets the value of the <SIF_EncryptionLevel> element as a String. |
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_Protocol(java.lang.String type,
YesNo secure)
Sets the value of the <SIF_Protocol> child element. |
void |
setSIF_Sleeping(java.lang.String value)
Sets the value of the <SIF_Sleeping> element as a String. |
void |
setSIF_Sleeping(YesNo value)
Sets the value of the <SIF_Sleeping> element. |
void |
setSIF_SourceId(java.lang.String value)
Sets the value of the <SIF_SourceId> element. |
void |
setSIF_VersionList(SIF_VersionList value)
Sets the value of the <SIF_VersionList> element. |
void |
setType(SIF_SIFNodeType value)
Sets the value of the Type attribute. |
void |
setType(java.lang.String value)
Sets the value of the Type attribute as a String. |
| 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_SIFNode()
public SIF_SIFNode(SIF_SIFNodeType type,
java.lang.String sifName,
java.lang.String sifSourceId,
SIFMode sifMode,
java.lang.Integer sifMaxBufferSize,
YesNo sifSleeping)
type - The type of node ("Agent" or "ZIS")sifName - The descriptive name of the SIF node (i.e. Ramsey Food Services).sifSourceId - The agent or ZIS identifier. This is the same value that the SIF node would place in any SIF_Header that it would create.sifMode - Specifies the communication mode (Pull or Push) as chosen by the message sender.sifMaxBufferSize - Specifies that the ZIS should never send packets larger than this value. Query responses from other providers are controlled by the SIF_MaxBufferSize attribute in the SIF_Request message.sifSleeping - This element shows whether the SIF node is ready to process messages.| Method Detail |
|---|
public java.lang.String getKey()
getKey in class SIFElementpublic ElementDef[] getKeyFields()
public java.lang.String getType()
Type attribute.
The SIF specification defines the meaning of this attribute as: "The type of node ("Agent" or "ZIS")"
Type attribute of this object.public void setType(SIF_SIFNodeType value)
Type attribute.
The SIF specification defines the meaning of this attribute as: "The type of node ("Agent" or "ZIS")"
value - A constant defined by the SIF_SIFNodeType classpublic void setType(java.lang.String value)
Type attribute as a String.
The SIF specification defines the meaning of this attribute as: "The type of node ("Agent" or "ZIS")"
value - The value as a Stringpublic java.lang.String getSIF_Name()
<SIF_Name> element.
The SIF specification defines the meaning of this element as: "The descriptive name of the SIF node (i.e. Ramsey Food Services)."
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: "The descriptive name of the SIF node (i.e. Ramsey Food Services)."
value - A String objectpublic 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 objectpublic java.lang.String getSIF_SourceId()
<SIF_SourceId> element.
The SIF specification defines the meaning of this element as: "The agent or ZIS identifier. This is the same value that the SIF node would place in any SIF_Header that it would create."
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 agent or ZIS identifier. This is the same value that the SIF node would place in any SIF_Header that it would create."
value - A String objectpublic 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_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.
The SIF specification defines the meaning of this element as: "Describes the currently active protocol that the SIF_SIFNode is using to communicate with the ZIS."
value - A SIF_Protocol object
public void setSIF_Protocol(java.lang.String type,
YesNo secure)
<SIF_Protocol> child element.
This form of setSIF_Protocol is provided as a convenience method
that is functionally equivalent to the version of setSIF_Protocol
that accepts a single SIF_Protocol object.
type - Identifies the type being used (e.g. "HTTP", "HTTPS", "MSMQ", etc.)secure - Indicates if the protocol provides a secure channelpublic SIF_Protocol getSIF_Protocol()
<SIF_Protocol> element.
The SIF specification defines the meaning of this element as: "Describes the currently active protocol that the SIF_SIFNode is using to communicate with the ZIS."
SIF_Protocol objectpublic void removeSIF_Protocol()
SIF_Protocol child element previously created by calling setSIF_Protocol
public 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 object
public void setSIF_Application(java.lang.String sifVendor,
java.lang.String sifProduct,
java.lang.String sifVersion)
<SIF_Application> child element.
This form of setSIF_Application is provided as a convenience method
that is functionally equivalent to the version of setSIF_Application
that accepts a single SIF_Application object.
sifVendor - The name of the company of the product that this agent supports.sifProduct - The name of the product that this agent supports.sifVersion - The version of the product. This field is informative only.public SIF_Application getSIF_Application()
<SIF_Application> element.
SIF_Application objectpublic void removeSIF_Application()
SIF_Application child element previously created by calling setSIF_Application
public void setSIF_VersionList(SIF_VersionList value)
<SIF_VersionList> element.
The SIF specification defines the meaning of this element as: "The version of the SIF specification that the SIF_SIFNode uses"
value - A SIF_VersionList objectpublic SIF_VersionList getSIF_VersionList()
<SIF_VersionList> element.
The SIF specification defines the meaning of this element as: "The version of the SIF specification that the SIF_SIFNode uses"
SIF_VersionList objectpublic void removeSIF_VersionList()
SIF_VersionList child element previously created by calling setSIF_VersionList
public java.lang.String getSIF_AuthenticationLevel()
<SIF_AuthenticationLevel> element.
The SIF specification defines the meaning of this element as: "This is the level of authentication that the SIF node supports when it wants to communicate via a secure channel."
SIF_AuthenticationLevel element of this object.public void setSIF_AuthenticationLevel(AuthenticationLevel value)
<SIF_AuthenticationLevel> element.
The SIF specification defines the meaning of this element as: "This is the level of authentication that the SIF node supports when it wants to communicate via a secure channel."
value - A constant defined by the AuthenticationLevel classpublic void setSIF_AuthenticationLevel(java.lang.String value)
<SIF_AuthenticationLevel> element as a String.
The SIF specification defines the meaning of this element as: "This is the level of authentication that the SIF node supports when it wants to communicate via a secure channel."
value - The value as a Stringpublic java.lang.String getSIF_EncryptionLevel()
<SIF_EncryptionLevel> element.
The SIF specification defines the meaning of this element as: "This is the level of encryption that the SIF node supports when it wants to communicate via a secure channel."
SIF_EncryptionLevel element of this object.public void setSIF_EncryptionLevel(EncryptionLevel value)
<SIF_EncryptionLevel> element.
The SIF specification defines the meaning of this element as: "This is the level of encryption that the SIF node supports when it wants to communicate via a secure channel."
value - A constant defined by the EncryptionLevel classpublic void setSIF_EncryptionLevel(java.lang.String value)
<SIF_EncryptionLevel> element as a String.
The SIF specification defines the meaning of this element as: "This is the level of encryption that the SIF node supports when it wants to communicate via a secure channel."
value - The value as a Stringpublic java.lang.Integer getSIF_MaxBufferSize()
<SIF_MaxBufferSize> element.
The SIF specification defines the meaning of this element as: "Specifies that the ZIS should never send packets larger than this value. Query responses from other providers are controlled by the SIF_MaxBufferSize attribute in the SIF_Request message."
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 that the ZIS should never send packets larger than this value. Query responses from other providers are controlled by the SIF_MaxBufferSize attribute in the SIF_Request message."
value - A Integer objectpublic java.lang.String getSIF_Sleeping()
<SIF_Sleeping> element.
The SIF specification defines the meaning of this element as: "This element shows whether the SIF node is ready to process messages."
SIF_Sleeping element of this object.public void setSIF_Sleeping(YesNo value)
<SIF_Sleeping> element.
The SIF specification defines the meaning of this element as: "This element shows whether the SIF node is ready to process messages."
value - A constant defined by the YesNo classpublic void setSIF_Sleeping(java.lang.String value)
<SIF_Sleeping> element as a String.
The SIF specification defines the meaning of this element as: "This element shows whether the SIF node is ready to process messages."
value - The value as a Stringpublic java.lang.String getSIF_DynamicConnectionData()
<SIF_DynamicConnectionData> element.
The SIF specification defines the meaning of this element as: "Encompasses the statistics that the ZIS maintains for each SIF_SIFNode. No child elements have been defined in version 1.0 of the specification."
SIF_DynamicConnectionData element of this object.public void setSIF_DynamicConnectionData(java.lang.String value)
<SIF_DynamicConnectionData> element.
The SIF specification defines the meaning of this element as: "Encompasses the statistics that the ZIS maintains for each SIF_SIFNode. No child elements have been defined in version 1.0 of the specification."
value - A String object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||