Extension SDK 10.1.2

oracle.ide.model
Class DataElement

java.lang.Object
  extended byoracle.ide.model.DefaultDisplayable
      extended byoracle.ide.model.DefaultElement
          extended byoracle.ide.model.DataElement
All Implemented Interfaces:
Data, Dirtyable, Displayable, Element
Direct Known Subclasses:
AbstractLibrary, JPaths

public class DataElement
extends DefaultElement
implements Dirtyable

DataElement is a complete, default implementation of the Element and Dirtyable interfaces. This is a convenient starting point for the implementation of data classes which can be integrated with the IDE framework.

See Also:
DefaultElement

Constructor Summary
DataElement()
          Creates a new DataElement instance.
 
Method Summary
 boolean isDirty()
          True if the data in the object has been modified.
 void markDirty(boolean dirty)
          Marks the data with the specified dirty state.
 
Methods inherited from class oracle.ide.model.DefaultElement
getAttributes, getChildren, getData, mayHaveChildren
 
Methods inherited from class oracle.ide.model.DefaultDisplayable
getIcon, getLongLabel, getShortLabel, getToolTipText, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface oracle.ide.model.Displayable
getIcon, getLongLabel, getShortLabel, getToolTipText, toString
 

Constructor Detail

DataElement

public DataElement()
Creates a new DataElement instance.

Subclasses that are designed to operate as a JavaBean must supply a default constructor.

Method Detail

isDirty

public boolean isDirty()
Description copied from interface: Dirtyable
True if the data in the object has been modified.

Specified by:
isDirty in interface Dirtyable
Returns:
true if the data in the object has been modified.

markDirty

public void markDirty(boolean dirty)
Description copied from interface: Dirtyable
Marks the data with the specified dirty state. This method is called markDirty(...) instead of setDirty(...) so that the JavaBeans Introspector will not mistakenly identify "dirty" as a JavaBean property.

Specified by:
markDirty in interface Dirtyable
Parameters:
dirty - If true, sets the object as being dirty; if false, sets the object as being up-to-date.

Extension SDK

 

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