All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface tlk.data.DataFieldValue

public abstract interface DataFieldValue
This interface defines a brick inside DataAccess. It basically refers to the data contained in a certain datafield inside a DataAccess Object.

The interface is still under heavy development changes. Please send in your comments and suggestions.

Written: Radu Sion
Version: 0.11
Source: DataFieldValue.java

Visit Smart Software 

See Also:
DataAccess

Method Index

 o getData()
This returns the actual data contained inside this object.
 o getDataAccessVRID()
If this method returns a non null result, it means that the data contained inside (available via getData()) is a complex data type, accessible via a DataAccess interface.

Methods

 o getData
 public abstract Object getData()
This returns the actual data contained inside this object. It may even return a reference to itself. To find out if this object type is known Object.getClass() may be used. In case of unaccessible Object (unknown DataAccess interface) getDataAccessVRID may be used to find a reference to the corresponding data access interface.

Returns:
An object reference to the data contained within or null if error.
 o getDataAccessVRID
 public abstract VirtualResourceID getDataAccessVRID()
If this method returns a non null result, it means that the data contained inside (available via getData()) is a complex data type, accessible via a DataAccess interface. This allows for recursive definition of datatypes based not only on java types.

Returns:
A virtual reference to a DataAccess object (null if basic data type, non-null if complex data type)

All Packages  Class Hierarchy  This Package  Previous  Next  Index