|
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.Objectoracle.toplink.descriptors.ClassDescriptor
oracle.toplink.eis.EISDescriptor
public class EISDescriptor
An EISDescriptor defines the mapping from a JCA data
structure to a Java object. There are two types of EIS descriptors:
EISInteraction,
oracle.toplink.eis.mappings.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.descriptors.ClassDescriptor |
|---|
DO_NOT_SEND_CHANGES, INVALIDATE_CHANGED_OBJECTS, ISOLATE_CACHE_AFTER_TRANSACTION, ISOLATE_CACHE_ALWAYS, ISOLATE_NEW_DATA_AFTER_TRANSACTION, SEND_NEW_OBJECTS_WITH_CHANGES, SEND_OBJECT_CHANGES, UNDEFINED_ISOLATATION, UNDEFINED_OBJECT_CHANGE_BEHAVIOR, USE_SESSION_CACHE_AFTER_TRANSACTION |
| Constructor Summary | |
|---|---|
EISDescriptor()
Default constructor. |
|
| Method Summary | |
|---|---|
DatabaseMapping |
addDirectMapping(java.lang.String attributeName,
java.lang.String fieldName)
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)
Add a direct to node mapping to the receiver. |
void |
addPrimaryKeyFieldName(java.lang.String fieldName)
Specify the primary key field. |
java.lang.String |
getDataFormat()
Return the data format that the descriptor maps to. |
java.lang.String |
getDataTypeName()
Specify the data type name for the class of objects the descriptor maps. |
InheritancePolicy |
getInheritancePolicy()
The inheritance policy is used to define how a descriptor takes part in inheritance. |
NamespaceResolver |
getNamespaceResolver()
Return the XML namespace resolver. |
void |
setDataFormat(java.lang.String dataFormat)
Configure the data format that the descriptor maps to. |
void |
setDataTypeName(java.lang.String dataTypeName)
Specify the data type name for the class of objects the descriptor maps. |
void |
setNamespaceResolver(NamespaceResolver namespaceResolver)
Set the XML namespace resolver. |
void |
setSequenceNumberFieldName(java.lang.String fieldName)
Set the sequence number field name. |
void |
useIndexedRecordFormat()
Configure the data format to use indexed records. |
void |
useMappedRecordFormat()
Configure the data format to use mapped records. |
void |
useXMLRecordFormat()
Configure the data format to use xml records. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String MAPPED
EISDescriptor
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 ClassDescriptorpublic 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 ClassDescriptorString - instanceVariableName is the name of an instance variable of the
class which the receiver describes.String - fieldName is the name of the xml element or attribute which corresponds
with the designated instance variable.
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 ClassDescriptorClassDescriptor.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 | ||||||||