|
||||||||||
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(java.beans.PropertyChangeListener l)
Adds a PropertyChangeListener to the listener list. |
void |
addVetoableChangeListener(java.beans.VetoableChangeListener l)
Adds a VetoableChangeListener to the listener list. |
java.lang.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 |
java.lang.String |
getImpNote()
Getter for property impNote. |
java.lang.String |
getLongName()
Getter for property longName. |
short |
getMax()
Getter for property max. |
short |
getMin()
Getter for property min. |
java.lang.String |
getName()
Getter for property name. |
java.lang.String |
getPredicate()
Getter for property predicate. |
java.lang.String |
getReference()
Getter for property reference. |
java.lang.String |
getUsage()
Getter for property usage. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener l)
Removes a PropertyChangeListener from the listener list. |
void |
removeVetoableChangeListener(java.beans.VetoableChangeListener l)
Removes a VetoableChangeListener from the listener list. |
void |
setDescription(java.lang.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(java.lang.String impNote)
Setter for property impNote. |
void |
setLongName(java.lang.String longName)
Setter for property longName. |
void |
setMax(short max)
Setter for property max. |
void |
setMin(short min)
Setter for property min. |
void |
setName(java.lang.String name)
Setter for property name. |
void |
setPredicate(java.lang.String predicate)
Setter for property predicate. |
void |
setReference(java.lang.String reference)
Setter for property reference. |
void |
setUsage(java.lang.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(java.beans.PropertyChangeListener l)
l
- The listener to add.public void removePropertyChangeListener(java.beans.PropertyChangeListener l)
l
- The listener to remove.public void addVetoableChangeListener(java.beans.VetoableChangeListener l)
l
- The listener to add.public void removeVetoableChangeListener(java.beans.VetoableChangeListener l)
l
- The listener to remove.public java.lang.String getImpNote()
getImpNote
in interface ProfileStructure
public void setImpNote(java.lang.String impNote) throws ProfileException
setImpNote
in interface ProfileStructure
impNote
- New value of property impNote.
ProfileException
public java.lang.String getDescription()
getDescription
in interface ProfileStructure
public void setDescription(java.lang.String description) throws ProfileException
setDescription
in interface ProfileStructure
description
- New value of property description.
ProfileException
public java.lang.String getReference()
getReference
in interface ProfileStructure
public void setReference(java.lang.String reference) throws ProfileException
setReference
in interface ProfileStructure
reference
- New value of property reference.
ProfileException
public java.lang.String getPredicate()
getPredicate
in interface ProfileStructure
public void setPredicate(java.lang.String predicate) throws ProfileException
setPredicate
in interface ProfileStructure
predicate
- New value of property predicate.
ProfileException
public 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
.
ProfileException
public java.lang.String getName()
getName
in interface ProfileStructure
public void setName(java.lang.String name) throws ProfileException
setName
in interface ProfileStructure
name
- New value of property name.
ProfileException
public java.lang.String getLongName()
getLongName
in interface ProfileStructure
public void setLongName(java.lang.String longName) throws ProfileException
setLongName
in interface ProfileStructure
longName
- New value of property longName.
ProfileException
public java.lang.String getUsage()
getUsage
in interface ProfileStructure
public void setUsage(java.lang.String usage) throws ProfileException
setUsage
in interface ProfileStructure
optionality
- New value of property usage.
ProfileException
public short getMin()
getMin
in interface ProfileStructure
public void setMin(short min) throws ProfileException
setMin
in interface ProfileStructure
min
- New value of property min.
ProfileException
public short getMax()
getMax
in interface ProfileStructure
public void setMax(short max) throws ProfileException
setMax
in interface ProfileStructure
max
- New value of property max.
ProfileException
public int getFields()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |