public class AbstractSegmentContainer extends Object implements Iterable<ProfileStructure>
Constructor and Description |
---|
AbstractSegmentContainer()
Creates a new instance of AbstractSegmentContainer
|
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.
|
ProfileStructure |
getChild(int index)
Indexed getter for property structure (index starts at 1 following HL7 convention).
|
int |
getChildren()
Returns the number of children
|
List<ProfileStructure> |
getChildrenAsList() |
String |
getDescription()
Getter for property description.
|
String |
getImpNote()
Getter for property impNote.
|
String |
getReference()
Getter for property reference.
|
Iterator<ProfileStructure> |
iterator() |
void |
removePropertyChangeListener(PropertyChangeListener l)
Removes a PropertyChangeListener from the listener list.
|
void |
removeVetoableChangeListener(VetoableChangeListener l)
Removes a VetoableChangeListener from the listener list.
|
void |
setChild(int index,
ProfileStructure structure)
Indexed setter for property structure.
|
void |
setDescription(String description)
Setter for property description.
|
void |
setImpNote(String impNote)
Setter for property impNote.
|
void |
setReference(String reference)
Setter for property reference.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public AbstractSegmentContainer()
public List<ProfileStructure> getChildrenAsList()
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 getDescription()
public void setDescription(String description) throws ProfileException
description
- New value of property description.ProfileException
public String getReference()
public void setReference(String reference) throws ProfileException
reference
- New value of property reference.ProfileException
public String getImpNote()
public void setImpNote(String impNote) throws ProfileException
impNote
- New value of property impNote.ProfileException
public ProfileStructure getChild(int index)
index
- Index of the property (starts at 1 following HL7 convention).index
.public void setChild(int index, ProfileStructure structure) throws ProfileException
index
- Index of the property (starts at 1 following HL7 convention).structure
- New value of the property at index
.ProfileException
public int getChildren()
public Iterator<ProfileStructure> iterator()
iterator
in interface Iterable<ProfileStructure>
Copyright © 2001–2017 University Health Network. All rights reserved.