|
Oracle Application Server TopLink API Reference 10g Release 2 (10.1.2) B15903-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.toplink.mappings.DatabaseMapping
oracle.toplink.mappings.ForeignReferenceMapping
oracle.toplink.mappings.CollectionMapping
oracle.toplink.objectrelational.NestedTableMapping
Purpose: Nested tables are similar to VARRAYs
except internally they store their information in a separate table from their parent structure's table. The advantage of nested tables is that they support querying and joining much better than varrays that are inlined into the parent table. A nested table is typically used to represent a one-to-many or many-to-many relationship of references to another independent structure. TopLink supports storing a nested table of values into a single field.
NOTE: Only Oracle8i supports nested tables type.
Constructor Summary | |
NestedTableMapping() PUBLIC: Default constructor. |
Method Summary | |
java.lang.String |
getFieldName() PUBLIC: Return the name of the field this mapping represents. |
java.lang.String |
getStructureName() PUBLIC: Return the structure name of the nestedTable. |
void |
setFieldName(java.lang.String FieldName) PUBLIC: Set the field name in the mapping. |
void |
setStructureName(java.lang.String structureName) PUBLIC: Set the name of the structure. |
Methods inherited from class oracle.toplink.mappings.DatabaseMapping |
getAttributeClassification, getAttributeName, getGetMethodName, getSetMethodName, readOnly, readWrite, setAttributeName, setGetMethodName, setIsReadOnly, setSetMethodName, setWeight |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public NestedTableMapping()
Method Detail |
public java.lang.String getFieldName()
public java.lang.String getStructureName()
public void setFieldName(java.lang.String FieldName)
public void setStructureName(java.lang.String structureName)
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |