Skip navigation links
oracle.toplink.eis.mappings
Class EISDirectMapping
java.lang.Object
oracle.toplink.mappings.DatabaseMapping
oracle.toplink.mappings.foundation.AbstractDirectMapping
oracle.toplink.eis.mappings.EISDirectMapping
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, oracle.toplink.eis.mappings.EISMapping
-
public class EISDirectMapping
- extends AbstractDirectMapping
- implements oracle.toplink.eis.mappings.EISMapping
EIS Direct Mappings map a simple Java attribute 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
Method Summary |
java.lang.String |
getXPath()
Get the XPath String associated with this Mapping |
void |
setFieldName(java.lang.String fieldName)
Set the field name in the mapping. |
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.AbstractDirectMapping |
getAttributeClassification, getConverter, getFieldClassification, getFieldName, getNullValue, hasConverter, isMutable, setAttributeClassification, setConverter, setConverterClassName, setField, setFieldClassification, setFieldType, setIsMutable, setNullValue |
Methods inherited from class oracle.toplink.mappings.DatabaseMapping |
getAttributeAccessor, getAttributeName, getGetMethodName, getProperty, getReferenceDescriptor, getSetMethodName, isLazy, isOptional, isUsingMethodAccess, readOnly, readWrite, setAttributeAccessor, setAttributeName, setGetMethodName, setIsLazy, setIsOptional, setIsReadOnly, setProperty, setSetMethodName, setWeight, simpleAddToCollectionChangeRecord, simpleRemoveFromCollectionChangeRecord |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
EISDirectMapping
public EISDirectMapping()
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 associated with this Mapping
-
- Returns:
- String the XPath String associated with this Mapping
setFieldName
public void setFieldName(java.lang.String fieldName)
- Set the field name in the mapping.
Skip navigation links