|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectome.formats.enums.IQueryEnumProvider
public class IQueryEnumProvider
An enumeration provider which uses IQuery and a cache to fulfill the contract of an EnumerationProvider.
Constructor Summary | |
---|---|
IQueryEnumProvider(omero.api.IQueryPrx iQuery)
Default IQuery based enumeration provider constructor. |
Method Summary | ||
---|---|---|
|
getEnumeration(Class<T> klass,
String value,
boolean loaded)
Retrieves an enumeration. |
|
|
getEnumerations(Class<T> klass)
Retrieves all enumerations of a specific type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IQueryEnumProvider(omero.api.IQueryPrx iQuery)
iQuery
- OMERO query service to use for enumeration lookups.Method Detail |
---|
public <T extends omero.model.IObject> T getEnumeration(Class<T> klass, String value, boolean loaded)
EnumerationProvider
getEnumeration
in interface EnumerationProvider
klass
- Enumeration's base class from ome.model.enums
.value
- Enumeration's string value.loaded
- true
if the enumeration returned should be
loaded, otherwise false
.
public <T extends omero.model.IObject> HashMap<String,T> getEnumerations(Class<T> klass)
EnumerationProvider
getEnumerations
in interface EnumerationProvider
klass
- Enumeration's base class from ome.model.enums
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Version: 4.3.4-dbcbce5a-b4
Copyright © 2009 The University of Dundee. All Rights Reserved.