wt.fc
Class AbstractDatastoreStruct

java.lang.Object
  extended bywt.fc.AbstractDatastoreStruct
All Implemented Interfaces:
DatastoreElement, DatastoreStruct, DatastoreType, NetFactor, ObjectMappable, Serializable
Direct Known Subclasses:
IdOidObject, OidObject

public abstract class AbstractDatastoreStruct
extends Object
implements DatastoreType, DatastoreStruct

This abstract class contains common implementation for a Datastore Type.

Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
private static String RESOURCE
           
 
Fields inherited from interface wt.fc.DatastoreType
VALUES
 
Constructor Summary
AbstractDatastoreStruct()
           
 
Method Summary
 ClassInfo getClassInfo()
          Returns the ClassInfo object for this class.
 Object getValues()
          Gets the value of the attribute: VALUES.
 void readExternal(PersistentRetrieveIfc input)
          Used by Persistent Data Service to populate the persistent attributes of this class from a persistent store.
 void setValues(Object a_Values)
          Sets the value of the attribute: VALUES.
 String toString()
          Returns the conceptual (modeled) name for the class.
 void writeExternal(PersistentStoreIfc output)
          Used by Persistent Data Service to obtain the values of the persistent attributes of this class, so they can be written to a persistent store.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface wt.fc.NetFactor
getConceptualClassname
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME
Constructor Detail

AbstractDatastoreStruct

public AbstractDatastoreStruct()
Method Detail

writeExternal

public void writeExternal(PersistentStoreIfc output)
                   throws SQLException,
                          DatastoreException
Used by Persistent Data Service to obtain the values of the persistent attributes of this class, so they can be written to a persistent store.

(Not intended for general use.)

Supported API: false

Specified by:
writeExternal in interface ObjectMappable
Parameters:
output -
Throws:
SQLException
DatastoreException

readExternal

public void readExternal(PersistentRetrieveIfc input)
                  throws SQLException,
                         DatastoreException
Used by Persistent Data Service to populate the persistent attributes of this class from a persistent store.

(Not intended for general use.)

Supported API: false

Specified by:
readExternal in interface ObjectMappable
Parameters:
input -
Throws:
SQLException
DatastoreException

toString

public String toString()
Returns the conceptual (modeled) name for the class.

Supported API: false

Returns:
String

getClassInfo

public ClassInfo getClassInfo()
                       throws WTIntrospectionException
Returns the ClassInfo object for this class.

Supported API: false

Specified by:
getClassInfo in interface NetFactor
Returns:
ClassInfo
Throws:
WTIntrospectionException

getValues

public Object getValues()
                 throws WTException
Gets the value of the attribute: VALUES. The values that can be used to interact with the Datastore.

Supported API: false

Specified by:
getValues in interface DatastoreType
Returns:
Object
Throws:
WTException

setValues

public void setValues(Object a_Values)
               throws WTException,
                      WTPropertyVetoException
Sets the value of the attribute: VALUES. The values that can be used to interact with the Datastore.

Supported API: false

Specified by:
setValues in interface DatastoreType
Parameters:
a_Values -
Throws:
WTException
WTPropertyVetoException