org.demac.process.base.dpdl
Interface DataField

All Known Implementing Classes:
DataFieldImpl

public interface DataField

A variable which may be empty, may contain initial data or reference an org.demac.process.core.dpdl.ExternalReference.


Method Summary
 DataType getDataType()
           
 java.lang.String getDescription()
           
 java.util.Hashtable getExtendedAttributes()
           
 ExternalReference getExternalReference()
           
 java.lang.String getId()
           
 int getLength()
          Method to call for the length of the org.demac.process.base.dpdl.DataField in case it is an array.
 java.lang.String getName()
           
 java.util.Date getTimeStamp()
           
 java.lang.String getValue()
           
 boolean hasLength()
          Method to determine whether or not a org.demac.process.base.dpdl.DataField has a description of its length.
 boolean isArray()
          Method to determine whether or not a org.demac.process.base.dpdl.DataField is an array.
 void setDataType(DataType dataType)
           
 void setValue(boolean value)
           
 void setValue(double value)
           
 void setValue(int value)
           
 void setValue(java.lang.String value)
           
 

Method Detail

getDataType

DataType getDataType()
Returns:
the org.demac.process.base.dpdl.DataType of the org.demac.process.base.dpdl.DataField.

getDescription

java.lang.String getDescription()
Returns:
the textual description of the org.demac.process.base.dpdl.DataField .

getId

java.lang.String getId()
Returns:
the ID of the org.demac.process.base.dpdl.DataField .

isArray

boolean isArray()
Method to determine whether or not a org.demac.process.base.dpdl.DataField is an array.

Returns:
array.

getLength

int getLength()
Method to call for the length of the org.demac.process.base.dpdl.DataField in case it is an array.

Returns:
length.

getName

java.lang.String getName()
Returns:
the name of the org.demac.process.base.dpdl.DataField.

getValue

java.lang.String getValue()
Returns:
the value of the org.demac.process.base.dpdl.DataField .

setValue

void setValue(java.lang.String value)

setValue

void setValue(double value)
Parameters:
value -

setValue

void setValue(boolean value)
Parameters:
value -

setValue

void setValue(int value)
Parameters:
value -

hasLength

boolean hasLength()
Method to determine whether or not a org.demac.process.base.dpdl.DataField has a description of its length.

Returns:
array.

getExtendedAttributes

java.util.Hashtable getExtendedAttributes()
Returns:
the org.demac.process.base.dpdl.ExtendedAttributes of the org.demac.process.base.dpdl.DataField, for example optional information.

getTimeStamp

java.util.Date getTimeStamp()
Returns:
the timestamp for the data. A timestamp is needed for synchronization.

setDataType

void setDataType(DataType dataType)
Parameters:
dataType -

getExternalReference

ExternalReference getExternalReference()
Returns:
the org.demac.process.core.dpdl.ExternalReference of the org.demac.process.base.dpdl.DataField. By an org.demac.process.core.dpdl.ExternalReference the data flow may be seperated from the control flow.