|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) B32476-03 |
||||||||
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
public class 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.
Field Summary |
---|
Fields inherited from class oracle.toplink.mappings.ForeignReferenceMapping |
---|
INNER_JOIN, NONE, OUTER_JOIN |
Constructor Summary | |
---|---|
NestedTableMapping()
Default constructor. |
Method Summary | |
---|---|
java.lang.String |
getFieldName()
Return the name of the field this mapping represents. |
java.lang.String |
getStructureName()
Return the structure name of the nestedTable. |
void |
setFieldName(java.lang.String FieldName)
Set the field name in the mapping. |
void |
setStructureName(java.lang.String structureName)
Set the name of the structure. |
Methods inherited from class oracle.toplink.mappings.DatabaseMapping |
---|
getAttributeAccessor, getAttributeClassification, getAttributeName, getGetMethodName, getProperty, getSetMethodName, isLazy, isOptional, isUsingMethodAccess, readOnly, readWrite, setAttributeAccessor, setAttributeName, setGetMethodName, setIsLazy, setIsOptional, setIsReadOnly, setProperty, 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 |