| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ojb.broker.metadata.DescriptorBase
org.apache.ojb.broker.metadata.ClassDescriptor
public final class ClassDescriptor
A ClassDescriptor contains all information for mapping objects of a
 given class to database tables.
 
 Note: Be careful when use ClassDescriptor variables or caching
 ClassDescriptor instances, because instances could become invalid
 during runtime (see MetadataManager).
| Field Summary | |
|---|---|
| private  boolean | acceptLocksif false do not accept implicit locks on this class | 
| private  boolean | alreadyLookedupZeroArgumentswhether we have already tried to look up the zero argument constructor. | 
| private  boolean | alwaysRefreshif true instances of this class are always refreshed even if they are already in the cache. | 
| private  String | baseClass | 
| private  DeleteProcedureDescriptor | deleteProcedureThe descriptor for the delete procedure/function. | 
| static String | DYNAMIC_STR | 
| private  Vector | extentClassesthe list of classes in the extent of this class. | 
| private  Vector | extentClassNamesthe list of class names in the extent of this class. | 
| private  Class | factoryClassoptional class.method to be invoked to create object instance. | 
| private  Method | factoryMethod | 
| private  String | factoryMethodName | 
| private  Vector | indexesthe vector of indices used in DDL generation. | 
| private  Method | initializationMethodoptional method to be invoked after instance fields are initialized | 
| private  String | initializationMethodName | 
| private  InsertProcedureDescriptor | insertProcedureThe descriptor for the insert procedure/function. | 
| private  boolean | isAbstractwhether the described class is abstract | 
| private  FieldDescriptor | m_autoIncrementField | 
| private  Class | m_Classthe described class | 
| private  Map | m_collectionDescriptorNameMap | 
| private  Vector | m_CollectionDescriptorsthe descriptors for collection attributes | 
| private  FieldDescriptor[] | m_FieldDescriptionsthe FieldDescriptors for the primitive attributes | 
| private  Map | m_fieldDescriptorNameMap | 
| private  boolean | m_isInterfacedoes the described class represent an interface? | 
| private  int | m_IsolationLeveltransaction isolation level specified for this class, used in the ODMG server | 
| private  FieldDescriptor[] | m_lockingFieldDescriptorsthe optimistic lockingFieldDescriptors BRJ | 
| private  FieldDescriptor[] | m_nonPkFieldDescriptorsthe non-primary key FieldDescriptors | 
| private  Vector | m_ObjectReferenceDescriptorsthe descriptor for 1-1 reference attributes | 
| private  Map | m_objectReferenceDescriptorsNameMap | 
| private  FieldDescriptor[] | m_PkFieldDescriptorsthe primary key FieldDescriptors | 
| private  int | m_ProxyPrefetchingLimit | 
| private  DescriptorRepository | m_repository | 
| private  RowReader | m_rowReaderthe RowReader for this class | 
| private  FieldDescriptor[] | m_RwFieldDescriptorsthe read/write FieldDescriptors BRJ | 
| private  FieldDescriptor[] | m_RwNonPkFieldDescriptors | 
| private  ClassDescriptor | m_superCld | 
| private  boolean | m_superCldSet | 
| private  String | m_TableNamethe table name used to store the scalar attributes of this class | 
| private static Class[] | NO_PARAMS | 
| private  ObjectCacheDescriptor | objectCacheDescriptoroptional, ObjectCacheDescriptor for representing class | 
| static String | OJB_CONCRETE_CLASS | 
| private  FieldDescriptor | ojbConcreteClassField | 
| private  boolean | ojbConcreteFieldCheckDoneused to signal use of ojbConcreteClass field | 
| private  String | persistentFieldClassName | 
| private  Class | proxyClassthe proxy class for the described class, may be null | 
| private  String | proxyClassNamethe proxy class name for the described class, may be null | 
| private  String | schemathe SQL SCHEMA of the underlying table of this class | 
| private static long | serialVersionUID | 
| private  StatementsForClassIF | statementsForClassWe have to bound StatementsForClassIFinstance to this class, because metadata may change. | 
| private  String | superClassthe class that this class extends | 
| private  int | superClassFieldRefreference column for the superclass | 
| private  UpdateProcedureDescriptor | updateProcedureThe descriptor for the update procedure/function. | 
| private  int | useIdentityColumn | 
| private  Constructor | zeroArgumentConstructorthe zero argument constructor for this class | 
| Fields inherited from interface org.apache.ojb.broker.locking.IsolationLevels | 
|---|
| IL_DEFAULT, IL_NONE, IL_OPTIMISTIC, IL_READ_COMMITTED, IL_READ_UNCOMMITTED, IL_REPEATABLE_READ, IL_SERIALIZABLE, LITERAL_IL_NONE, LITERAL_IL_OPTIMISTIC, LITERAL_IL_READ_COMMITTED, LITERAL_IL_READ_UNCOMMITTED, LITERAL_IL_REPEATABLE_READ, LITERAL_IL_SERIALIZABLE | 
| Constructor Summary | |
|---|---|
| ClassDescriptor(DescriptorRepository pRepository)Constructor declaration | |
| Method Summary | |
|---|---|
|  void | addCollectionDescriptor(CollectionDescriptor cod)Add a CollectionDescriptor. | 
|  void | addExtentClass(Class newExtendClass)add an Extent class to the current descriptor | 
|  void | addExtentClass(String newExtentClassName)add an Extent class to the current descriptor | 
|  void | addExtentClassName(Class newExtendClass)Deprecated. use addExtentClass(String newExtentClass)instead | 
|  void | addFieldDescriptor(FieldDescriptor fld)adds a FIELDDESCRIPTOR to this ClassDescriptor. | 
|  void | addObjectReferenceDescriptor(ObjectReferenceDescriptor ord)Add a ObjectReferenceDescriptor. | 
| private  FieldDescriptor[] | appendFieldDescriptorArrays(FieldDescriptor[] fieldDescriptions,
                                                       FieldDescriptor[] fieldDescriptorsInHeirarchy) | 
