Package ca.uhn.hl7v2.conf.spec.message
Class Component
java.lang.Object
ca.uhn.hl7v2.conf.spec.message.AbstractComponent<Component>
ca.uhn.hl7v2.conf.spec.message.Component
The specification for a particular field component in a message profile.
- Author:
- Bryan Tripp
-
Field Summary
Fields inherited from class ca.uhn.hl7v2.conf.spec.message.AbstractComponent
propertyChangeSupport, vetoableChangeSupport -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSubComponent(int index) Indexed getter for property components (index starts at 1 following HL7 convention).intReturns the number of subcomponents in this componentvoidsetSubComponent(int index, SubComponent component) Indexed setter for property components (index starts at 1 following HL7 convention).toString()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
-
Constructor Details
-
Component
public Component()Creates a new instance of Component
-
-
Method Details
-
getSubComponent
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
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 atindex.- Throws:
ProfileException
-
getSubComponents
Returns the number of subcomponents in this component -
getChildrenAsList
-
toString
-