Modifier and Type | Method and Description |
---|---|
protected void |
DefaultValidator.checkDataType(String dataType,
Type type,
List<HL7Exception> exList) |
protected List<HL7Exception> |
DefaultValidator.doTestComponent(Type type,
Component profile,
String profileID,
boolean theValidateChildren) |
protected List<HL7Exception> |
DefaultValidator.doTestField(Type type,
Field profile,
boolean escape,
String profileID,
boolean theValidateChildren) |
List<HL7Exception> |
DefaultValidator.testComponent(Type type,
Component profile,
String profileID) |
List<HL7Exception> |
DefaultValidator.testField(Type type,
Field profile,
boolean escape,
String profileID) |
HL7Exception |
DefaultValidator.testLength(Type type,
int maxLength)
Tests whether the given type falls within a maximum length.
|
List<HL7Exception> |
DefaultValidator.testType(Type type,
AbstractComponent<?> profile,
String encoded,
String profileID)
Tests a Type against the corresponding section of a profile.
|
protected void |
DefaultValidator.testTypeAgainstTable(Type type,
AbstractComponent<?> profile,
String profileID,
List<HL7Exception> exList)
Tests table values for ID, IS, and CE types.
|
Modifier and Type | Interface and Description |
---|---|
interface |
Composite
Represents the category of HL7 data types that contain more than one component (e.g.
|
interface |
Primitive
Represents the category of HL7 data types that contain a single value (in other
words have no subcomponents).
|
interface |
Variable
Interface type for Varies
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractComposite |
class |
AbstractPrimitive
Base class for Primitives.
|
class |
AbstractType
An abstract Type that provides a default implementation of getName().
|
class |
GenericComposite
An unspecified Composite datatype that has an undefined number of components, each
of which is a Varies.
|
class |
GenericPrimitive
An unspecified Primitive datatype that imposes no constraints on its string
value.
|
class |
Varies
Varies is a Type used as a placeholder for another Type in cases where
the appropriate Type is not known until run-time (e.g.
|
Modifier and Type | Method and Description |
---|---|
protected <T extends Type> |
AbstractComposite.getTyped(int idx,
Class<T> type) |
protected <T extends Type> |
AbstractSegment.getTypedField(int number,
int rep)
Returns a specific repetition of field with concrete type at the specified index
|
protected <T extends Type> |
AbstractSegment.getTypedField(int number,
T[] array)
Returns an array of a specific type class
|
Modifier and Type | Method and Description |
---|---|
protected Type |
AbstractSegment.createNewTypeWithoutReflection(int field)
Attempts to create an instance of a field type without using reflection.
|
protected Type |
GenericSegment.createNewTypeWithoutReflection(int field)
Attempts to create an instance of a field type without using reflection.
|
Type |
GenericComposite.getComponent(int number)
Returns the single component of this composite at the specified position (starting at 0) -
Creates it (and any nonexistent components before it) if necessary.
|
Type |
Composite.getComponent(int number)
Returns the single component of this composite at the specified position (starting at 0).
|
Type[] |
GenericComposite.getComponents()
Returns an array containing the components of this field.
|
Type[] |
Composite.getComponents()
Returns an array containing the components of this field.
|
Type |
Varies.getData()
Returns the data contained by this instance of Varies.
|
Type |
Variable.getData()
Returns the data contained by this instance of Variable.
|
Type[] |
AbstractSegment.getField(int number)
Returns an array of Field objects at the specified location in the
segment.
|
Type[] |
Segment.getField(int number)
Returns the array of Fields at the specified index.
|
Type |
AbstractSegment.getField(int number,
int rep)
Returns a specific repetition of field at the specified index.
|
Type |
Segment.getField(int number,
int rep)
Returns a specific repetition of field at the specified index.
|
protected <T extends Type> |
AbstractSegment.getTypedField(int number,
T[] array)
Returns an array of a specific type class
|
Type |
AbstractSegment.insertRepetition(int fieldNum,
int index)
Inserts a repetition of a given Field into repetitions of that field by
name.
|
Type |
AbstractSegment.removeRepetition(int fieldNum,
int index)
Removes a repetition of a given field by name.
|
Modifier and Type | Method and Description |
---|---|
protected <T extends Type> |
AbstractSegment.getTypedField(int number,
T[] array)
Returns an array of a specific type class
|
void |
Varies.setData(Type data)
Sets the data contained by this instance of Varies.
|
void |
Variable.setData(Type data)
Sets the data contained by this instance of Variable.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractSegment.add(Class<? extends Type> c,
boolean required,
int maxReps,
int length,
Object[] constructorArgs)
Deprecated.
|
protected void |
AbstractSegment.add(Class<? extends Type> c,
boolean required,
int maxReps,
int length,
Object[] constructorArgs,
String name)
Adds a field to the segment.
|
Constructor and Description |
---|
Field(Type[] reps,
int maxCardinality) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractPersonNameComposite
NOT YET IN USE
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractTextPrimitive
Base class for a textual primitive datatypes such as FT, TX, ST.
|
class |
DT
Represents an HL7 DT (date) datatype.
|
class |
ID
This class contains functionality used by the ID class
in the version 2.3.0, 2.3.1, 2.4, and 2.5 packages
Note: The class description below has been excerpted from the Hl7 2.4 documentation.
|
class |
IDWithNamespace
HL7 ID type which also stores a namespace string
|
class |
IS
This class contains functionality used by the IS class
in the version 2.3.0, 2.3.1, 2.4, and 2.5 packages
Note: The class description below has been excerpted from the Hl7 2.4 documentation.
|
class |
ISWithNamespace
Base class for an ID type which also stores a namespace string
|
class |
NULLDT
Base class for "NULL" datatype.
|
class |
TM
Represents an HL7 TM (time) datatype.
|
class |
TSComponentOne
Represents an HL7 timestamp, which is related to the HL7 TS type.
|
Modifier and Type | Class and Description |
---|---|
class |
CM
Version 2.1 contains a number of unspecified CM datatypes, which we model as
GenericComposites.
|
class |
TS
Note: The class description below has been excerpted from the Hl7 2.3.0 documentation.
|
Modifier and Type | Class and Description |
---|---|
class |
DTM
Note: The class description below has been excerpted from the Hl7 2.4 documentation.
|
class |
SNM
Note: The class description below has been excerpted from the Hl7 2.4 documentation.
|
Modifier and Type | Method and Description |
---|---|
Class<? extends Type> |
ModelClassFactory.getTypeClass(String theName,
String theVersion) |
Class<? extends Type> |
CanonicalModelClassFactory.getTypeClass(String theName,
String theVersion) |
Class<? extends Type> |
GenericModelClassFactory.getTypeClass(String theName,
String theVersion) |
Class<? extends Type> |
CustomModelClassFactory.getTypeClass(String name,
String version) |
Class<? extends Type> |
DefaultModelClassFactory.getTypeClass(String theName,
String theVersion) |
Modifier and Type | Method and Description |
---|---|
String |
XMLParser.doEncode(Type type,
EncodingCharacters encodingCharacters)
Throws unsupported operation exception
|
abstract String |
Parser.doEncode(Type type,
EncodingCharacters encodingCharacters)
Encodes a particular type and returns the encoded structure
|
String |
PipeParser.doEncode(Type type,
EncodingCharacters encodingCharacters)
Encodes a particular type and returns the encoded structure
|
String |
GenericParser.doEncode(Type type,
EncodingCharacters encodingCharacters)
Encodes a particular type and returns the encoded structure
|
static String |
PipeParser.encode(Type source,
EncodingCharacters encodingChars)
Encodes the given Type, using the given encoding characters.
|
void |
XMLParser.parse(Type datatypeObject,
Element datatypeElement)
Populates the given Type object with data from the given XML Element.
|
void |
XMLParser.parse(Type type,
String string,
EncodingCharacters encodingCharacters)
Throws unsupported operation exception
|
abstract void |
Parser.parse(Type type,
String string,
EncodingCharacters encodingCharacters)
Parses a particular type and returns the encoded structure
|
void |
PipeParser.parse(Type destinationField,
String data,
EncodingCharacters encodingCharacters)
Fills a field with values from an unparsed string representing the field.
|
void |
GenericParser.parse(Type type,
String string,
EncodingCharacters encodingCharacters)
Parses a particular type and returns the encoded structure
|
Modifier and Type | Method and Description |
---|---|
static void |
DeepCopy.copy(Type from,
Type to)
Copies data from the "from" Type into the "to" Type.
|
static Primitive |
Terser.getPrimitive(Type type,
int component,
int subcomponent)
Returns the Primitive object at the given location in the given field.
|
static int |
Terser.numComponents(Type t)
Returns the number of components in the given type, i.e.
|
static int |
Terser.numSubComponents(Type type,
int component)
Returns the number of sub-components in the specified component, i.e.
|
Copyright © 2001–2017 University Health Network. All rights reserved.