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 ProfileStructure
public void setImpNote(String impNote) throws ProfileException
setImpNote
in interface ProfileStructure
impNote
- New value of property impNote.ProfileException
public String getDescription()
getDescription
in interface ProfileStructure
public void setDescription(String description) throws ProfileException
setDescription
in interface ProfileStructure
description
- New value of property description.ProfileException
public String getReference()
getReference
in interface ProfileStructure
public void setReference(String reference) throws ProfileException
setReference
in interface ProfileStructure
reference
- New value of property reference.ProfileException
public String getPredicate()
getPredicate
in interface ProfileStructure
public void setPredicate(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 String getName()
getName
in interface ProfileStructure
public void setName(String name) throws ProfileException
setName
in interface ProfileStructure
name
- New value of property name.ProfileException
public String getLongName()
getLongName
in interface ProfileStructure
public void setLongName(String longName) throws ProfileException
setLongName
in interface ProfileStructure
longName
- New value of property longName.ProfileException
public String getUsage()
getUsage
in interface ProfileStructure
public void setUsage(String usage) throws ProfileException
setUsage
in interface ProfileStructure
usage
- 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()
public List<Field> getFieldsAsList()
public List<Field> getChildrenAsList()
Copyright © 2001–2017 University Health Network. All rights reserved.