|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.exolab.castor.persist.ClassMolderHelper
| Field Summary | |
static org.apache.commons.logging.Log |
LOG
|
| Method Summary | |
static java.util.ArrayList |
extractIdentityList(TransactionContext tx,
ClassMolder molder,
java.lang.Object col)
Return all the object identity of a Collection of object of the same type. |
static java.util.Collection |
getAddedValuesList(TransactionContext tx,
java.util.ArrayList orgIds,
java.lang.Object collection,
ClassMolder ch)
It is assumed the returned collection will not be modified. |
static org.exolab.castor.mapping.xml.FieldMapping[] |
getFullFields(org.exolab.castor.mapping.xml.ClassMapping clsMap)
Get all the field mapping, including all the field in extended class, but id fields. |
static org.exolab.castor.mapping.xml.FieldMapping[] |
getIdFields(org.exolab.castor.mapping.xml.ClassMapping clsMap)
Get the all the id fields of a class If the class, C, is a dependent class, then the depended class', D, id fields will be appended at the back and returned. |
static java.util.Iterator |
getIterator(java.lang.Object object)
Return the iterator on values of the specified Collection or, return the iterator on values of the specified Map. |
static java.util.Collection |
getRemovedIdsList(TransactionContext tx,
java.util.ArrayList orgIds,
java.lang.Object collection,
ClassMolder ch)
It is assumed the returned collection will not be modified. |
static boolean |
isEquals(java.util.Collection c1,
java.util.Collection c2)
Utility method to compare collections for equality. |
static boolean |
isEquals(java.lang.Object o1,
java.lang.Object o2)
A utility method which compare object. |
static java.util.Vector |
resolve(org.exolab.castor.xml.ClassDescriptorResolver cdResolver,
LockEngine lock,
PersistenceFactory factory)
Resolve and construct all the ClassMolders given a MappingLoader. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final org.apache.commons.logging.Log LOG
| Method Detail |
public static java.util.Vector resolve(org.exolab.castor.xml.ClassDescriptorResolver cdResolver,
LockEngine lock,
PersistenceFactory factory)
throws org.exolab.castor.mapping.MappingException,
java.lang.ClassNotFoundException
lock - LockEngine for all the ClassMolderfactory - factory class for getting Persistent of the ClassMolder
java.lang.ClassNotFoundException
org.exolab.castor.mapping.MappingException
public static boolean isEquals(java.lang.Object o1,
java.lang.Object o2)
o1 - First object instanceo2 - Second object instance
public static boolean isEquals(java.util.Collection c1,
java.util.Collection c2)
c1 - collection one.c2 - collection two.
public static java.util.ArrayList extractIdentityList(TransactionContext tx,
ClassMolder molder,
java.lang.Object col)
tx - the transaction contextmolder - class molder of the type of the objectscol - a Collection or Vector containing
public static java.util.Iterator getIterator(java.lang.Object object)
object - - a Collection instance.
public static org.exolab.castor.mapping.xml.FieldMapping[] getFullFields(org.exolab.castor.mapping.xml.ClassMapping clsMap)
throws org.exolab.castor.mapping.MappingException
clsMap - ClassMapping instance.
org.exolab.castor.mapping.MappingException
public static org.exolab.castor.mapping.xml.FieldMapping[] getIdFields(org.exolab.castor.mapping.xml.ClassMapping clsMap)
throws org.exolab.castor.mapping.MappingException
org.exolab.castor.mapping.MappingException
public static java.util.Collection getAddedValuesList(TransactionContext tx,
java.util.ArrayList orgIds,
java.lang.Object collection,
ClassMolder ch)
public static java.util.Collection getRemovedIdsList(TransactionContext tx,
java.util.ArrayList orgIds,
java.lang.Object collection,
ClassMolder ch)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||