|
|||||||||
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 | +--ojb.broker.metadata.CollectionDescriptor
mapping Description for member fields that are Collections
Constructor Summary | |
CollectionDescriptor()
|
Method Summary | |
java.lang.Class |
getCollectionClass()
returns the type of the collection. |
java.lang.Object[] |
getFksToItemClass()
|
java.lang.Object[] |
getFksToThisClass()
|
java.lang.String |
getIndirectionTable()
|
java.lang.String |
getOrderBy()
Gets the orderBy. |
boolean |
isAscending()
Gets the orderAscending. |
boolean |
isLazy()
returns true if this is a lazy Collection. |
boolean |
isMtoNRelation()
|
boolean |
isRefresh()
Gets the refresh. |
void |
setAscending(boolean ascending)
Sets the ascending. |
void |
setCollectionClass(java.lang.Class c)
set the type of the collection |
void |
setFksToItemClass(java.util.Vector fksToItemClass)
|
void |
setFksToThisClass(java.util.Vector fksToThisClass)
|
void |
setIndirectionTable(java.lang.String indirectionTable)
|
void |
setLazy(boolean lazy)
Sets the lazy flag. |
void |
setOrderBy(java.lang.String orderBy)
Sets the orderBy. |
void |
setRefresh(boolean refresh)
Sets the refresh. |
Methods inherited from class ojb.broker.metadata.ObjectReferenceDescriptor |
getCascadeDelete, getCascadeRetrieve, getCascadeStore, getForeignKeyFieldDescriptors, getForeignKeyFields, getForeignKeyValues, getItemClass, getItemProxyClass, setCascadeDelete, setCascadeRetrieve, setCascadeStore, setForeignKeyFields, setItemClass |
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 CollectionDescriptor()
Method Detail |
public java.lang.Object[] getFksToThisClass()
public void setFksToThisClass(java.util.Vector fksToThisClass)
public java.lang.Class getCollectionClass()
public void setCollectionClass(java.lang.Class c)
public java.lang.String getIndirectionTable()
public void setIndirectionTable(java.lang.String indirectionTable)
public java.lang.Object[] getFksToItemClass()
public void setFksToItemClass(java.util.Vector fksToItemClass)
public boolean isMtoNRelation()
public java.lang.String getOrderBy()
public void setOrderBy(java.lang.String orderBy)
orderBy
- The orderBy to setpublic boolean isAscending()
public void setAscending(boolean ascending)
ascending
- The ascending to setpublic boolean isLazy()
isLazy
in class ObjectReferenceDescriptor
public void setLazy(boolean lazy)
setLazy
in class ObjectReferenceDescriptor
lazy
- The lazy to setpublic boolean isRefresh()
isRefresh
in class ObjectReferenceDescriptor
public void setRefresh(boolean refresh)
setRefresh
in class ObjectReferenceDescriptor
refresh
- The refresh to set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |