ist.palcom.communication.ast
Class Param

java.lang.Object
  extended by ist.palcom.communication.ast.ASTNode
      extended by ist.palcom.communication.ast.ControlItem
          extended by ist.palcom.communication.ast.Param
All Implemented Interfaces:
Cloneable

public class Param
extends ControlItem
implements Cloneable


Field Summary
 
Fields inherited from class ist.palcom.communication.ast.ASTNode
CHANGE, children, generatedWithCacheCycle, generatedWithCircularEnabled, IN_CIRCLE, LAST_CYCLE, numChildren, parent
 
Constructor Summary
Param()
           
Param(ParamInfo p0)
           
Param(String id, String type)
           
Param(String id, String type, byte[] data)
           
 
Method Summary
 Object clone()
           
 ASTNode copy()
           
 void flushCache()
           
 ASTNode fullCopy()
           
 Param getCopy()
          Returns a copy of this param, with the same values for all attributes.
 byte[] getData()
           
 int getDataRef()
           
 String getHelp()
           
 ParamInfo getInfo()
           
 Info getInfoAsInfo()
          Workaround for static typing.
 ParamInfo getInfoNoTransform()
           
 String getType()
           
 boolean isAboutTheSameEntityAs(Info info)
           
protected  int numChildren()
           
 void setData(byte[] data)
           
 void setDataRefsAndAddDataToList(ArrayList dataList)
           
 void setDataAccordingToDataRefs(byte[][] data)
           
 void setHelp(String help)
           
 void setInfo(ParamInfo node)
           
 
Methods inherited from class ist.palcom.communication.ast.ControlItem
findItem, findMatchingCommand, getID, getMessage, getServiceProxy, getTagName, initializeFromElement, writeStartTagAndAttributes, writeXMLElement
 
Methods inherited from class ist.palcom.communication.ast.ASTNode
addChild, getChild, getChildNoTransform, getIndexOfChild, getNumChild, getParent, insertChild, remove, removeChild, setChild, setParent
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, println, toString
 

Constructor Detail

Param

public Param()

Param

public Param(ParamInfo p0)

Param

public Param(String id,
             String type)

Param

public Param(String id,
             String type,
             byte[] data)
Method Detail

clone

public Object clone()
             throws CloneNotSupportedException
Overrides:
clone in class ControlItem
Throws:
CloneNotSupportedException

copy

public ASTNode copy()
Overrides:
copy in class ASTNode

fullCopy

public ASTNode fullCopy()
Overrides:
fullCopy in class ASTNode

flushCache

public void flushCache()
Overrides:
flushCache in class ControlItem

numChildren

protected int numChildren()
Overrides:
numChildren in class ControlItem

setInfo

public void setInfo(ParamInfo node)

getInfo

public ParamInfo getInfo()

getInfoNoTransform

public ParamInfo getInfoNoTransform()

isAboutTheSameEntityAs

public boolean isAboutTheSameEntityAs(Info info)

getInfoAsInfo

public Info getInfoAsInfo()
Description copied from class: ControlItem
Workaround for static typing.

Specified by:
getInfoAsInfo in class ControlItem

getType

public String getType()

getDataRef

public int getDataRef()

getHelp

public String getHelp()

setHelp

public void setHelp(String help)

setDataRefsAndAddDataToList

public void setDataRefsAndAddDataToList(ArrayList dataList)
Specified by:
setDataRefsAndAddDataToList in class ControlItem

setDataAccordingToDataRefs

public void setDataAccordingToDataRefs(byte[][] data)
Specified by:
setDataAccordingToDataRefs in class ControlItem

getData

public byte[] getData()

setData

public void setData(byte[] data)

getCopy

public Param getCopy()
Returns a copy of this param, with the same values for all attributes.