|
Oracle TopLink API Reference 10g Release 3 (10.1.3) B13698-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.toplink.publicinterface.Descriptor
oracle.toplink.internal.descriptors.RootDescriptor
oracle.toplink.descriptors.ClassDescriptor
oracle.toplink.eis.EISDescriptor
An EISDescriptor defines the mapping from a JCA data
structure to a Java object. There are two types of EIS descriptors:
EISInteraction,
EISMapping,
Serialized Form| Field Summary | |
static java.lang.String |
INDEXED
|
static java.lang.String |
MAPPED
Define the valid data formats that the descriptor can map to. |
static java.lang.String |
XML
|
| Fields inherited from class oracle.toplink.publicinterface.Descriptor |
DO_NOT_SEND_CHANGES, INVALIDATE_CHANGED_OBJECTS, SEND_NEW_OBJECTS_WITH_CHANGES, SEND_OBJECT_CHANGES, UNDEFINED_OBJECT_CHANGE_BEHAVIOR |
| Constructor Summary | |
EISDescriptor()
Default constructor. |
|
| Method Summary | |
DatabaseMapping |
addDirectMapping(java.lang.String attributeName,
java.lang.String fieldName)
PUBLIC: Add a direct mapping to the receiver. |
DatabaseMapping |
addDirectMapping(java.lang.String attributeName,
java.lang.String getMethodName,
java.lang.String setMethodName,
java.lang.String fieldName)
PUBLIC: Add a direct to node mapping to the receiver. |
void |
addPrimaryKeyFieldName(java.lang.String fieldName)
PUBLIC: Specify the primary key field. |
java.lang.String |
getDataFormat()
PUBLIC: Return the data format that the descriptor maps to. |
java.lang.String |
getDataTypeName()
PUBLIC: Specify the data type name for the class of objects the descriptor maps. |
InheritancePolicy |
getInheritancePolicy()
PUBLIC: The inheritance policy is used to define how a descriptor takes part in inheritance. |
NamespaceResolver |
getNamespaceResolver()
PUBLIC: Return the XML namespace resolver. |
void |
setDataFormat(java.lang.String dataFormat)
PUBLIC: Configure the data format that the descriptor maps to. |
void |
setDataTypeName(java.lang.String dataTypeName)
PUBLIC: Specify the data type name for the class of objects the descriptor maps. |
void |
setNamespaceResolver(NamespaceResolver namespaceResolver)
PUBLIC: Set the XML namespace resolver. |
void |
setSequenceNumberFieldName(java.lang.String fieldName)
PUBLIC: Set the sequence number field name. |
void |
useIndexedRecordFormat()
PUBLIC: Configure the data format to use indexed records. |
void |
useMappedRecordFormat()
PUBLIC: Configure the data format to use mapped records. |
void |
useXMLRecordFormat()
PUBLIC: Configure the data format to use xml records. |
| Methods inherited from class oracle.toplink.publicinterface.Descriptor |
addTableName, getEventManager, getJavaClassName, getQueryManager, getTableName, getTableNames, removeMappingForAttributeName, setConstraintDependencies, setDefaultTableName, setMultipleTableInsertOrder, setTableName, setTableNames, setTableQualifier, toString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final java.lang.String MAPPED
public static final java.lang.String INDEXED
public static final java.lang.String XML
| Constructor Detail |
public EISDescriptor()
| Method Detail |
public void setDataTypeName(java.lang.String dataTypeName)
throws DescriptorException
DescriptorExceptionpublic NamespaceResolver getNamespaceResolver()
public InheritancePolicy getInheritancePolicy()
getInheritancePolicy in class Descriptorpublic void setNamespaceResolver(NamespaceResolver namespaceResolver)
public java.lang.String getDataFormat()
public java.lang.String getDataTypeName()
throws DescriptorException
DescriptorExceptionpublic void setDataFormat(java.lang.String dataFormat)
public void useMappedRecordFormat()
public void useIndexedRecordFormat()
public void useXMLRecordFormat()
public DatabaseMapping addDirectMapping(java.lang.String attributeName,
java.lang.String fieldName)
addDirectMapping in class ClassDescriptor
public DatabaseMapping addDirectMapping(java.lang.String attributeName,
java.lang.String getMethodName,
java.lang.String setMethodName,
java.lang.String fieldName)
addDirectMapping in class ClassDescriptorpublic void addPrimaryKeyFieldName(java.lang.String fieldName)
addPrimaryKeyFieldName in class ClassDescriptor#addMultipleTableForeignKeyFieldName(String, String);public void setSequenceNumberFieldName(java.lang.String fieldName)
setSequenceNumberFieldName in class ClassDescriptor
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||