|
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.RefDesc
public class RefDesc
An object of this class represents the description of the reference node
Nested Class Summary | |
---|---|
static class |
RefDesc.Type
Inner class describing source of data for this reference node |
Constructor Summary | |
---|---|
RefDesc(java.lang.String name,
boolean opt,
boolean rep,
boolean choice,
java.lang.String min,
java.lang.String max,
byte source)
Creates the internal descriptor for a reference node. |
|
RefDesc(java.lang.String name,
boolean opt,
boolean rep,
java.lang.String min,
java.lang.String max,
byte source)
Creates the internal descriptor for a reference node. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Creates and returns a copy of this object. |
boolean |
getChoice()
Gets the choice value of this reference node |
java.lang.String |
getMax()
Gets the maximum value of this reference node |
java.lang.String |
getMin()
Gets the minimum value of this reference node |
java.lang.String |
getName()
Gets the name of this reference node |
int |
getNodeKey()
Gets the key of this reference node |
byte |
getNodeSource()
Gets the source of this reference node |
boolean |
getOptional()
Gets the optional value of this reference node |
boolean |
getRepeat()
Gets the repeat value of this reference node |
boolean |
isOptional()
Checks the optional value of this reference node |
void |
setChoice(boolean choice)
Sets the choice value of this reference node |
void |
setMax(java.lang.String max)
Sets the maximum value of this reference node |
void |
setMin(java.lang.String min)
Sets the minimum value of this reference node |
void |
setName(java.lang.String name)
Sets the name of this reference node |
void |
setNodeKey(int key)
Sets the key of this reference node |
void |
setNodeSource(byte source)
Sets the source of this reference node |
void |
setOptional(boolean optional)
Sets the optional value of this reference node |
void |
setRepeat(boolean repeat)
Sets the repeat value of this reference node |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RefDesc(java.lang.String name, boolean opt, boolean rep, java.lang.String min, java.lang.String max, byte source)
name
- the node name, for tracing onlyopt
- flag: node optional?rep
- flag: node repeated?min
- minimum repetitions for this nodemax
- maximum repetitions for this nodesource
- FogComposite Typepublic RefDesc(java.lang.String name, boolean opt, boolean rep, boolean choice, java.lang.String min, java.lang.String max, byte source)
name
- the node name, for tracing onlyopt
- flag: node optional?rep
- flag: node repeated?choice
- flag: node choice group?min
- minimum repetitions for this nodemax
- maximum repetitions for this nodesource
- FogComposite TypeMethod Detail |
---|
public java.lang.Object clone()
clone
in class java.lang.Object
public void setName(java.lang.String name)
name
- node namepublic java.lang.String getName()
public void setNodeKey(int key)
key
- node keypublic int getNodeKey()
public void setOptional(boolean optional)
optional
- node optional valuepublic boolean getOptional()
public boolean isOptional()
public void setRepeat(boolean repeat)
repeat
- node repeat valuepublic boolean getRepeat()
public void setChoice(boolean choice)
choice
- node valuepublic boolean getChoice()
public void setMin(java.lang.String min)
min
- node minimum valuepublic java.lang.String getMin()
public void setMax(java.lang.String max)
max
- node maximum valuepublic java.lang.String getMax()
public void setNodeSource(byte source)
source
- Source typepublic byte getNodeSource()
|
Sun Message Library for HL7 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |