Class EISDOMRecord

All Implemented Interfaces:
MappedRecord, Record, Serializable, Cloneable, Map, DOMRecord, AbstractMarshalRecord<AbstractSession,DatabaseField,XMLMarshaller,NamespaceResolver>, AbstractUnmarshalRecord<AbstractSession,DatabaseField,XMLUnmarshaller>, TransformationRecord, XMLRecord<AbstractSession>, DataRecord

public class EISDOMRecord extends DOMRecord implements DOMRecord, MappedRecord

An EISDOMRecord is a wrapper for a DOM tree. It provides a Record/Map API on an XML DOM element. This can be used from the platform to wrap adapter XML/DOM records to be used with TopLink XML.

Since:
OracleAS TopLink 10g (10.0.3)
See Also:
  • Field Details

    • record

      protected Record record
      The original adapter record.
    • recordName

      protected String recordName
      The record name.
    • recordShortDescription

      protected String recordShortDescription
      The record name.
    • domMethod

      protected static Method domMethod
      Used for introspected DOM records.
  • Constructor Details

    • EISDOMRecord

      public EISDOMRecord()
      Default constructor.
    • EISDOMRecord

      public EISDOMRecord(Record record, Element dom)
      Create a TopLink record from the JCA adapter record and DOM tree.
    • EISDOMRecord

      public EISDOMRecord(Element dom)
      Create a TopLink record from a DOM tree.
    • EISDOMRecord

      public EISDOMRecord(Record record)
      Create a TopLink record from the JCA adapter record. This attempts to introspect the record to retrieve the DOM tree.
  • Method Details

    • getRecord

      public Record getRecord()
      Return the JCA adapter record.
    • setRecord

      public void setRecord(Record record)
      Set the JCA adapter record.
    • getRecordShortDescription

      public String getRecordShortDescription()
      Forward to the record.
      Specified by:
      getRecordShortDescription in interface Record
    • setRecordShortDescription

      public void setRecordShortDescription(String recordShortDescription)
      Forward to the record.
      Specified by:
      setRecordShortDescription in interface Record
    • getRecordName

      public String getRecordName()
      Forward to the record.
      Specified by:
      getRecordName in interface Record
    • setRecordName

      public void setRecordName(String recordName)
      Forward to the record.
      Specified by:
      setRecordName in interface Record
    • buildNestedRow

      public XMLRecord buildNestedRow(Element element)
      INTERNAL: Build the nested record, this can be overwriten by subclasses to use their subclass instance.
      Overrides:
      buildNestedRow in class DOMRecord