ca.uhn.hl7v2.conf.spec.message
Class Component
java.lang.Object
ca.uhn.hl7v2.conf.spec.message.AbstractComponent
ca.uhn.hl7v2.conf.spec.message.Component
public class Component
- extends AbstractComponent
The specification for a particular field component in a message profile.
- Author:
- Bryan Tripp
|
Constructor Summary |
Component()
Creates a new instance of Component |
|
Method Summary |
SubComponent |
getSubComponent(int index)
Indexed getter for property components (index starts at 1 following HL7 convention). |
int |
getSubComponents()
Returns the number of subcomponents in this component |
void |
setSubComponent(int index,
SubComponent component)
Indexed setter for property components (index starts at 1 following HL7 convention). |
| Methods inherited from class ca.uhn.hl7v2.conf.spec.message.AbstractComponent |
addPropertyChangeListener, addVetoableChangeListener, getConstantValue, getDatatype, getDataValues, getDescription, getImpNote, getLength, getName, getPredicate, getReference, getTable, getUsage, removePropertyChangeListener, removeVetoableChangeListener, setConstantValue, setDatatype, setDataValues, setDescription, setImpNote, setLength, setName, setPredicate, setReference, setTable, setUsage |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Component
public Component()
- Creates a new instance of Component
getSubComponent
public SubComponent getSubComponent(int index)
- Indexed getter for property components (index starts at 1 following HL7 convention).
- Parameters:
index - Index of the property (starts at 1 following HL7 convention).
- Returns:
- Value of the property at
index.
setSubComponent
public void setSubComponent(int index,
SubComponent component)
throws ProfileException
- Indexed setter for property components (index starts at 1 following HL7 convention).
- Parameters:
index - Index of the property (starts at 1 following HL7 convention).component - New value of the property at index.
- Throws:
ProfileException
getSubComponents
public int getSubComponents()
- Returns the number of subcomponents in this component
Copyright © 2001-2012 University Health Network. All Rights Reserved.