ca.uhn.hl7v2.conf.classes.abs
Class FiniteList
java.lang.Object
ca.uhn.hl7v2.conf.classes.abs.FiniteList
public class FiniteList
- extends Object
Holds a group of repetitions for a given Profile and exercises cardinality constraints
- Author:
James Agnew
Paul Brohman
Mitch Delachevrotiere
Shawn Dyck
Cory Metcalf
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FiniteList
public FiniteList(Class<? extends Repeatable> repType,
Object underlyingObject)
- Constructor for FiniteList
- Parameters:
repType - the Class which is repeatingunderlyingObject - the underlying object that the extending class represents
getRep
public Repeatable getRep(int rep)
throws ConfRepException
- 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 accessible
ConfRepException
Copyright © 2001-2012 University Health Network. All Rights Reserved.