ist.palcom.resource.descriptor
Class AltServiceDecl

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.AbstractServiceDecl
                  extended by ist.palcom.resource.descriptor.SingleServiceDecl
                      extended by ist.palcom.resource.descriptor.AltServiceDecl
All Implemented Interfaces:
IHgraphNode, XMLRepresentable, java.lang.Cloneable

public class AltServiceDecl
extends SingleServiceDecl
implements java.lang.Cloneable


Field Summary
protected  boolean getAssemblyLabel_visited
           
protected  boolean getPriority_visited
           
protected  java.lang.String tokenString_Prio
           
 
Fields inherited from class ist.palcom.resource.descriptor.SingleServiceDecl
av_visited, getErrorList_visited, getServiceAddr_visited, getServiceAddress_computed, getServiceAddress_value, getServiceAddress_visited, isAlternative_visited, lookupService_AbstractResourceAddress_visited, lookupService_Identifier_visited, tokenString_InstanceString
 
Fields inherited from class ist.palcom.resource.descriptor.AbstractServiceDecl
getLocalName_visited
 
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, CIRCLE_INDEX, encloseInBraces_visited, generatedWithCacheCycle, generatedWithCircularEnabled, generatedWithComponentCheck, 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
AltServiceDecl()
           
AltServiceDecl(Identifier id, DeviceUse du, ServiceAddress sa, java.lang.String prio)
           
AltServiceDecl(Identifier p0, DeviceUse p1, ServiceID p2, java.lang.String p3, java.lang.String p4)
           
 
Method Summary
 java.lang.Object clone()
           
 ASTNode copy()
           
 void flushCache()
           
 ASTNode fullCopy()
           
 java.lang.String getAssemblyLabel()
           
 DeviceUse getDeviceUse()
           
 DeviceUse getDeviceUseNoTransform()
           
 java.lang.String getInstanceString()
           
 java.lang.String getPrio()
           
 int getPriority()
           
 ServiceID getServiceID()
           
 ServiceID getServiceIDNoTransform()
           
 Identifier getServiceName()
           
 Identifier getServiceNameNoTransform()
           
 java.lang.String getTagName()
           
 void initializeFromElement(XmlPullParser parser)
          Initialize the XMLRepresentable from the element where the parser is currently standing.
protected  int numChildren()
           
 void setDeviceUse(DeviceUse node)
           
 void setInstanceString(java.lang.String value)
           
 void setPrio(java.lang.String value)
           
 void setServiceID(ServiceID node)
           
 void setServiceName(Identifier node)
           
 void writeXMLElementBody(KXmlSerializer serializer)
           
 
Methods inherited from class ist.palcom.resource.descriptor.SingleServiceDecl
addChildFromXMLElement, av, getErrorList, getServiceAddr, getServiceAddress, isAlternative, listenForDiscovery, lookupService, lookupService, setServiceAddress, validateAddress
 
Methods inherited from class ist.palcom.resource.descriptor.AbstractServiceDecl
getLocalName, writeXMLElement
 
Methods inherited from class ist.palcom.resource.descriptor.PRDData
addNodeChild, getChildIterator, getFuncFunc, getLocalSID, getName, getNodeName, getNodeParent, getPath, getPRDDataThatEquals, getPRDDataThatIsAboutTheSameEntityAs, getSiblingFunc, getValueFunc, hasChildNamed, isAboutTheSameEntityAs, isAncestorOf, removeNodeChild, safeEqual, setChild, setNodeName, setNodeParent, toXML, toXMLFull, toXMLFullRecursively, toXMLRecursively, updatePath
 
Methods inherited from class ist.palcom.resource.descriptor.AbstractXMLRepresentable
addToAssembly, equals, getBrowserLabel, getXMLData, getXMLData, removeFromAssembly, toString
 
Methods inherited from class ist.palcom.resource.descriptor.ASTNode
addASTtoList, addChild, Define_AbstractResourceAddress_custServiceAddress, 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_String_parentServiceName, Define_Universe_universe, encloseInBraces, getChild, getChildArray, getChildNoTransform, getIDforEditing, getIndent, getIndexOfChild, getNumChild, getNumChildNoTransform, getParent, getParentPRDAssemblyVer, getPrettyClosingString, getPrettyString, insertChild, prettyprint, prettyPrintChildren, remove, removeChild, reset, resetTree, setParent, updateIDfromEditor
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

tokenString_Prio

protected java.lang.String tokenString_Prio

getPriority_visited

protected boolean getPriority_visited

getAssemblyLabel_visited

protected boolean getAssemblyLabel_visited
Constructor Detail

AltServiceDecl

public AltServiceDecl(Identifier id,
                      DeviceUse du,
                      ServiceAddress sa,
                      java.lang.String prio)

AltServiceDecl

public AltServiceDecl()

AltServiceDecl

public AltServiceDecl(Identifier p0,
                      DeviceUse p1,
                      ServiceID p2,
                      java.lang.String p3,
                      java.lang.String p4)
Method Detail

flushCache

public void flushCache()
Overrides:
flushCache in class SingleServiceDecl

clone

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

copy

public ASTNode copy()
Overrides:
copy in class SingleServiceDecl

fullCopy

public ASTNode fullCopy()
Overrides:
fullCopy in class SingleServiceDecl

getTagName

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

writeXMLElementBody

public void writeXMLElementBody(KXmlSerializer serializer)
                         throws java.io.IOException
Overrides:
writeXMLElementBody in class SingleServiceDecl
Throws:
java.io.IOException

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 SingleServiceDecl

numChildren

protected int numChildren()
Overrides:
numChildren in class SingleServiceDecl

setServiceName

public void setServiceName(Identifier node)
Overrides:
setServiceName in class SingleServiceDecl

getServiceName

public Identifier getServiceName()
Overrides:
getServiceName in class SingleServiceDecl

getServiceNameNoTransform

public Identifier getServiceNameNoTransform()
Overrides:
getServiceNameNoTransform in class SingleServiceDecl

setDeviceUse

public void setDeviceUse(DeviceUse node)
Overrides:
setDeviceUse in class SingleServiceDecl

getDeviceUse

public DeviceUse getDeviceUse()
Overrides:
getDeviceUse in class SingleServiceDecl

getDeviceUseNoTransform

public DeviceUse getDeviceUseNoTransform()
Overrides:
getDeviceUseNoTransform in class SingleServiceDecl

setServiceID

public void setServiceID(ServiceID node)
Overrides:
setServiceID in class SingleServiceDecl

getServiceID

public ServiceID getServiceID()
Overrides:
getServiceID in class SingleServiceDecl

getServiceIDNoTransform

public ServiceID getServiceIDNoTransform()
Overrides:
getServiceIDNoTransform in class SingleServiceDecl

setInstanceString

public void setInstanceString(java.lang.String value)
Overrides:
setInstanceString in class SingleServiceDecl

getInstanceString

public java.lang.String getInstanceString()
Overrides:
getInstanceString in class SingleServiceDecl

setPrio

public void setPrio(java.lang.String value)

getPrio

public java.lang.String getPrio()

getPriority

public int getPriority()

getAssemblyLabel

public java.lang.String getAssemblyLabel()
Overrides:
getAssemblyLabel in class SingleServiceDecl