|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.uhn.hl7v2.conf.spec.message.Seg
public class Seg
A specification for a message segment in a conformance profile.
| Constructor Summary | |
|---|---|
Seg()
Creates a new instance of Segment |
|
| Method Summary | |
|---|---|
void |
addPropertyChangeListener(PropertyChangeListener l)
Adds a PropertyChangeListener to the listener list. |
void |
addVetoableChangeListener(VetoableChangeListener l)
Adds a VetoableChangeListener to the listener list. |
String |
getDescription()
Getter for property description. |
Field |
getField(int index)
Indexed getter for property field (index starts at 1 following HL7 convention). |
int |
getFields()
Returns the number of fields in the segment |
String |
getImpNote()
Getter for property impNote. |
String |
getLongName()
Getter for property longName. |
short |
getMax()
Getter for property max. |
short |
getMin()
Getter for property min. |
String |
getName()
Getter for property name. |
String |
getPredicate()
Getter for property predicate. |
String |
getReference()
Getter for property reference. |
String |
getUsage()
Getter for property usage. |
void |
removePropertyChangeListener(PropertyChangeListener l)
Removes a PropertyChangeListener from the listener list. |
void |
removeVetoableChangeListener(VetoableChangeListener l)
Removes a VetoableChangeListener from the listener list. |
void |
setDescription(String description)
Setter for property description. |
void |
setField(int index,
Field field)
Indexed setter for property field (index starts at 1 following HL7 convention). |
void |
setImpNote(String impNote)
Setter for property impNote. |
void |
setLongName(String longName)
Setter for property longName. |
void |
setMax(short max)
Setter for property max. |
void |
setMin(short min)
Setter for property min. |
void |
setName(String name)
Setter for property name. |
void |
setPredicate(String predicate)
Setter for property predicate. |
void |
setReference(String reference)
Setter for property reference. |
void |
setUsage(String usage)
Setter for property usage. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Seg()
| Method Detail |
|---|
public void addPropertyChangeListener(PropertyChangeListener l)
l - The listener to add.public void removePropertyChangeListener(PropertyChangeListener l)
l - The listener to remove.public void addVetoableChangeListener(VetoableChangeListener l)
l - The listener to add.public void removeVetoableChangeListener(VetoableChangeListener l)
l - The listener to remove.public String getImpNote()
getImpNote in interface ProfileStructure
public void setImpNote(String impNote)
throws ProfileException
setImpNote in interface ProfileStructureimpNote - New value of property impNote.
ProfileExceptionpublic String getDescription()
getDescription in interface ProfileStructure
public void setDescription(String description)
throws ProfileException
setDescription in interface ProfileStructuredescription - New value of property description.
ProfileExceptionpublic String getReference()
getReference in interface ProfileStructure
public void setReference(String reference)
throws ProfileException
setReference in interface ProfileStructurereference - New value of property reference.
ProfileExceptionpublic String getPredicate()
getPredicate in interface ProfileStructure
public void setPredicate(String predicate)
throws ProfileException
setPredicate in interface ProfileStructurepredicate - New value of property predicate.
ProfileExceptionpublic Field getField(int index)
index - Index of the property (starts at 1 following HL7 convention).
index.
public void setField(int index,
Field field)
throws ProfileException
index - Index of the property (starts at 1 following HL7 convention).field - New value of the property at index.
ProfileExceptionpublic String getName()
getName in interface ProfileStructure
public void setName(String name)
throws ProfileException
setName in interface ProfileStructurename - New value of property name.
ProfileExceptionpublic String getLongName()
getLongName in interface ProfileStructure
public void setLongName(String longName)
throws ProfileException
setLongName in interface ProfileStructurelongName - New value of property longName.
ProfileExceptionpublic String getUsage()
getUsage in interface ProfileStructure
public void setUsage(String usage)
throws ProfileException
setUsage in interface ProfileStructureoptionality - New value of property usage.
ProfileExceptionpublic short getMin()
getMin in interface ProfileStructure
public void setMin(short min)
throws ProfileException
setMin in interface ProfileStructuremin - New value of property min.
ProfileExceptionpublic short getMax()
getMax in interface ProfileStructure
public void setMax(short max)
throws ProfileException
setMax in interface ProfileStructuremax - New value of property max.
ProfileExceptionpublic int getFields()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||