Oracle Fusion Middleware Java API Reference for Oracle TopLink (Deprecated)
11g Release 1 (11.1.1)

B32476-04

oracle.toplink.objectrelational
Class ArrayMapping

java.lang.Object
  extended by oracle.toplink.mappings.DatabaseMapping
      extended by oracle.toplink.mappings.foundation.AbstractCompositeDirectCollectionMapping
          extended by oracle.toplink.sdk.SDKDirectCollectionMapping
              extended by oracle.toplink.objectrelational.ArrayMapping
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, ContainerMapping, SDKCollectionMapping

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

Constructor Summary
ArrayMapping()
          Default constructor.
 
Method Summary
 java.lang.String getStructureName()
          Return the name of the structure.
 void setFieldName(java.lang.String fieldName)
          Set the name of the field that holds the nested collection.
 void setStructureName(java.lang.String structureName)
          Set the name of the structure.
 
Methods inherited from class oracle.toplink.sdk.SDKDirectCollectionMapping
getElementDataTypeName, getFieldName, setElementDataTypeName, simpleAddToCollectionChangeRecord, simpleRemoveFromCollectionChangeRecord
 
Methods inherited from class oracle.toplink.mappings.foundation.AbstractCompositeDirectCollectionMapping
getAttributeElementClass, getFieldElementClass, getValueConverter, hasValueConverter, setAttributeElementClass, setContainerPolicy, setField, setFieldElementClass, setUsesSingleNode, setValueConverter, useCollectionClass, useMapClass, usesSingleNode
 
Methods inherited from class oracle.toplink.mappings.DatabaseMapping
getAttributeAccessor, getAttributeClassification, getAttributeName, getGetMethodName, getProperty, getReferenceDescriptor, 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
 
Methods inherited from interface oracle.toplink.sdk.SDKCollectionMapping
buildAddedElementFromChangeSet, buildChangeSet, buildElementFromElement, buildRemovedElementFromChangeSet, compareElements, compareElementsForChange, getAttributeName, getRealCollectionAttributeValueFromObject, mapKeyHasChanged, setRealAttributeValueInObject
 
Methods inherited from interface oracle.toplink.mappings.ContainerMapping
getContainerPolicy, setContainerPolicy, useCollectionClass, useMapClass
 

Constructor Detail

ArrayMapping

public ArrayMapping()
Default constructor.

Method Detail

getStructureName

public java.lang.String getStructureName()
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)
Set the name of the field that holds the nested collection.

Overrides:
setFieldName in class SDKDirectCollectionMapping

setStructureName

public void setStructureName(java.lang.String structureName)
Set the name of the structure. This is the name of the user-defined data type as defined on the database.


Copyright © 1998, 2012, Oracle. All Rights Reserved.