|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ojb.broker.metadata.AttributeDescriptorBase | +--ojb.broker.metadata.ObjectReferenceDescriptor
describes a Field containing a reference to another class. Provides handling for foreign keys etc.
Constructor Summary | |
ObjectReferenceDescriptor()
Constructor declaration |
Method Summary | |
boolean |
getCascadeDelete()
Method declaration |
boolean |
getCascadeRetrieve()
Method declaration |
boolean |
getCascadeStore()
Method declaration |
FieldDescriptor[] |
getForeignKeyFieldDescriptors(ClassDescriptor mif)
|
java.util.Vector |
getForeignKeyFields()
Method declaration |
java.lang.Object[] |
getForeignKeyValues(java.lang.Object obj,
ClassDescriptor mif)
Method declaration |
java.lang.Class |
getItemClass()
Method declaration |
java.lang.Class |
getItemProxyClass()
Insert the method's description here. |
boolean |
isLazy()
Gets the lazy. |
boolean |
isRefresh()
Gets the refresh. |
void |
setCascadeDelete(boolean b)
Method declaration |
void |
setCascadeRetrieve(boolean b)
Method declaration |
void |
setCascadeStore(boolean b)
Method declaration |
void |
setForeignKeyFields(java.util.Vector vec)
Method declaration |
void |
setItemClass(java.lang.Class c)
Method declaration |
void |
setLazy(boolean lazy)
Sets the lazy. |
void |
setRefresh(boolean refresh)
Sets the refresh. |
Methods inherited from class ojb.broker.metadata.AttributeDescriptorBase |
getClassDescriptor, getPersistentField, setClassDescriptor, setDebug, setPersistentField |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ObjectReferenceDescriptor()
Method Detail |
public java.lang.Class getItemClass()
public void setItemClass(java.lang.Class c)
c
- public java.util.Vector getForeignKeyFields()
public void setForeignKeyFields(java.util.Vector vec)
vec
- public boolean getCascadeRetrieve()
public void setCascadeRetrieve(boolean b)
b
- public boolean getCascadeStore()
public void setCascadeStore(boolean b)
b
- public boolean getCascadeDelete()
public void setCascadeDelete(boolean b)
b
- public java.lang.Class getItemProxyClass() throws PersistenceBrokerException
PersistenceBrokerException
public FieldDescriptor[] getForeignKeyFieldDescriptors(ClassDescriptor mif)
mif
-
public java.lang.Object[] getForeignKeyValues(java.lang.Object obj, ClassDescriptor mif) throws PersistenceBrokerException
obj
- mif
-
PersistenceBrokerException
public boolean isRefresh()
public void setRefresh(boolean refresh)
refresh
- The refresh to setpublic boolean isLazy()
public void setLazy(boolean lazy)
lazy
- The lazy to set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |