org.gcube.contentmanagement.contentmanager.stubs.model.views
Class NodeView

java.lang.Object
  extended by org.gcube.contentmanagement.contentmanager.stubs.model.views.NodeView
Direct Known Subclasses:
GDocView

public class NodeView
extends java.lang.Object

Base class for an object view over a gDoc document tree.

Author:
Fabio Simeoni (University of Strathclyde)

Constructor Summary
NodeView()
          Creates an instance.
NodeView(java.lang.String id)
          Creates an instance with an identifier.
 
Method Summary
 java.lang.String id()
          Returns the node identifier.
 java.net.URI uri()
          Returns a cms URL to the node.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeView

public NodeView()
Creates an instance.


NodeView

public NodeView(java.lang.String id)
Creates an instance with an identifier.

Parameters:
id - the identifier.
Method Detail

id

public java.lang.String id()
Returns the node identifier.

Returns:
the identifier.

uri

public java.net.URI uri()
Returns a cms URL to the node.

Returns:
the URL.