Skip navigation links

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

B32476-02


oracle.toplink.eis.mappings
Class EISCompositeDirectCollectionMapping

java.lang.Object
  extended by oracle.toplink.mappings.DatabaseMapping
      extended by oracle.toplink.mappings.foundation.AbstractCompositeDirectCollectionMapping
          extended by oracle.toplink.eis.mappings.EISCompositeDirectCollectionMapping

All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, oracle.toplink.eis.mappings.EISMapping, ContainerMapping

public class EISCompositeDirectCollectionMapping
extends AbstractCompositeDirectCollectionMapping
implements oracle.toplink.eis.mappings.EISMapping

EIS Composite Direct Collection Mappings map a collection of simple Java attributes to and from an EIS Record according to its descriptor's record type.

Record Type Description
Indexed Ordered collection of record elements. The indexed record EIS format enables Java class attribute values to be retreived by position or index.
Mapped Key-value map based representation of record elements. The mapped record EIS format enables Java class attribute values to be retreived by an object key.
XML Record/Map representation of an XML DOM element.
Since:
Oracle TopLink 10g Release 2 (10.1.3)
See Also:
EISDescriptor.useIndexedRecordFormat(), EISDescriptor.useMappedRecordFormat(), EISDescriptor.useXMLRecordFormat(), Serialized Form

Constructor Summary
EISCompositeDirectCollectionMapping()
           

 

Method Summary
 java.lang.String getFieldName()
          Return the name of the field that holds the nested collection.
 java.lang.String getXPath()
          Get the XPath String
 void setFieldName(java.lang.String fieldName)
          Set the name of the field that holds the nested collection.
 void setXPath(java.lang.String xpathString)
          Set the Mapping field name attribute to the given XPath String

 

Methods inherited from class oracle.toplink.mappings.foundation.AbstractCompositeDirectCollectionMapping
getAttributeElementClass, getFieldElementClass, getValueConverter, hasValueConverter, setAttributeElementClass, setContainerPolicy, setField, setFieldElementClass, setUsesSingleNode, setValueConverter, simpleAddToCollectionChangeRecord, simpleRemoveFromCollectionChangeRecord, 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

 

Constructor Detail

EISCompositeDirectCollectionMapping

public EISCompositeDirectCollectionMapping()

Method Detail

setXPath

public void setXPath(java.lang.String xpathString)
Set the Mapping field name attribute to the given XPath String
Parameters:
xpathString - String

getXPath

public java.lang.String getXPath()
Get the XPath String
Returns:
String the XPath String associated with this Mapping

getFieldName

public java.lang.String getFieldName()
Return the name of the field that holds the nested collection.
Overrides:
getFieldName in class AbstractCompositeDirectCollectionMapping

setFieldName

public void setFieldName(java.lang.String fieldName)
Set the name of the field that holds the nested collection.

Skip navigation links

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