|
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.NodeDescList
public class NodeDescList
Holds NodeDesc Objects
Nested Class Summary | |
---|---|
static class |
NodeDescList.Type
Class to define NodeDesc types |
Constructor Summary | |
---|---|
NodeDescList()
|
Method Summary | |
---|---|
void |
addNode(NodeDesc node)
Adds an NodeDesc to this template object |
boolean |
contains(NodeDesc node)
Tests to see if the list contains a specific NodeDesc object |
byte |
getListType()
Returns the type of list |
java.lang.String |
getListTypeStr()
Returns the type of list as a string |
NodeDesc |
getNode(int index)
Get NodeDesc by index |
NodeDesc |
getNodeByName(java.lang.String name)
Returns a NodeDesc object based on its name |
java.util.ArrayList |
getNodes()
Returns the node values as an ArrayList |
void |
setListType(byte type)
Set the type of list |
int |
size()
Returns the number of nodes in this list |
java.lang.String |
toString()
Outputs the list in string format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NodeDescList()
Method Detail |
---|
public void addNode(NodeDesc node)
node
- The NodeDesc to be addedpublic java.util.ArrayList getNodes()
public NodeDesc getNode(int index)
public NodeDesc getNodeByName(java.lang.String name)
public void setListType(byte type)
type
- List Typepublic byte getListType()
public java.lang.String getListTypeStr()
public int size()
public boolean contains(NodeDesc node)
node
- The NodeDesc object to be tested
public java.lang.String toString()
toString
in class java.lang.Object
|
Sun Message Library for HL7 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |