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

E13403-03

oracle.ide.history
Class LocalState

java.lang.Object
  extended by oracle.ide.history.LocalState

public abstract class LocalState
extends java.lang.Object


Constructor Summary
LocalState()
           
 
Method Summary
abstract  java.net.URL getDataURL()
          Get the URL of the location where the Node's contents, as at the date of this state, have been persisted.
abstract  java.util.Date getDate()
          Get the point in time that this state represents for the associated Node.
abstract  java.lang.String getDescription()
          Get a description describing this state.
abstract  java.lang.Object getNodeId()
          Get the identifier of the Node for which this instance represents a state in time.
abstract  java.net.URL getNodeURL()
          Get the current URL of the Node for which this instance represents a state in time.
abstract  java.net.URL getStateURL()
          Get the URL of the Node as it was at the time of creation of this state.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalState

public LocalState()
Method Detail

getDate

public abstract java.util.Date getDate()
Get the point in time that this state represents for the associated Node.

Returns:
The date.

getNodeId

public abstract java.lang.Object getNodeId()
Get the identifier of the Node for which this instance represents a state in time.


getNodeURL

public abstract java.net.URL getNodeURL()
Get the current URL of the Node for which this instance represents a state in time. The URL returned is not necessarily equivalent to when this state was constructed since the Node type may have changed in the interim. If the Node has been deleted, this method will return null.

Returns:
the current URL of the Node associated with this state.

getStateURL

public abstract java.net.URL getStateURL()
Get the URL of the Node as it was at the time of creation of this state. The value returned from this method is not necessarily the same as getNodeURL() since the Node may have been renamed since this state was produced.

Returns:
the Node URL as it was at getDate().

getDataURL

public abstract java.net.URL getDataURL()
Get the URL of the location where the Node's contents, as at the date of this state, have been persisted.

Returns:
the data URL.

getDescription

public abstract java.lang.String getDescription()
Get a description describing this state.

Returns:
a short description.

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

E13403-03

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