|
Sun Message Library for HL7 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.stc.hl7.parser.NodeDesc
public class NodeDesc
An object of this class represents the description of the node
Constructor Summary | |
---|---|
NodeDesc()
Constructor for NodeDesc |
|
NodeDesc(java.lang.String name,
byte type,
boolean top,
boolean template)
Creates the internal descriptor for a node. |
Method Summary | |
---|---|
void |
addSubNode(RefDesc refnode)
Adds subnode to the list |
java.lang.Object |
clone()
Creates and returns a copy of this object. |
boolean |
equals(java.lang.Object obj)
Returns true if the object is this NodeDesc |
byte[] |
getDefaultOutput()
Gets the defaultOutput of this node |
java.lang.String |
getDescription()
Gets the comment of this node |
com.stc.otd.fog.FogComposite |
getFogCompositeNode()
Gets the FogComposite node of this node |
java.lang.String |
getInitialOutput()
Gets the value for initial of data output |
java.lang.String |
getInputMatch()
Gets value for match of data input |
int |
getLength()
Gets the length of this node |
int[][] |
getLevels()
Gets the levels of this node |
java.lang.String |
getName()
Gets the name of this node |
byte |
getNodeType()
Gets the type of this node |
java.util.ArrayList |
getSubNodes()
Gets the subnode list of this node |
RefDesc |
getSubNodes(int i)
Gets the subnode at index i |
byte |
getType()
Gets the FogComposite type |
boolean |
hasChildren()
Gets the subnode at index i |
boolean |
isOptional()
Gets the optional value of this node |
boolean |
isTemplate()
Gets the template value for this node |
boolean |
isTop()
Gets the top value for this node |
void |
setDefaultOutput(byte[] defaultOutput)
Sets the defaultOutput of this node |
void |
setDescription(java.lang.String comment)
Sets the comment of this node |
void |
setFogCompositeNode(com.stc.otd.fog.FogComposite node)
Sets the FogComposite node of this node |
void |
setInitialOutput(java.lang.String initialOutput)
Sets value for initial of data output |
void |
setInputMatch(java.lang.String inputMatch)
Sets value for match of data input |
void |
setLength(int length)
Sets the length of this node |
void |
setLevels(int[][] levels)
Sets the levels of this node |
void |
setName(java.lang.String name)
Sets the name of this node |
void |
setNodeType(byte type)
Sets the type of this node |
void |
setOptional(boolean optional)
Sets the optional value of this node |
void |
setSubNodes(java.util.ArrayList subnodes)
Sets the subnode list of this node |
void |
setTemplate(boolean template)
Sets template value for this node |
void |
setTop(boolean top)
Sets top value for this node |
void |
setType(byte type)
Sets the FogComposite type |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NodeDesc()
public NodeDesc(java.lang.String name, byte type, boolean top, boolean template)
name
- the node name, for tracing onlytype
- from Nodes.Node.Type, can be UNDEFtop
- flag: can be used as root of data tree?template
- flag: is this an internal template?Method Detail |
---|
public java.lang.Object clone()
clone
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public void setName(java.lang.String name)
name
- node namepublic java.lang.String getName()
public void setType(byte type)
type
- FogComposite typepublic byte getType()
public void setNodeType(byte type)
type
- node typepublic byte getNodeType()
public void setDescription(java.lang.String comment)
comment
- node commentpublic java.lang.String getDescription()
public void setTop(boolean top)
top
- true if this is a top node else falsepublic boolean isTop()
public void setTemplate(boolean template)
template
- true if this is a template node else falsepublic boolean isTemplate()
public void setLength(int length)
length
- node lengthpublic int getLength()
public void setOptional(boolean optional)
optional
- node optional valuepublic boolean isOptional()
public void setSubNodes(java.util.ArrayList subnodes)
subnodes
- subnode listpublic java.util.ArrayList getSubNodes()
public RefDesc getSubNodes(int i)
public void addSubNode(RefDesc refnode)
refnode
- subnode of this nodepublic boolean hasChildren()
public void setLevels(int[][] levels)
levels
- node levelspublic int[][] getLevels()
public void setInputMatch(java.lang.String inputMatch)
inputMatch
- Match for inputpublic java.lang.String getInputMatch()
public void setInitialOutput(java.lang.String initialOutput)
initialOutput
- Default value for outputpublic java.lang.String getInitialOutput()
public void setDefaultOutput(byte[] defaultOutput)
defaultOutput
- node defaultOutputpublic byte[] getDefaultOutput()
public void setFogCompositeNode(com.stc.otd.fog.FogComposite node)
node
- node FogComposite nodepublic com.stc.otd.fog.FogComposite getFogCompositeNode()
|
Sun Message Library for HL7 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |