org.gcube.data.trees.uri
Class TreeUriBean

java.lang.Object
  extended by org.gcube.data.trees.uri.TreeUriBean

public class TreeUriBean
extends Object

Models the information in a tree URI.

Author:
Fabio Simeoni

Constructor Summary
TreeUriBean(URI uri)
           
 
Method Summary
 String nodeId()
          Returns the identifier of the node.
 List<String> nodeIDs()
          Returns the identifiers of the nodes.
 String scope()
          Returns the scope of the URL.
 String sourceId()
          Returns the source identifier.
 String toString()
           
 String treeId()
          Returns the tree identifier.
 URI url()
          Returns the underlying URI.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TreeUriBean

public TreeUriBean(URI uri)
            throws IllegalArgumentException
Throws:
IllegalArgumentException
Method Detail

sourceId

public String sourceId()
Returns the source identifier.

Returns:
the identifier

treeId

public String treeId()
Returns the tree identifier.

Returns:
the identifier

nodeId

public String nodeId()
Returns the identifier of the node.

Returns:
the identifier

nodeIDs

public List<String> nodeIDs()
Returns the identifiers of the nodes.

Returns:
the identifiers

url

public URI url()
Returns the underlying URI.

Returns:
the URI

toString

public String toString()
Overrides:
toString in class Object

scope

public String scope()
Returns the scope of the URL.

Returns:
the scope.


Copyright © 2012. All Rights Reserved.