public interface ITypes extends ServiceInterface
Modifier and Type | Method and Description |
---|---|
<T extends ome.model.IEnum> |
allEnumerations(java.lang.Class<T> k) |
<T extends ome.model.IEnum> |
createEnumeration(T newEnum) |
<T extends ome.model.IEnum> |
deleteEnumeration(T oEnum)
deletes enumeration value specified by object
|
java.util.List<java.lang.Class<ome.model.IAnnotated>> |
getAnnotationTypes()
Returns a list of classes which implement
IAnnotated . |
<T extends ome.model.IEnum> |
getEnumeration(java.lang.Class<T> k,
java.lang.String string)
lookup an enumeration value.
|
<T extends ome.model.IEnum> |
getEnumerationsWithEntries()
Gets all metadata classes which are IEnum type with contained objects.
|
<T extends ome.model.IEnum> |
getEnumerationTypes()
Gets all metadata classes which are IEnum type.
|
<T extends ome.model.IEnum> |
getOriginalEnumerations()
Gets all original values.
|
<T extends ome.model.IEnum> |
resetEnumerations(java.lang.Class<T> klass) |
<T extends ome.model.IEnum> |
updateEnumeration(T oEnum)
updates enumeration value specified by object
|
<T extends ome.model.IEnum> |
updateEnumerations(java.util.List<T> listEnum)
updates enumeration value specified by object
|
java.util.List<java.lang.Class<ome.model.IAnnotated>> getAnnotationTypes()
IAnnotated
. These can
be used in combination with Search
.List
of IAnnotated
implementations<T extends ome.model.IEnum> T createEnumeration(T newEnum)
<T extends ome.model.IEnum> java.util.List<T> allEnumerations(java.lang.Class<T> k)
<T extends ome.model.IEnum> T getEnumeration(java.lang.Class<T> k, java.lang.String string)
IQuery
queries returning no results will through an exception.T
- The type of the enumeration. Must extend IEnum
k
- An enumeration class which should be searched.string
- The value for which an enumeration should be found.ome.conditions.ApiUsageException
- if IEnum
is not found.<T extends ome.model.IEnum> T updateEnumeration(T oEnum)
T
- The type of the enumeration. Must extend IEnum
oEnum
- An enumeration object which should be searched.<T extends ome.model.IEnum> void updateEnumerations(java.util.List<T> listEnum)
T
- The type of the enumeration. Must extend IEnum
listEnum
- An enumeration collection of objects which should be searched.<T extends ome.model.IEnum> void deleteEnumeration(T oEnum)
T
- The type of the enumeration. Must extend IEnum
oEnum
- An enumeration object which should be searched.<T extends ome.model.IEnum> java.util.List<T> getOriginalEnumerations()
T
- The type of the enumeration. Must extend IEnum
java.lang.RuntimeException
- if xml parsing failure.<T extends ome.model.IEnum> void resetEnumerations(java.lang.Class<T> klass)
<T extends ome.model.IEnum> java.util.List<java.lang.Class<T>> getEnumerationTypes()
T
- The type of the enumeration. Must extend IEnum
java.lang.RuntimeException
- if Class not found.<T extends ome.model.IEnum> java.util.Map<java.lang.Class<T>,java.util.List<T>> getEnumerationsWithEntries()
T
- The type of the enumeration. Must extend IEnum
java.lang.RuntimeException
- if xml parsing failure.