Package ca.uhn.hl7v2.model.v24.segment
Class RDF
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v24.segment.RDF
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 RDF message segment (Table Row Definition). This segment has the following fields:
- RDF-1: Number of Columns per Row (NM)
- RDF-2: Column Description (RCD) repeating
- See Also:
-
Field Summary
Fields inherited from class ca.uhn.hl7v2.model.AbstractStructure
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TypecreateNewTypeWithoutReflection(int field) RCD[]Returns all repetitions of Column Description (RDF-2).getColumnDescription(int rep) Returns a specific repetition of RDF-2: "Column Description" - creates it if necessaryintReturns a count of the current number of repetitions of Column Description (RDF-2).Returns RDF-1: "Number of Columns per Row" - creates it if necessaryReturns RDF-1: "Number of Columns per Row" - creates it if necessaryRCD[]Returns all repetitions of Column Description (RDF-2).getRdf2_ColumnDescription(int rep) Returns a specific repetition of RDF-2: "Column Description" - creates it if necessaryintReturns a count of the current number of repetitions of Column Description (RDF-2).insertColumnDescription(int rep) Inserts a repetition of RDF-2: "Column Description" at a specific indexinsertRdf2_ColumnDescription(int rep) Inserts a repetition of RDF-2: "Column Description" at a specific indexremoveColumnDescription(int rep) Removes a repetition of RDF-2: "Column Description" at a specific indexremoveRdf2_ColumnDescription(int rep) Removes a repetition of RDF-2: "Column Description" at a specific indexMethods inherited from class ca.uhn.hl7v2.model.AbstractSegment
accept, add, add, clear, encode, getField, getField, getLength, getMaxCardinality, getName, getNames, getReps, getTypedField, getTypedField, insertRepetition, isEmpty, isRequired, main, numFields, parse, provideLocation, removeRepetitionMethods inherited from class ca.uhn.hl7v2.model.AbstractStructure
getMessage, getParentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ca.uhn.hl7v2.model.Structure
getMessage, getParent
-
Constructor Details
-
RDF
Creates a new RDF segment
-
-
Method Details
-
getNumberOfColumnsPerRow
Returns RDF-1: "Number of Columns per Row" - creates it if necessary -
getRdf1_NumberOfColumnsPerRow
Returns RDF-1: "Number of Columns per Row" - creates it if necessary -
getColumnDescription
Returns all repetitions of Column Description (RDF-2). -
getRdf2_ColumnDescription
Returns all repetitions of Column Description (RDF-2). -
getColumnDescriptionReps
Returns a count of the current number of repetitions of Column Description (RDF-2). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getColumnDescription
Returns a specific repetition of RDF-2: "Column Description" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getRdf2_ColumnDescription
Returns a specific repetition of RDF-2: "Column Description" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getRdf2_ColumnDescriptionReps
Returns a count of the current number of repetitions of Column Description (RDF-2). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertColumnDescription
Inserts a repetition of RDF-2: "Column Description" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
insertRdf2_ColumnDescription
Inserts a repetition of RDF-2: "Column Description" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeColumnDescription
Removes a repetition of RDF-2: "Column Description" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeRdf2_ColumnDescription
Removes a repetition of RDF-2: "Column Description" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
createNewTypeWithoutReflection
- Overrides:
createNewTypeWithoutReflectionin classAbstractSegment
-