org.urhl7.igor
Interface DataField

All Superinterfaces:
GenericStructure
All Known Implementing Classes:
EmptyField, HL7Field, HL7FieldComponent, HL7FieldSubcomponent

public interface DataField
extends GenericStructure

A DataField is an interface that defines methods for accessing and setting an implementing data object's data. This interface provides a way to access any particular data object as a generic DataField.


Method Summary
 String getData()
          Retrieve the underlying data for this data object.
 void setData(String data)
          Set the underlying data for this data object.
 
Methods inherited from interface org.urhl7.igor.GenericStructure
marshal, unmarshal
 

Method Detail

getData

String getData()
Retrieve the underlying data for this data object.

Returns:
String representation of the data

setData

void setData(String data)
Set the underlying data for this data object.

Parameters:
data - a String representation of the data