public interface ITypes extends ServiceInterface
Modifier and Type | Method and Description |
---|---|
<T extends IEnum> |
allEnumerations(Class<T> k) |
<T extends IEnum> |
createEnumeration(T newEnum) |
<T extends IEnum> |
deleteEnumeration(T oEnum)
deletes enumeration value specified by object
|
List<Class<IAnnotated>> |
getAnnotationTypes()
Returns a list of classes which implement
IAnnotated . |
<T extends IEnum> |
getEnumeration(Class<T> k,
String string)
lookup an enumeration value.
|
<T extends IEnum> |
getEnumerationsWithEntries()
Gets all metadata classes which are IEnum type with contained objects.
|
<T extends IEnum> |
getEnumerationTypes()
Gets all metadata classes which are IEnum type.
|
<T extends IEnum> |
getOriginalEnumerations()
Gets all original values.
|
<T extends IEnum> |
resetEnumerations(Class<T> klass) |
<T extends IEnum> |
updateEnumeration(T oEnum)
updates enumeration value specified by object
|
<T extends IEnum> |
updateEnumerations(List<T> listEnum)
updates enumeration value specified by object
|
List<Class<IAnnotated>> getAnnotationTypes()
IAnnotated
. These can
be used in combination with Search
.List
of IAnnotated
implementations<T extends IEnum> T createEnumeration(T newEnum)
<T extends IEnum> T getEnumeration(Class<T> k, 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.ApiUsageException
- if IEnum
is not found.<T extends IEnum> T updateEnumeration(T oEnum)
T
- The type of the enumeration. Must extend IEnum
oEnum
- An enumeration object which should be searched.<T extends IEnum> void updateEnumerations(List<T> listEnum)
T
- The type of the enumeration. Must extend IEnum
listEnum
- An enumeration collection of objects which should be searched.<T extends IEnum> void deleteEnumeration(T oEnum)
T
- The type of the enumeration. Must extend IEnum
oEnum
- An enumeration object which should be searched.<T extends IEnum> List<T> getOriginalEnumerations()
T
- The type of the enumeration. Must extend IEnum
RuntimeException
- if xml parsing failure.<T extends IEnum> List<Class<T>> getEnumerationTypes()
T
- The type of the enumeration. Must extend IEnum
RuntimeException
- if Class not found.<T extends IEnum> Map<Class<T>,List<T>> getEnumerationsWithEntries()
T
- The type of the enumeration. Must extend IEnum
RuntimeException
- if xml parsing failure.
Version: 5.3.3-ice35-b63
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.