com.triactive.jdo
Interface SCO

All Known Implementing Classes:
Date, HashSet, Map, Set, SqlDate, SqlTimestamp

public interface SCO


Method Summary
 void applyUpdates()
          Applies any pending updates for this object to the data store.
 java.lang.String getFieldName()
          Returns the field name.
 java.lang.Object getOwner()
          Returns the owner object of the SCO instance.
 void makeDirty()
          Marks object dirty.
 void setValueFrom(java.lang.Object o)
          Assigns the value of this second-class object from an existing object of the same or compatible type.
 void unsetOwner()
          Nullifies references to the owner Object and Field.
 

Method Detail

setValueFrom

void setValueFrom(java.lang.Object o)
                  throws java.lang.ClassCastException
Assigns the value of this second-class object from an existing object of the same or compatible type.

Parameters:
o - the object from which to copy the value.
Throws:
java.lang.ClassCastException - if the given object is not of a type that's compatible with this second-class wrapper object.

getFieldName

java.lang.String getFieldName()
Returns the field name.

Returns:
field name

getOwner

java.lang.Object getOwner()
Returns the owner object of the SCO instance.

Returns:
owner object

unsetOwner

void unsetOwner()
Nullifies references to the owner Object and Field.


applyUpdates

void applyUpdates()
Applies any pending updates for this object to the data store.


makeDirty

void makeDirty()
Marks object dirty.



Copyright ? 2001 TriActive, Inc. All Rights Reserved.