org.gcube.data.tr
Class TreeSource

java.lang.Object
  extended by org.gcube.data.tmf.impl.AbstractSource
      extended by org.gcube.data.tr.TreeSource
All Implemented Interfaces:
Serializable, org.gcube.data.tmf.api.Source

public class TreeSource
extends org.gcube.data.tmf.impl.AbstractSource

A local Source of Trees.

Author:
Fabio Simeoni
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.gcube.data.tmf.api.Source
TREE_TYPE
 
Constructor Summary
TreeSource(String id, List<QName> types, Store store)
          Creates an instance with a given identifier.
 
Method Summary
 Long cardinality()
           
 List<org.gcube.data.tmf.api.Property> properties()
           
 Store store()
          Returns the underlying tree store
 String toString()
           
 List<QName> types()
           
 
Methods inherited from class org.gcube.data.tmf.impl.AbstractSource
creationTime, description, environment, equals, hashCode, id, isUser, lastUpdate, lifecycle, name, notifier, reader, setCardinality, setCreationTime, setDescription, setEnvironment, setLastUpdate, setLifecycle, setName, setNotifier, setReader, setUser, setWriter, writer
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TreeSource

public TreeSource(String id,
                  List<QName> types,
                  Store store)
Creates an instance with a given identifier.

Parameters:
id - the identifier
Method Detail

properties

public List<org.gcube.data.tmf.api.Property> properties()

types

public List<QName> types()

store

public Store store()
Returns the underlying tree store

Returns:
the store

cardinality

public Long cardinality()
Specified by:
cardinality in interface org.gcube.data.tmf.api.Source
Overrides:
cardinality in class org.gcube.data.tmf.impl.AbstractSource

toString

public String toString()
Overrides:
toString in class org.gcube.data.tmf.impl.AbstractSource


Copyright © 2012. All Rights Reserved.