oracle.toplink.objectrelational
Class ArrayMapping
java.lang.Object
oracle.toplink.mappings.DatabaseMapping
oracle.toplink.sdk.SDKDirectCollectionMapping
oracle.toplink.objectrelational.ArrayMapping
- All Implemented Interfaces:
- java.lang.Cloneable, ContainerMapping, SDKCollectionMapping, java.io.Serializable
- public class ArrayMapping
- extends SDKDirectCollectionMapping
Purpose: In an object-relational data model, structures can contain "Arrays" or collections of other data-types. In Oracle 8i, a "VARRAY" is typically used to represent a collection of primitive data or aggregate structures. These arrays are stored with their parent structure in the same table.
- See Also:
StructureMapping
, NestedTableMapping
, ReferenceMapping
, Serialized Form
Method Summary |
java.lang.String |
getStructureName()
PUBLIC: Return the name of the structure. |
void |
setFieldName(java.lang.String fieldName)
PUBLIC: Set the name of the field that holds the nested collection. |
void |
setStructureName(java.lang.String structureName)
PUBLIC: Set the name of the structure. |
Methods inherited from class oracle.toplink.sdk.SDKDirectCollectionMapping |
getAttributeElementClass, getElementDataTypeName, getFieldElementClass, getFieldName, setAttributeElementClass, setContainerPolicy, setElementDataTypeName, setFieldElementClass, simpleAddToCollectionChangeRecord, simpleRemoveFromCollectionChangeRecord, useCollectionClass, useMapClass |
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 |
ArrayMapping
public ArrayMapping()
- Default constructor.
getStructureName
public java.lang.String getStructureName()
- PUBLIC: Return the name of the structure. This is the name of the user-defined data type as defined on the database.
setFieldName
public void setFieldName(java.lang.String fieldName)
- PUBLIC: Set the name of the field that holds the nested collection.
-
- Overrides:
setFieldName
in class SDKDirectCollectionMapping
setStructureName
public void setStructureName(java.lang.String structureName)
- PUBLIC: Set the name of the structure. This is the name of the user-defined data type as defined on the database.