|  FieldDescriptor[] | getAllRwFields()Returns array of read/write FieldDescriptors. | 
| private  ArrayList | getAttributeDescriptorsForCleanPath(String aPath,
                                                                       Map pathHints)return all AttributeDescriptors for the path ie: partner.addresses.street returns a Collection of 3 AttributeDescriptors (ObjectReferenceDescriptor, CollectionDescriptor, FieldDescriptor) ie: partner.addresses returns a Collection of 2 AttributeDescriptors (ObjectReferenceDescriptor, CollectionDescriptor) | 
|  ArrayList | getAttributeDescriptorsForPath(String aPath)return all AttributeDescriptors for the path ie: partner.addresses.street returns a Collection of 3 AttributeDescriptors (ObjectReferenceDescriptor, CollectionDescriptor, FieldDescriptor) ie: partner.addresses returns a Collection of 2 AttributeDescriptors (ObjectReferenceDescriptor, CollectionDescriptor) | 
|  ArrayList | getAttributeDescriptorsForPath(String aPath,
                                                             Map pathHints)return all AttributeDescriptors for the path ie: partner.addresses.street returns a Collection of 3 AttributeDescriptors (ObjectReferenceDescriptor, CollectionDescriptor, FieldDescriptor) ie: partner.addresses returns a Collection of 2 AttributeDescriptors (ObjectReferenceDescriptor, CollectionDescriptor) | 
|  FieldDescriptor | getAutoIncrementField()Deprecated. does not make sense because it's possible to define more than one autoincrement field. Alternative see getAutoIncrementFields() | 
|  FieldDescriptor[] | getAutoIncrementFields() | 
|  String | getBaseClass() | 
|  String | getClassNameOfObject()returns the name of the described class | 
|  Class | getClassOfObject()returns the class object of the described class | 
|  CollectionDescriptor | getCollectionDescriptorByName(String name)Get an CollectionDescriptor by name BRJ | 
| private  Map | getCollectionDescriptorNameMap() | 
|  Vector | getCollectionDescriptors()Returns all defined CollectionDescriptorfor
 this class descriptor. | 
