|
Oracle Application Server TopLink API Reference 10g Release 2 (10.1.2) B15903-01 |
|||||||||
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.DirectToFieldMapping
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 databae being used.
Constructor Summary | |
DirectToFieldMapping() Default constructor. |
Method Summary | |
java.lang.Class |
getAttributeClassification() PUBLIC: Some databases do not properly support all of the base data types. |
java.lang.String |
getFieldName() PUBLIC: Name of the field this mapping represents. |
java.lang.Object |
getNullValue() PUBLIC: Allow for the value used for null to be specified. |
void |
setAttributeClassification(java.lang.Class aClass) PUBLIC: Some databases do not properly support all of the base data types. |
void |
setFieldName(java.lang.String FieldName) PUBLIC: Set the field name in the mapping. |
void |
setNullValue(java.lang.Object nullValue) PUBLIC: Allow for the value used for null to be specified. |
Methods inherited from class oracle.toplink.mappings.DatabaseMapping |
getAttributeName, getGetMethodName, getSetMethodName, readOnly, readWrite, setAttributeName, setGetMethodName, setIsReadOnly, setSetMethodName, setWeight, simpleAddToCollectionChangeRecord, simpleRemoveFromCollectionChangeRecord |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DirectToFieldMapping()
Method Detail |
public java.lang.Class getAttributeClassification()
getAttributeClassification
in class DatabaseMapping
public java.lang.String getFieldName()
public java.lang.Object getNullValue()
public void setAttributeClassification(java.lang.Class aClass)
public void setFieldName(java.lang.String FieldName)
public void setNullValue(java.lang.Object nullValue)
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |