ist.palcom.resource.descriptor
Class PRDService

java.lang.Object
  extended by ist.palcom.resource.descriptor.ASTNode
      extended by ist.palcom.resource.descriptor.AbstractXMLRepresentable
          extended by ist.palcom.resource.descriptor.PRDData
              extended by ist.palcom.resource.descriptor.PalcomResourceDescriptor
                  extended by ist.palcom.resource.descriptor.PRDSecondOrder
                      extended by ist.palcom.resource.descriptor.PRDServiceListItem
                          extended by ist.palcom.resource.descriptor.PRDService
All Implemented Interfaces:
IHgraphNode, XMLRepresentable, java.lang.Cloneable

public class PRDService
extends PRDServiceListItem
implements java.lang.Cloneable


Field Summary
static byte BROADCAST
           
static byte GROUPCAST
           
static byte RADIOCAST
           
static java.lang.String ROLE_CUSTOMER
           
static java.lang.String ROLE_PROVIDER
           
static byte UNICAST
           
 
Fields inherited from class ist.palcom.resource.descriptor.PRDData
_node, FULLY_OPERATIONAL, NOT_OPERATIONAL, PARTIALLY_OPERATIONAL
 
Fields inherited from class ist.palcom.resource.descriptor.AbstractXMLRepresentable
getBrowserLabel_visited
 
Fields inherited from class ist.palcom.resource.descriptor.ASTNode
CHANGE, children, encloseInBraces_visited, generatedWithCacheCycle, generatedWithCircularEnabled, generatedWithComponentCheck, getAssemblyLabel_visited, getErrorList_visited, getIndent_visited, getParentPRDAssemblyVer_visited, getPrettyClosingString_visited, getPrettyString_visited, IN_CIRCLE, LAST_CYCLE, numChildren, parent, prettyPrintChildren_visited, RESET_CYCLE
 
Fields inherited from interface ist.palcom.hgraph.IHgraphNode
CHILD_NAME_CLASH, CIRCULARITY_CLASH, COMMAND_OR_NODE_MISSING, ERROR, HANDLER_MISSING, INVOKATOR_MISSING, LISTENER_MISSING, NODE_NOT_CHILD, PATH_MISSING, SIBLING_ALREADY_EXISTS, SIBLING_NONEXISTENT, SIBLING_REFERENCE_ALREADY_EXISTS, SIBLING_REFERENCE_NONEXISTENT, STATUS_OK, VALUE_ALREADY_EXISTS, VALUE_NOT_PRESENT
 
Constructor Summary
PRDService()
           
PRDService(java.lang.String p0, LocalSID p1, byte p2, boolean p3, boolean p4, java.lang.String p5, boolean p6, java.lang.String p7, java.lang.String p8)
           
PRDService(java.lang.String p0, LocalSID p1, byte p2, boolean p3, boolean p4, java.lang.String p5, boolean p6, java.lang.String p7, java.lang.String p8, Opt p9, Opt p10)
           
 
Method Summary
 java.lang.Object clone()
           
 ASTNode copy()
           
 boolean equals(java.lang.Object o)
           
 void flushCache()
           
 ASTNode fullCopy()
           
 byte getDistribution()
           
 GroupID getGroupID()
           
 Opt getGroupIDOpt()
           
 Opt getGroupIDOptNoTransform()
           
 boolean getHasDesc()
           
 LocalSID getLocalSID()
           
 LocalSID getLocalSIDNoTransform()
           
 java.lang.String getName()
           
 java.lang.String getProtocol()
           
 boolean getReliable()
           
 boolean getRemoteConnect()
           
 java.lang.String getServiceHelpText()
           
 java.lang.String getTagName()
           
 Topic getTopic()
           
 Opt getTopicOpt()
           
 Opt getTopicOptNoTransform()
           
 java.lang.String getVersionName()
           
 boolean hasGroupID()
           
 int hashCode()
           
 boolean hasTopic()
           
 void initializeFromElement(XmlPullParser parser)
          Initialize the XMLRepresentable from the element where the parser is currently standing.
 boolean isAboutTheSameEntityAs(PRDData data)
           
 boolean isCustomer()
           
 boolean isProvider()
           
protected  int numChildren()
           
 void refined_PalcomResourceDescriptor_setLocalSID(LocalSID node)
           
 void refined_PalcomResourceDescriptor_setName(java.lang.String value)
           
 void setDistribution(byte value)
           
 void setGroupID(GroupID node)
           
 void setGroupIDOpt(Opt opt)
           
 void setHasDesc(boolean value)
           
 void setLocalSID(LocalSID localSID)
           
 void setName(java.lang.String name)
           
 void setProtocol(java.lang.String value)
           
 void setReliable(boolean value)
           
 void setRemoteConnect(boolean value)
           
 void setServiceHelpText(java.lang.String value)
           
 void setTopic(Topic node)
           
 void setTopicOpt(Opt opt)
           
 void setVersionName(java.lang.String value)
           
 void writeXMLElement(KXmlSerializer serializer)
           
 
Methods inherited from class ist.palcom.resource.descriptor.PalcomResourceDescriptor
writeAttributes
 
Methods inherited from class ist.palcom.resource.descriptor.PRDData
addNodeChild, getChildIterator, getFuncFunc, getNodeName, getNodeParent, getPath, getPRDDataThatEquals, getPRDDataThatIsAboutTheSameEntityAs, getSiblingFunc, getValueFunc, hasChildNamed, isAncestorOf, removeNodeChild, safeEqual, setChild, setNodeName, setNodeParent, toXML, toXMLFull, toXMLFullRecursively, toXMLRecursively, updatePath
 
Methods inherited from class ist.palcom.resource.descriptor.AbstractXMLRepresentable
addChildFromXMLElement, addToAssembly, getBrowserLabel, getXMLData, getXMLData, removeFromAssembly, toString
 
Methods inherited from class ist.palcom.resource.descriptor.ASTNode
addASTtoList, addChild, Define_AbstractResourceAddress_custServiceAddress, Define_AbstractResourceAddress_provServiceAddress, Define_CommandInfo_ci, Define_Device_parentDevice, Define_Identifier_getLocalName, Define_NetworkNode_lookup, Define_PRDAssemblyVer_av, Define_Service_inhCust, Define_Service_inhProv, Define_Service_parentService, Define_String_expectedType, Define_Universe_universe, encloseInBraces, getAssemblyLabel, getChild, getChildArray, getChildNoTransform, getErrorList, getIDforEditing, getIndent, getIndexOfChild, getNumChild, getParent, getParentPRDAssemblyVer, getPrettyClosingString, getPrettyString, insertChild, prettyprint, prettyPrintChildren, remove, removeChild, reset, resetTree, setParent, updateIDfromEditor
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ROLE_PROVIDER

public static final java.lang.String ROLE_PROVIDER
See Also:
Constant Field Values

ROLE_CUSTOMER

public static final java.lang.String ROLE_CUSTOMER
See Also:
Constant Field Values

UNICAST

public static final byte UNICAST
See Also:
Constant Field Values

RADIOCAST

public static final byte RADIOCAST
See Also:
Constant Field Values

GROUPCAST

public static final byte GROUPCAST
See Also:
Constant Field Values

BROADCAST

public static final byte BROADCAST
See Also:
Constant Field Values
Constructor Detail

PRDService

public PRDService(java.lang.String p0,
                  LocalSID p1,
                  byte p2,
                  boolean p3,
                  boolean p4,
                  java.lang.String p5,
                  boolean p6,
                  java.lang.String p7,
                  java.lang.String p8)

PRDService

public PRDService()

PRDService

public PRDService(java.lang.String p0,
                  LocalSID p1,
                  byte p2,
                  boolean p3,
                  boolean p4,
                  java.lang.String p5,
                  boolean p6,
                  java.lang.String p7,
                  java.lang.String p8,
                  Opt p9,
                  Opt p10)
Method Detail

flushCache

public void flushCache()
Overrides:
flushCache in class PRDServiceListItem

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Overrides:
clone in class PRDServiceListItem
Throws:
java.lang.CloneNotSupportedException

copy

public ASTNode copy()
Overrides:
copy in class ASTNode

fullCopy

public ASTNode fullCopy()
Overrides:
fullCopy in class ASTNode

isProvider

public boolean isProvider()

isCustomer

public boolean isCustomer()

isAboutTheSameEntityAs

public boolean isAboutTheSameEntityAs(PRDData data)
Overrides:
isAboutTheSameEntityAs in class PRDData
Returns:
True if info and this info are for the same entity. This can be /**

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class AbstractXMLRepresentable

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getTagName

public java.lang.String getTagName()
Specified by:
getTagName in interface XMLRepresentable
Specified by:
getTagName in class AbstractXMLRepresentable

initializeFromElement

public void initializeFromElement(XmlPullParser parser)
Description copied from interface: XMLRepresentable
Initialize the XMLRepresentable from the element where the parser is currently standing. When calling this method, the parser must be on the start tag of the element. After returning from the method, the parser will be at the end tag of the element.

Specified by:
initializeFromElement in interface XMLRepresentable
Overrides:
initializeFromElement in class PalcomResourceDescriptor

writeXMLElement

public void writeXMLElement(KXmlSerializer serializer)
                     throws java.io.IOException
Specified by:
writeXMLElement in interface XMLRepresentable
Throws:
java.io.IOException

numChildren

protected int numChildren()
Overrides:
numChildren in class PRDServiceListItem

refined_PalcomResourceDescriptor_setName

public void refined_PalcomResourceDescriptor_setName(java.lang.String value)

getName

public java.lang.String getName()
Overrides:
getName in class PRDServiceListItem

refined_PalcomResourceDescriptor_setLocalSID

public void refined_PalcomResourceDescriptor_setLocalSID(LocalSID node)

getLocalSID

public LocalSID getLocalSID()
Overrides:
getLocalSID in class PRDServiceListItem
Returns:
The LocalSID of the entity described, or null if not applicable.

getLocalSIDNoTransform

public LocalSID getLocalSIDNoTransform()

setDistribution

public void setDistribution(byte value)

getDistribution

public byte getDistribution()

setHasDesc

public void setHasDesc(boolean value)

getHasDesc

public boolean getHasDesc()

setRemoteConnect

public void setRemoteConnect(boolean value)

getRemoteConnect

public boolean getRemoteConnect()

setProtocol

public void setProtocol(java.lang.String value)

getProtocol

public java.lang.String getProtocol()

setReliable

public void setReliable(boolean value)

getReliable

public boolean getReliable()

setVersionName

public void setVersionName(java.lang.String value)

getVersionName

public java.lang.String getVersionName()

setServiceHelpText

public void setServiceHelpText(java.lang.String value)

getServiceHelpText

public java.lang.String getServiceHelpText()

setGroupIDOpt

public void setGroupIDOpt(Opt opt)

hasGroupID

public boolean hasGroupID()

getGroupID

public GroupID getGroupID()

setGroupID

public void setGroupID(GroupID node)

getGroupIDOpt

public Opt getGroupIDOpt()

getGroupIDOptNoTransform

public Opt getGroupIDOptNoTransform()

setTopicOpt

public void setTopicOpt(Opt opt)

hasTopic

public boolean hasTopic()

getTopic

public Topic getTopic()

setTopic

public void setTopic(Topic node)

getTopicOpt

public Opt getTopicOpt()

getTopicOptNoTransform

public Opt getTopicOptNoTransform()

setName

public void setName(java.lang.String name)
Overrides:
setName in class PRDServiceListItem

setLocalSID

public void setLocalSID(LocalSID localSID)