|  List | getCollectionDescriptors(boolean withInherited)Returns all defined CollectionDescriptorfor
 this class descriptor. | 
|  ValueContainer[] | getCurrentLockingValues(Object o)returns an Array with an Objects CURRENT locking VALUES , BRJ | 
|  DeleteProcedureDescriptor | getDeleteProcedure()Retrieve the descriptor for the delete procedure/function. | 
|  Vector | getExtentClasses()return all classes in this extent. | 
|  Vector | getExtentClassNames()Return the names of all classes in this extent | 
|  Class | getFactoryClass()Return factory class. | 
|  Method | getFactoryMethod()Return factory method. | 
|  FieldDescriptor[] | getFieldDescriptions()Returns array of all FieldDescriptors. | 
|  FieldDescriptor[] | getFieldDescriptor(boolean withInherited)Return an array of all FieldDescriptorfor this represented class, if
 parameter withInherited is true all inherited descriptor
 of declared super classes are included. | 
|  FieldDescriptor | getFieldDescriptorByIndex(int index)Returns the matching FieldDescriptor. | 
|  FieldDescriptor | getFieldDescriptorByName(String name)Returns the matching FieldDescriptor- only fields
 of the current class will be scanned, to include fields defined
 the the super-classes too, use methodgetFieldDescriptor(boolean). | 
|  FieldDescriptor | getFieldDescriptorForPath(String aPath)return the FieldDescriptor for the Attribute referenced in the path the path may contain simple attribut names, functions and path expressions using relationships ie: name, avg(price), adress.street | 
|  FieldDescriptor | getFieldDescriptorForPath(String aPath,
                                                   Map pathHints)return the FieldDescriptor for the Attribute referenced in the path the path may contain simple attribut names, functions and path expressions using relationships ie: name, avg(price), adress.street | 
|  FieldDescriptor[] | getFieldDescriptorNonPk(boolean withInherited)Return an array of NON-PK FieldDescriptor, if parameter withInherited
 is true all inherited descriptor of declared super classes are included. | 
|  FieldDescriptor[] | getFieldDescriptorsInHeirarchy() | 
|  String | getFullTableName()Answer Table name including schema BRJ | 
|  Vector | getIndexes()Gets the IndexDescriptors used for DDL generation. | 
|  Method | getInitializationMethod()Returns the initialization method for this descriptor or null if no initialization method is defined. | 
|  InsertProcedureDescriptor | getInsertProcedure()Retrieve the descriptor for the insert procedure/function. | 
|  int | getIsolationLevel()returns the transaction isolation level to be used for this class. | 
|  FieldDescriptor[] | getLockingFields()return an array of FieldDescription for optimistic locking sorted ascending according to the field-descriptions getOrder() property | 
|  FieldDescriptor[] | getNonPkFields()return an array of NONPK-FieldDescription sorted ascending according to the field-descriptions getOrder() property | 
|  FieldDescriptor[] | getNonPkRwFields()Returns array of read/write non pk FieldDescriptors. | 
|  ObjectCacheDescriptor | getObjectCacheDescriptor()Returns the appropriate ObjectCacheDescriptorornullif not specified. | 
|  ObjectReferenceDescriptor | getObjectReferenceDescriptorByName(String name)Get an ObjectReferenceDescriptor by name BRJ | 
|  Vector | getObjectReferenceDescriptors()Returns all defined ObjectReferenceDescriptor. | 
|  List | getObjectReferenceDescriptors(boolean withInherited)Returns all defined ObjectReferenceDescriptor. | 
| private  Map | getObjectReferenceDescriptorsNameMap() | 
|  FieldDescriptor | getOjbConcreteClassField()Returns the ojbConcreteClass field or nullif none defined. | 
|  String | getPersistentFieldClassName()Get the used PersistentFieldimplementation name. | 
|  FieldDescriptor[] | getPkFields()Return an array of PK FieldDescription sorted ascending according to the field-descriptions getOrder() property | 
|  Class | getProxyClass()Insert the method's description here. | 
|  String | getProxyClassName()Get the name of the proxy class. | 
|  int | getProxyPrefetchingLimit() | 
|  DescriptorRepository | getRepository()Gets the repository. | 
|  RowReader | getRowReader()Returns the RowReaderfor this descriptor. | 
|  String | getRowReaderClassName() | 
|  String | getSchema()Gets the schema. | 
|  StatementsForClassIF | getStatementsForClass(ConnectionManagerIF conMan) | 
|  String | getSuperClass()Return the super class or nullif not declared in repository file. | 
|  ClassDescriptor | getSuperClassDescriptor()Answers the ClassDescriptor referenced by 'super' ReferenceDescriptor. | 
|  int | getSuperClassFieldRef()TODO drop this method? | 
|  SuperReferenceDescriptor | getSuperReference()Returns the SuperReferenceDescriptorof this class or null
 if none was used. | 
