public class Seg extends Object implements ProfileStructure
| Constructor and Description |
|---|
Seg()
Creates a new instance of Segment
|
| Modifier and Type | Method and Description |
|---|---|
void |
addPropertyChangeListener(PropertyChangeListener l)
Adds a PropertyChangeListener to the listener list.
|
void |
addVetoableChangeListener(VetoableChangeListener l)
Adds a VetoableChangeListener to the listener list.
|
List<Field> |
getChildrenAsList()
Returns the number of fields in the segment
|
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
|
List<Field> |
getFieldsAsList()
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.
|
public Seg()
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 ProfileStructurepublic void setImpNote(String impNote) throws ProfileException
setImpNote in interface ProfileStructureimpNote - New value of property impNote.ProfileExceptionpublic String getDescription()
getDescription in interface ProfileStructurepublic void setDescription(String description) throws ProfileException
setDescription in interface ProfileStructuredescription - New value of property description.ProfileExceptionpublic String getReference()
getReference in interface ProfileStructurepublic void setReference(String reference) throws ProfileException
setReference in interface ProfileStructurereference - New value of property reference.ProfileExceptionpublic String getPredicate()
getPredicate in interface ProfileStructurepublic 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 ProfileStructurepublic void setName(String name) throws ProfileException
setName in interface ProfileStructurename - New value of property name.ProfileExceptionpublic String getLongName()
getLongName in interface ProfileStructurepublic void setLongName(String longName) throws ProfileException
setLongName in interface ProfileStructurelongName - New value of property longName.ProfileExceptionpublic String getUsage()
getUsage in interface ProfileStructurepublic void setUsage(String usage) throws ProfileException
setUsage in interface ProfileStructureusage - New value of property usage.ProfileExceptionpublic short getMin()
getMin in interface ProfileStructurepublic void setMin(short min) throws ProfileException
setMin in interface ProfileStructuremin - New value of property min.ProfileExceptionpublic short getMax()
getMax in interface ProfileStructurepublic void setMax(short max) throws ProfileException
setMax in interface ProfileStructuremax - New value of property max.ProfileExceptionpublic int getFields()
public List<Field> getFieldsAsList()
public List<Field> getChildrenAsList()
Copyright © 2001–2017 University Health Network. All rights reserved.