|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.data.tmf.impl.AbstractSource
org.gcube.data.speciesplugin.SpeciesSource
public class SpeciesSource
| Field Summary | |
|---|---|
protected ReentrantReadWriteLock |
lock
|
protected List<org.gcube.data.tmf.api.Property> |
properties
|
protected Lock |
readLock
|
protected Lock |
writeLock
|
| Fields inherited from interface org.gcube.data.tmf.api.Source |
|---|
TREE_TYPE |
| Constructor Summary | |
|---|---|
SpeciesSource(String id,
SpeciesStore store,
List<org.gcube.data.tmf.api.Property> properties)
Creates an instance with a given identifier. |
|
| Method Summary | |
|---|---|
Long |
cardinality()
|
List<org.gcube.data.tmf.api.Property> |
properties()
|
SpeciesStore |
store()
Returns the underlying tree store |
File |
switchStore(File newStoreLocation)
|
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 |
| Field Detail |
|---|
protected ReentrantReadWriteLock lock
protected Lock readLock
protected Lock writeLock
protected final List<org.gcube.data.tmf.api.Property> properties
| Constructor Detail |
|---|
public SpeciesSource(String id,
SpeciesStore store,
List<org.gcube.data.tmf.api.Property> properties)
id - the identifier| Method Detail |
|---|
public List<org.gcube.data.tmf.api.Property> properties()
public SpeciesStore store()
public File switchStore(File newStoreLocation)
throws IOException
IOExceptionpublic Long cardinality()
cardinality in interface org.gcube.data.tmf.api.Sourcecardinality in class org.gcube.data.tmf.impl.AbstractSourcepublic String toString()
toString in class org.gcube.data.tmf.impl.AbstractSourcepublic List<QName> types()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||