| private  String | getTableName()Method declaration | 
|  UpdateProcedureDescriptor | getUpdateProcedure()Retrieve the descriptor for the update procedure/function. | 
|  Constructor | getZeroArgumentConstructor()returns the zero argument constructor for the class represented by this class descriptor or null if a zero argument constructor does not exist. | 
|  boolean | isAbstract() | 
|  boolean | isAcceptLocks()Returns acceptLocks. | 
|  boolean | isAlwaysRefresh()if true instances of this class are always refreshed even if they are already in the cache. | 
|  boolean | isDynamicProxy() | 
|  boolean | isExtent()Insert the method's description here. | 
|  boolean | isInterface()Return true, if the described class is an interface. | 
|  boolean | isLocking()return true if optimistic locking is used | 
| private  String | isolationLevelXml() | 
|  void | removeCollectionDescriptor(CollectionDescriptor cod) | 
|  void | removeExtentClass(String extentClassName) | 
|  boolean | removeFieldDescriptor(FieldDescriptor fld) | 
|  void | removeObjectReferenceDescriptor(ObjectReferenceDescriptor ord) | 
|  void | setAcceptLocks(boolean acceptLocks)Sets acceptLocks. | 
|  void | setAlwaysRefresh(boolean alwaysRefresh)Sets the alwaysRefresh parameter. | 
|  void | setBaseClass(String baseClass) | 
|  void | setClassOfObject(Class c)sets the class object described by this descriptor. | 
|  void | setDeleteProcedure(DeleteProcedureDescriptor newValue)Change the descriptor for the delete procedure/function. | 
|  void | setFactoryClass(Class newClass)Set the object factory for class described by this descriptor. | 
|  void | setFactoryClass(String newClass) | 
| private  void | setFactoryMethod(Method newMethod)Specify the method to instantiate objects represented by this descriptor. | 
|  void | setFactoryMethod(String factoryMethodName)sets the initialization method for this descriptor by name | 
|  void | setIndexes(Vector indexes)Sets the IndexDescriptors used for DDL generation. | 
| private  void | setInitializationMethod(Method newMethod)sets the initialization method for this descriptor | 
|  void | setInitializationMethod(String newMethodName)sets the initialization method for this descriptor by name | 
|  void | setInsertProcedure(InsertProcedureDescriptor newValue)Change the descriptor for the insert procedure/function. | 
|  void | setIsInterface(boolean newIsInterface)Set trueif described class is
 a interface. | 
