Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


oracle.ide.model
Class XMLDataNode.DataCastPacket

java.lang.Object
  extended by oracle.ide.model.XMLDataNode.DataCastPacket

Enclosing class:
XMLDataNode

protected static final class XMLDataNode.DataCastPacket
extends java.lang.Object

The DataCastPacket class is a data class that is helpful for reducing the number of type-cast operations that need to occur. This is done by replacing the type-cast check with a check for null at the expense of keeping around more references in memory to the object in question.

This kind of strategy works well for objects that are frequently cast to a particular type. Once it has been created, this class is an immutable (read-only) data structure.


Field Summary
 Dirtyable dirtyable
          The Dirtyable view of the data object.
 Element element
          The Element view of the data object.
 Folder folder
          The Folder view of the data object.
 java.lang.Object object
          The Object view of the data object.

 

Constructor Summary
XMLDataNode.DataCastPacket(java.lang.Object obj)
          Creates a new instance of DataCastPacket and initializes all of its fields.

 

Method Summary

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

object

public final java.lang.Object object
The Object view of the data object.

element

public final Element element
The Element view of the data object. If the object is not an Element, then this field's value is null.

dirtyable

public final Dirtyable dirtyable
The Dirtyable view of the data object. If the object is not a Dirtyable, then this field's value is null.

folder

public final Folder folder
The Folder view of the data object. If the object is not a Folder, then this field's value is null.

Constructor Detail

XMLDataNode.DataCastPacket

public XMLDataNode.DataCastPacket(java.lang.Object obj)
Creates a new instance of DataCastPacket and initializes all of its fields.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


Copyright © 1997, 2011, Oracle. All rights reserved.