cast.core.CASTData< T extends Ice.Object > Class Reference

List of all members.

Public Member Functions

 CASTData (WorkingMemoryEntry entry, Class< T > _cls)
 CASTData (String _id, T _data)
 CASTData (String _id, int _version, T _data)
 CASTData (String _id, String _type, int _version, T _data)
boolean equals (Object _obj)
final T getData ()
final String getType ()
String toString ()
int getVersion ()
void setVersion (int _versionNumber)
final String getID ()


Detailed Description

A simple class for wrapping up an object with an ontological type.

Author:
nah

Definition at line 36 of file CASTData.java.


Constructor & Destructor Documentation

cast.core.CASTData< T extends Ice.Object >.CASTData ( WorkingMemoryEntry  entry,
Class< T >  _cls 
)

Definition at line 54 of file CASTData.java.

cast.core.CASTData< T extends Ice.Object >.CASTData ( String  _id,
_data 
)

Construct a new object with an ontological type and a data object.

Parameters:
_type The ontological type of the data.
_data The data itself.

Definition at line 66 of file CASTData.java.

cast.core.CASTData< T extends Ice.Object >.CASTData ( String  _id,
int  _version,
_data 
)

Construct a new object with an ontological type and a data object.

Parameters:
_type The ontological type of the data.
_data The data itself.

Definition at line 78 of file CASTData.java.

cast.core.CASTData< T extends Ice.Object >.CASTData ( String  _id,
String  _type,
int  _version,
_data 
)

Construct a new object with an ontological type and a data object.

Parameters:
_type The ontological type of the data.
_data The data itself.

Definition at line 90 of file CASTData.java.


Member Function Documentation

boolean cast.core.CASTData< T extends Ice.Object >.equals ( Object  _obj  ) 

Determine with this object equals the input object. Compares the equality of the ontological types then the stored objects.

Parameters:
_obj The input object for comparison.
Returns:
True if the objects are equals, else false.

Definition at line 106 of file CASTData.java.

final T cast.core.CASTData< T extends Ice.Object >.getData (  ) 

Get the data object.

Returns:
The data object.

Definition at line 121 of file CASTData.java.

final String cast.core.CASTData< T extends Ice.Object >.getID (  ) 

Get the id of the object.

Returns:
The object's id.
Remarks:
Interface change: Capitalisation: getId() -> getID().

Definition at line 178 of file CASTData.java.

final String cast.core.CASTData< T extends Ice.Object >.getType (  ) 

Get the ontological type of the data object.

Returns:
The type of the data.

Definition at line 130 of file CASTData.java.

int cast.core.CASTData< T extends Ice.Object >.getVersion (  ) 

Definition at line 163 of file CASTData.java.

void cast.core.CASTData< T extends Ice.Object >.setVersion ( int  _versionNumber  ) 

Definition at line 167 of file CASTData.java.

String cast.core.CASTData< T extends Ice.Object >.toString (  ) 

// * Set the data object. // * // *

Parameters:
_data // * The new data object. // Set the ontological type of the data.
_type The new ontological type. Returns a formatted representation of the object.
Returns:
The object as in string format.

Definition at line 159 of file CASTData.java.


The documentation for this class was generated from the following file:

Generated on Mon Jun 13 15:55:46 2011 for CAST Java by  doxygen 1.5.8