|  void | setIsolationLevel(int isoLevel)Method declaration | 
|  void | setObjectCacheDescriptor(ObjectCacheDescriptor objectCacheDescriptor)Sets the ObjectCacheDescriptorfor representing class. | 
|  void | setPersistentFieldClassName(String pfClassName)Optional! Set the PersistentFieldimplementation class used by this class. | 
|  void | setProxyClass(Class newProxyClass)Sets the proxy class to be used. | 
|  void | setProxyClassName(String newProxyClassName)Sets the name of the proxy class to be used. | 
|  void | setProxyPrefetchingLimit(int proxyPrefetchingLimit) | 
|  void | setRepository(DescriptorRepository repository)Sets the repository. | 
|  void | setRowReader(RowReader newReader)sets the row reader class for this descriptor | 
|  void | setRowReader(String newReaderClassName)sets the row reader class name for thie class descriptor | 
|  void | setSchema(String schema)Sets the schema. | 
|  void | setSuperClass(String classname)Set name of the super class. | 
|  void | setSuperClassFieldRef(int fieldId)TODO drop this method? | 
|  void | setTableName(String str)Method declaration | 
|  void | setUpdateProcedure(UpdateProcedureDescriptor newValue)Change the descriptor for the update procedure/function. | 
|  String | toString()Return a string representation of this class. | 
|  String | toXML()returns the XML marshalled version of this instance. | 
|  void | updateLockingValues(Object obj)updates the values for locking fields , BRJ handles int, long, Timestamp respects updateLock so locking field are only updated when updateLock is true | 
|  boolean | useIdentityColumnField()Returns true if an DB Identity column field based sequence manager was used. | 
| Methods inherited from class org.apache.ojb.broker.metadata.DescriptorBase | 
|---|
| addAttribute, getAttribute, getAttribute, getAttributeNames, getAttributes | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
private String persistentFieldClassName
private static final long serialVersionUID
public static final String DYNAMIC_STR
public static final String OJB_CONCRETE_CLASS
private static final Class[] NO_PARAMS
private InsertProcedureDescriptor insertProcedure
private UpdateProcedureDescriptor updateProcedure
private DeleteProcedureDescriptor deleteProcedure
private transient Method initializationMethod
private String initializationMethodName
private transient Method factoryMethod
private String factoryMethodName
private transient boolean alreadyLookedupZeroArguments
Constructor is transient and we need to
 reinitialize constructor after serialization.
private transient Constructor zeroArgumentConstructor
private transient boolean ojbConcreteFieldCheckDone
private transient FieldDescriptor ojbConcreteClassField
private transient StatementsForClassIF statementsForClass
StatementsForClassIF
 instance to this class, because metadata may change.
private DescriptorRepository m_repository
private Class factoryClass
private int useIdentityColumn
private String baseClass
private int m_IsolationLevel
private String schema
private Class m_Class
private boolean isAbstract
private String m_TableName
private RowReader m_rowReader
private String superClass
private int superClassFieldRef
private boolean m_isInterface
private Class proxyClass
private String proxyClassName
private boolean acceptLocks
private boolean alwaysRefresh
private int m_ProxyPrefetchingLimit
private ObjectCacheDescriptor objectCacheDescriptor
private Vector indexes
private FieldDescriptor m_autoIncrementField
private FieldDescriptor[] m_FieldDescriptions
private Vector m_CollectionDescriptors
private Vector m_ObjectReferenceDescriptors
private FieldDescriptor[] m_nonPkFieldDescriptors
private FieldDescriptor[] m_PkFieldDescriptors
private FieldDescriptor[] m_RwFieldDescriptors
private FieldDescriptor[] m_RwNonPkFieldDescriptors
private FieldDescriptor[] m_lockingFieldDescriptors
private Vector extentClasses
private Vector extentClassNames
private Map m_fieldDescriptorNameMap
private Map m_collectionDescriptorNameMap
private Map m_objectReferenceDescriptorsNameMap
private ClassDescriptor m_superCld
private boolean m_superCldSet
| Constructor Detail | 
|---|
public ClassDescriptor(DescriptorRepository pRepository)
| Method Detail | 
|---|
public String getBaseClass()
public void setBaseClass(String baseClass)
public ObjectCacheDescriptor getObjectCacheDescriptor()
ObjectCacheDescriptor
 or null if not specified.
