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

B32476-03

oracle.toplink.mappings
Class DirectToFieldMapping

java.lang.Object
  extended by oracle.toplink.mappings.DatabaseMapping
      extended by oracle.toplink.mappings.foundation.AbstractDirectMapping
          extended by oracle.toplink.mappings.DirectToFieldMapping
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, oracle.toplink.mappings.RelationalMapping
Direct Known Subclasses:
DirectToXMLTypeMapping, ObjectTypeMapping, SerializedObjectMapping, TypeConversionMapping

public class DirectToFieldMapping
extends AbstractDirectMapping
implements oracle.toplink.mappings.RelationalMapping

Purpose: Maps an attribute to the corresponding database field type. The list of field types that are supported by TopLink's direct to field mapping is dependent on the relational database being used. A converter can be used to convert between the object and data type if they do not match.

Since:
TopLink/Java 1.0
See Also:
Converter, ObjectTypeConverter, TypeConversionConverter, SerializedObjectConverter, Serialized Form

Constructor Summary
DirectToFieldMapping()
          Default constructor.
 
Method Summary
 void setFieldName(java.lang.String FieldName)
          Set the field name in the mapping.
 
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
 

Constructor Detail

DirectToFieldMapping

public DirectToFieldMapping()
Default constructor.

Method Detail

setFieldName

public void setFieldName(java.lang.String FieldName)
Set the field name in the mapping.


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