Fields Summary |
---|
String | JDOExternalPath |
String | JDOPath |
String | JDOPersistenceCapableName |
String | JDOPersistenceCapablePath |
String | JDOPersistenceCapableSig |
String | JDOPersistenceCapableType |
static String | javaLangCloneablePath |
String | JDOInstanceCallbacksName |
String | JDOInstanceCallbacksPath |
String | JDOInstanceCallbacksSig |
String | JDOInstanceCallbacksType |
String | JDOSecondClassObjectBaseName |
String | JDOSecondClassObjectBasePath |
String | JDOSecondClassObjectBaseSig |
String | JDOSecondClassObjectBaseType |
String | JDOPersistenceManagerName |
String | JDOPersistenceManagerPath |
String | JDOPersistenceManagerSig |
String | JDOPersistenceManagerType |
String | JDOStateManagerName |
String | JDOStateManagerPath |
String | JDOStateManagerSig |
String | JDOStateManagerType |
String | JDOStateManagerFieldName |
String | JDOStateManagerFieldType |
String | JDOStateManagerFieldSig |
String | JDOFlagsFieldName |
String | JDOFlagsFieldType |
String | JDOFlagsFieldSig |
Methods Summary |
---|
public int | getFieldNo(java.lang.String classPath, java.lang.String fieldName)Returns the unique field index of a declared, persistent field of a
class.
|
public java.lang.String[] | getManagedFields(java.lang.String classPath)Returns an array of field names of all declared persistent and
transactional fields of a class.
The position of the field names in the result array corresponds
to their unique field index as returned by getFieldNo such that
these equations holds:
getFieldNo(getManagedFields(classPath)[i]) == i
getManagedFields(classPath)[getFieldNo(fieldName)] == fieldName
|
public java.lang.String | getPersistenceCapableRootClass(java.lang.String classPath)Returns the name of the persistence-capable root class of a class.
|
public java.lang.String | getSuperClass(java.lang.String classPath)Returns the name of the superclass of a class.
|
public boolean | isDefaultFetchGroupField(java.lang.String classPath, java.lang.String fieldName)Tests whether a field of a class is known to be part of the
Default Fetch Group.
|
public boolean | isMutableSecondClassObjectType(java.lang.String classPath)Tests whether a class is known as type for Mutable Second Class Objects.
|
public boolean | isPersistenceCapableClass(java.lang.String classPath)Tests whether a class is known to be persistence-capable.
The following invariant holds:
isPersistenceCapableClass(classPath)
=> !isTransientClass(classPath)
&& !isSecondClassObjectType(classPath)
|
public boolean | isPersistenceCapableRootClass(java.lang.String classPath)Tests whether a class is known as a persistence-capable root class.
|
public boolean | isPersistentField(java.lang.String classPath, java.lang.String fieldName)Tests whether a field of a class is known to be persistent.
|
public boolean | isPrimaryKeyField(java.lang.String classPath, java.lang.String fieldName)Tests whether a field of a class is known to be Primary Key.
|
public boolean | isSecondClassObjectType(java.lang.String classPath)Tests whether a class is known as type for Second Class Objects.
The following invariant holds:
isSecondClassObjectType(classPath)
=> !isPersistenceCapableClass(classPath)
|
public boolean | isTransactionalField(java.lang.String classPath, java.lang.String fieldName)Tests whether a field of a class is known to be transactional.
|
public boolean | isTransientClass(java.lang.String classPath)Tests whether a class is known to be transient.
The following invariant holds:
isTransientClass(classPath)
=> !isPersistenceCapableClass(classPath)
|