| java.lang.Object com.triactive.jdo.sco.SCOProcessor
SCOProcessor | abstract public class SCOProcessor (Code) | | An object that helps manage SCO fields of a particular declared type.
Currently, an SCO processor's only function is to serve as a factory for SCO
insatnces.
author: Mike Martin version: $Revision: 1.3 $ |
Inner Class :abstract public static class MapProcessor extends SCOProcessor | |
Inner Class :abstract public static class SetProcessor extends SCOProcessor | |
Inner Class :public static class DateProcessor extends SCOProcessor | |
Inner Class :public static class HashMapProcessor extends MapProcessor | |
Inner Class :public static class HashSetProcessor extends SetProcessor | |
Inner Class :public static class HashtableProcessor extends MapProcessor | |
Inner Class :public static class SqlDateProcessor extends SCOProcessor | |
Inner Class :public static class SqlTimestampProcessor extends SCOProcessor | |
forFieldType | public static SCOProcessor forFieldType(Class c)(Code) | | Returns the SCO processor for fields of the given type.
Parameters: c - The type of field.The corresponding SCO processor. |
isSecondClassMutableType | public static boolean isSecondClassMutableType(Class c)(Code) | | Tests whether a given type represents a supported second-class mutable
type.
Parameters: c - The class to be tested.true if fields declared as type c aresupported as second-class mutable objects, false otherwise. |
newSCOInstance | abstract public SCO newSCOInstance(Object owner, String fieldName, Object value)(Code) | | Returns a new SCO instance.
The returned instance is owned by the specified owner but has
not been assigned to the corresponding field.
Parameters: owner - The first-class object that will own the new second-class object. Parameters: fieldName - The name of the field in the owning object. Parameters: value - The initial value of the new object.A new SCO instance. |
|
|