|
Oracle Fusion Middleware Java API Reference for Oracle TopLink (Deprecated) 11g Release 1 (11.1.1) B32476-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.toplink.mappings.DatabaseMapping oracle.toplink.mappings.foundation.AbstractDirectMapping
public abstract class AbstractDirectMapping
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.
Converter
,
ObjectTypeConverter
,
TypeConversionConverter
,
SerializedObjectConverter
,
Serialized FormConstructor Summary | |
---|---|
AbstractDirectMapping()
Default constructor. |
Method Summary | |
---|---|
java.lang.Class |
getAttributeClassification()
Some databases do not properly support all of the base data types. |
Converter |
getConverter()
Return the converter on the mapping. |
java.lang.Class |
getFieldClassification()
ADVANCED: Return the class type of the field value. |
java.lang.String |
getFieldName()
Name of the field this mapping represents. |
java.lang.Object |
getNullValue()
Allow for the value used for null to be specified. |
boolean |
hasConverter()
Indicates if the mapping has a converter set on it. |
boolean |
isMutable()
Return true if the attribute for this mapping is a simple atomic value that cannot be modified, only replaced. |
void |
setAttributeClassification(java.lang.Class attributeClassification)
Some databases do not properly support all of the base data types. |
void |
setConverter(Converter converter)
Set the converter on the mapping. |
void |
setConverterClassName(java.lang.String converterClassName)
Guy Set the converter class name on the mapping. |
void |
setField(DatabaseField theField)
ADVANCED: Set the field in the mapping. |
void |
setFieldClassification(java.lang.Class fieldType)
ADVANCED: Set the class type of the field value. |
void |
setFieldType(int jdbcType)
ADVANCED: Set the JDBC type of the field value. |
void |
setIsMutable(boolean isMutable)
Return true if the attribute for this mapping is a simple atomic value that cannot be modified, only replaced. |
void |
setNullValue(java.lang.Object nullValue)
Allow for the value used for null to be specified. |
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 |
---|
public AbstractDirectMapping()
Method Detail |
---|
public Converter getConverter()
public void setConverter(Converter converter)
public void setConverterClassName(java.lang.String converterClassName)
public boolean isMutable()
public void setIsMutable(boolean isMutable)
public java.lang.Class getAttributeClassification()
getAttributeClassification
in class DatabaseMapping
public java.lang.Class getFieldClassification()
public void setFieldClassification(java.lang.Class fieldType)
public void setFieldType(int jdbcType)
public java.lang.String getFieldName()
public java.lang.Object getNullValue()
public boolean hasConverter()
public void setAttributeClassification(java.lang.Class attributeClassification)
public void setField(DatabaseField theField)
public void setNullValue(java.lang.Object nullValue)
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |