|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.triactive.jdo.sco.SCOProcessor
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.
| Nested Class Summary | |
static class |
SCOProcessor.DateProcessor
The SCO processor for java.util.Date fields. |
static class |
SCOProcessor.HashMapProcessor
The SCO processor for java.util.HashMap fields. |
static class |
SCOProcessor.HashSetProcessor
The SCO processor for java.util.HashSet fields. |
static class |
SCOProcessor.HashtableProcessor
The SCO processor for java.util.Hashtable fields. |
static class |
SCOProcessor.MapProcessor
An SCO processor for Map fields. |
static class |
SCOProcessor.SetProcessor
An SCO processor for Set fields. |
static class |
SCOProcessor.SqlDateProcessor
The SCO processor for java.sql.Date fields. |
static class |
SCOProcessor.SqlTimestampProcessor
The SCO processor for java.sql.Timestamp fields. |
| Constructor Summary | |
SCOProcessor()
|
|
| Method Summary | |
static SCOProcessor |
forFieldType(java.lang.Class c)
Returns the SCO processor for fields of the given type. |
static boolean |
isSecondClassMutableType(java.lang.Class c)
Tests whether a given type represents a supported second-class mutable type. |
abstract SCO |
newSCOInstance(java.lang.Object owner,
java.lang.String fieldName,
java.lang.Object value)
Returns a new SCO instance. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SCOProcessor()
| Method Detail |
public static boolean isSecondClassMutableType(java.lang.Class c)
c - The class to be tested.
true if fields declared as type c are
supported as second-class mutable objects, false
otherwise.public static SCOProcessor forFieldType(java.lang.Class c)
c - The type of field.
public abstract SCO newSCOInstance(java.lang.Object owner,
java.lang.String fieldName,
java.lang.Object value)
owner - The first-class object that will own the new second-class object.fieldName - The name of the field in the owning object.value - The initial value of the new object.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||