Package ca.uhn.hl7v2.conf.classes.abs
Class FiniteList
java.lang.Object
ca.uhn.hl7v2.conf.classes.abs.FiniteList
Holds a group of repetitions for a given Profile and exercises cardinality constraints
- Author:
James Agnew Paul Brohman Mitch Delachevrotiere Shawn Dyck Cory Metcalf
-
Constructor Summary
ConstructorsConstructorDescriptionFiniteList(Class<? extends Repeatable> repType, Object underlyingObject) Constructor for FiniteList -
Method Summary
-
Constructor Details
-
FiniteList
Constructor for FiniteList- Parameters:
repType- the Class which is repeatingunderlyingObject- the underlying object that the extending class represents
-
-
Method Details
-
getRep
Returns the desired repetition- Parameters:
rep- The desired repetition number. Note that in accordance with the HL7 standard- Returns:
- The desired repetition
- Throws:
ConformanceException- if repetition is not accessibleConfRepException
-