org.urhl7.igor
Class EmptyField

java.lang.Object
  extended by org.urhl7.igor.EmptyField
All Implemented Interfaces:
DataField

public class EmptyField
extends Object
implements DataField

An EmptyField is a DataField that has no data, and no references to anything. However, a HL7Structure may reference it. It is usually used as a placeholder for where a DataField needs to exist, but doesn't for some reason (usually an error condition beind supressed).


Constructor Summary
EmptyField()
          Creates a new EmptyField that has no data, and no reference attachments.
 
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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmptyField

public EmptyField()
Creates a new EmptyField that has no data, and no reference attachments.

Method Detail

getData

public String getData()
Description copied from interface: DataField
Retrieve the underlying data for this data object.

Specified by:
getData in interface DataField
Returns:
String representation of the data

setData

public void setData(String data)
Description copied from interface: DataField
Set the underlying data for this data object.

Specified by:
setData in interface DataField
Parameters:
data - a String representation of the data