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

B32476-03

oracle.toplink.eis.adapters.attunity
Class AttunityPlatform

java.lang.Object
  extended by oracle.toplink.internal.databaseaccess.DatasourcePlatform
      extended by oracle.toplink.eis.EISPlatform
          extended by oracle.toplink.eis.adapters.attunity.AttunityPlatform
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, oracle.toplink.internal.databaseaccess.Platform

public class AttunityPlatform
extends EISPlatform

Defines the Attunity Connect platform. This generates Attunity Connect interaction specs.

This platform assumes that field name used in the descriptor and mappings correctly use Attunity naming covention synatx of '#' for elements, '@' for attributes and '[]' for collections.

Since:
OracleAS TopLink 10g (10.0.3)
See Also:
Serialized Form

Constructor Summary
AttunityPlatform()
          Default constructor.
 
Method Summary
 javax.resource.cci.InteractionSpec buildInteractionSpec(EISInteraction interaction)
          Allow the platform to build the interaction spec based on properties defined in the interaction.
 oracle.toplink.internal.sessions.AbstractRecord createDatabaseRowFromDOMRecord(javax.resource.cci.Record record, EISInteraction call, EISAccessor accessor)
          Create an EISDOMRecord wrapping the records dom tree.
 void setDOMInRecord(org.w3c.dom.Element dom, javax.resource.cci.Record record, EISInteraction call, EISAccessor accessor)
          Stores the XML DOM value into the record.
 void setValueInRecord(java.lang.String key, java.lang.Object value, javax.resource.cci.MappedRecord record, EISAccessor accessor)
          Stores the field value into the record.
 
Methods inherited from class oracle.toplink.eis.EISPlatform
appendParameter, buildRows, createDOMRecord, createInputRecord, createOutputRecord, getRecordConverter, getValueFromRecord, isDOMRecordSupported, isIndexedRecordSupported, isMappedRecordSupported, requiresAutoCommit, setIsDOMRecordSupported, setIsIndexedRecordSupported, setIsMappedRecordSupported, setRecordConverter, setRequiresAutoCommit, setShouldConvertDataToStrings, setSupportsLocalTransactions, shouldConvertDataToStrings, supportsLocalTransactions
 
Methods inherited from class oracle.toplink.internal.databaseaccess.DatasourcePlatform
addSequence, clone, convertObject, copyInto, getConversionManager, getCustomModifyValueForCall, getDataTypesConvertedFrom, getDataTypesConvertedTo, getDefaultSequence, getOperator, getPlatformOperators, getSelectSequenceQuery, getSequence, getSequencePreallocationSize, getTableQualifier, getTimestampFromServer, getTimestampQuery, getUpdateSequenceQuery, hasDefaultSequence, isAccess, isAttunity, isCloudscape, isDB2, isDBase, isDerby, isHSQL, isInformix, isMySQL, isODBC, isOracle, isPointBase, isPostgreSQL, isSQLAnywhere, isSQLServer, isSybase, isTimesTen, isTimesTen7, removeAllSequences, removeSequence, setConversionManager, setDefaultSequence, setSelectSequenceNumberQuery, setSequencePreallocationSize, setTableQualifier, setTimestampQuery, setUpdateSequenceQuery, shouldUseCustomModifyForCall, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AttunityPlatform

public AttunityPlatform()
Default constructor.

Method Detail

buildInteractionSpec

public javax.resource.cci.InteractionSpec buildInteractionSpec(EISInteraction interaction)
Allow the platform to build the interaction spec based on properties defined in the interaction.

Overrides:
buildInteractionSpec in class EISPlatform

setValueInRecord

public void setValueInRecord(java.lang.String key,
                             java.lang.Object value,
                             javax.resource.cci.MappedRecord record,
                             EISAccessor accessor)
Stores the field value into the record. This handles Attunity's syntax of requiring elements (#) to be set as '#element', and collections (#[]) to be set sd '#element[]'.

Overrides:
setValueInRecord in class EISPlatform

createDatabaseRowFromDOMRecord

public oracle.toplink.internal.sessions.AbstractRecord createDatabaseRowFromDOMRecord(javax.resource.cci.Record record,
                                                                                      EISInteraction call,
                                                                                      EISAccessor accessor)
Create an EISDOMRecord wrapping the records dom tree.

Overrides:
createDatabaseRowFromDOMRecord in class EISPlatform

setDOMInRecord

public void setDOMInRecord(org.w3c.dom.Element dom,
                           javax.resource.cci.Record record,
                           EISInteraction call,
                           EISAccessor accessor)
Stores the XML DOM value into the record. This must be implemented by the platform if it support XML/DOM records.

Overrides:
setDOMInRecord in class EISPlatform

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