org.urhl7.igor
Interface DataField

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

public interface DataField

A DataField is am 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.
 

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