public void setObjectCacheDescriptor(ObjectCacheDescriptor objectCacheDescriptor)
ObjectCacheDescriptor for representing class.
public void setRowReader(RowReader newReader)
public RowReader getRowReader()
RowReader
 for this descriptor.
public void setRowReader(String newReaderClassName)
public String getRowReaderClassName()
public String getClassNameOfObject()
public Class getClassOfObject()
public void setClassOfObject(Class c)
c - the class to describepublic void addFieldDescriptor(FieldDescriptor fld)
fld - public boolean removeFieldDescriptor(FieldDescriptor fld)
public Vector getCollectionDescriptors()
CollectionDescriptor for
 this class descriptor.
public void addCollectionDescriptor(CollectionDescriptor cod)
CollectionDescriptor.
public void removeCollectionDescriptor(CollectionDescriptor cod)
public Vector getObjectReferenceDescriptors()
ObjectReferenceDescriptor.
public void addObjectReferenceDescriptor(ObjectReferenceDescriptor ord)
ObjectReferenceDescriptor.
public void removeObjectReferenceDescriptor(ObjectReferenceDescriptor ord)
public ObjectReferenceDescriptor getObjectReferenceDescriptorByName(String name)
name - 
private Map getObjectReferenceDescriptorsNameMap()
public CollectionDescriptor getCollectionDescriptorByName(String name)
name - 
private Map getCollectionDescriptorNameMap()
public ClassDescriptor getSuperClassDescriptor()
public void addExtentClassName(Class newExtendClass)
addExtentClass(String newExtentClass) instead
newExtendClass - public void addExtentClass(Class newExtendClass)
newExtendClass - public void addExtentClass(String newExtentClassName)
newExtentClassName - name of the class to addpublic void removeExtentClass(String extentClassName)
public Vector getExtentClasses()
public Vector getExtentClassNames()
public boolean isExtent()
public Class getProxyClass()
public boolean isDynamicProxy()
public void setProxyClass(Class newProxyClass)
newProxyClass - java.lang.Classpublic void setProxyClassName(String newProxyClassName)
newProxyClassName - the classname or "dynamic"public String getProxyClassName()
public FieldDescriptor[] getFieldDescriptions()
public FieldDescriptor getFieldDescriptorByIndex(int index)
FieldDescriptor.
public FieldDescriptor getFieldDescriptorByName(String name)
FieldDescriptor - only fields
 of the current class will be scanned, to include fields defined
 the the super-classes too, use method getFieldDescriptor(boolean).
public FieldDescriptor getFieldDescriptorForPath(String aPath,
                                                 Map pathHints)
aPath - the path to the attributepathHints - a Map containing the class to be used for a segment or null
 if no segment was used.
public FieldDescriptor getFieldDescriptorForPath(String aPath)
aPath - the path to the attribute
public FieldDescriptor[] getFieldDescriptorsInHeirarchy()
private FieldDescriptor[] appendFieldDescriptorArrays(FieldDescriptor[] fieldDescriptions,
                                                      FieldDescriptor[] fieldDescriptorsInHeirarchy)
public FieldDescriptor getAutoIncrementField()
getAutoIncrementFields()
public FieldDescriptor[] getAutoIncrementFields()
public ValueContainer[] getCurrentLockingValues(Object o)
                                         throws PersistenceBrokerException
PersistenceBrokerException - if there is an erros accessing o field values
public void updateLockingValues(Object obj)
                         throws PersistenceBrokerException
PersistenceBrokerException - if there is an erros accessing obj field valuespublic FieldDescriptor[] getNonPkFields()
public FieldDescriptor[] getPkFields()
public FieldDescriptor[] getNonPkRwFields()
public FieldDescriptor[] getAllRwFields()
public FieldDescriptor[] getLockingFields()
public boolean isLocking()
public ArrayList getAttributeDescriptorsForPath(String aPath)
aPath - the cleaned path to the attribute
public ArrayList getAttributeDescriptorsForPath(String aPath,
                                                Map pathHints)
aPath - the cleaned path to the attributepathHints - a Map containing the class to be used for a segment or null
 if no segment was used.
private ArrayList getAttributeDescriptorsForCleanPath(String aPath,
                                                      Map pathHints)
aPath - the cleaned path to the attributepathHints - a Map containing the class to be used for a segment or null
 if no segment is used.
public Constructor getZeroArgumentConstructor()
public String toXML()
XmlCapable
toXML in interface XmlCapableprivate String isolationLevelXml()
public void setSuperClass(String classname)
public String getSuperClass()
null
 if not declared in repository file.
public void setSuperClassFieldRef(int fieldId)
public int getSuperClassFieldRef()
public boolean isInterface()
public void setIsInterface(boolean newIsInterface)
true if described class is
 a interface.
public boolean isAbstract()
public boolean isAcceptLocks()
public void setAcceptLocks(boolean acceptLocks)
acceptLocks - The m_acceptLocks to setpublic Vector getIndexes()
public void setIndexes(Vector indexes)
public DescriptorRepository getRepository()
public void setRepository(DescriptorRepository repository)
repository - The repository to setpublic int getIsolationLevel()
public void setIsolationLevel(int isoLevel)
isoLevel - private String getTableName()
public void setTableName(String str)
str - public String getFullTableName()
public String getSchema()
public void setSchema(String schema)
schema - The schema to setpublic String toString()
toString in class DescriptorBaseprivate void setInitializationMethod(Method newMethod)
public void setInitializationMethod(String newMethodName)
public Method getInitializationMethod()
public boolean isAlwaysRefresh()
public void setAlwaysRefresh(boolean alwaysRefresh)
alwaysRefresh - The value to setpublic int getProxyPrefetchingLimit()
public void setProxyPrefetchingLimit(int proxyPrefetchingLimit)
public Class getFactoryClass()
public Method getFactoryMethod()
public void setFactoryClass(Class newClass)
setFactoryMethod(java.lang.reflect.Method)public void setFactoryClass(String newClass)
setFactoryClass(java.lang.Class)private void setFactoryMethod(Method newMethod)
setFactoryClass(java.lang.Class)public void setFactoryMethod(String factoryMethodName)
public void setInsertProcedure(InsertProcedureDescriptor newValue)
newValue - the new value.public InsertProcedureDescriptor getInsertProcedure()
public void setUpdateProcedure(UpdateProcedureDescriptor newValue)
newValue - the new value.public UpdateProcedureDescriptor getUpdateProcedure()
public void setDeleteProcedure(DeleteProcedureDescriptor newValue)
newValue - the new value.public DeleteProcedureDescriptor getDeleteProcedure()
public FieldDescriptor getOjbConcreteClassField()
null if none defined.
public StatementsForClassIF getStatementsForClass(ConnectionManagerIF conMan)
public void setPersistentFieldClassName(String pfClassName)
PersistentField
 implementation class used by this class.
pfClassName - The full qualified class name of the
 PersistentField.public String getPersistentFieldClassName()
PersistentField
 implementation name.
public boolean useIdentityColumnField()
public List getObjectReferenceDescriptors(boolean withInherited)
ObjectReferenceDescriptor.
withInherited - If true inherited super class references will be included.public List getCollectionDescriptors(boolean withInherited)
CollectionDescriptor for
 this class descriptor.
withInherited - If true inherited super class references will be included.public FieldDescriptor[] getFieldDescriptor(boolean withInherited)
FieldDescriptor for this represented class, if
 parameter withInherited is true all inherited descriptor
 of declared super classes are included.
withInherited - If true inherited super class fields will be included.public FieldDescriptor[] getFieldDescriptorNonPk(boolean withInherited)
FieldDescriptor, if parameter withInherited
 is true all inherited descriptor of declared super classes are included.
withInherited - If true inherited super class fields will be included.public SuperReferenceDescriptor getSuperReference()
SuperReferenceDescriptor of this class or null
 if none was used.
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||