omero::api::ITypes
Overview
[ "ami", "amd" ]
interface ITypes extends ServiceInterface
Access to reflective type information. Also provides simplified
access to special types like enumerations.
Operation Index
- createEnumeration
-
- getEnumeration
-
Lookup an enumeration value.
- allEnumerations
-
- updateEnumeration
-
Updates enumeration value specified by object.
- updateEnumerations
-
Updates enumeration value specified by object.
- deleteEnumeration
-
Deletes enumeration value specified by object.
- getEnumerationTypes
-
Gets all metadata classes which are IEnum type.
- getAnnotationTypes
-
Returns a list of classes which implement
omero::model::IAnnotated.
- getEnumerationsWithEntries
-
Gets all metadata classes which are IEnum type with
contained objects.
- getOriginalEnumerations
-
Gets all original values.
- resetEnumerations
-
Operations
Lookup an enumeration value. As with the get-methods of
IQuery queries returning no results
will through an exception.
Parameters
- type
-
An enumeration class which should be searched.
- value
-
The value for which an enumeration should be
found.
Return Value
A managed enumeration. Never null.
Exceptions
- ApiUsageException
-
if omero::model::IEnum is not found.
Updates enumeration value specified by object.
Parameters
- oldEnum
-
An enumeration object which should be
searched.
Return Value
A managed enumeration. Never null.
Updates enumeration value specified by object.
Parameters
- oldEnums
-
An enumeration collection of objects which
should be searched.
Deletes enumeration value specified by object.
Parameters
- oldEnum
-
An enumeration object which should be
searched.
Gets all metadata classes which are IEnum type.
Return Value
set of classes that extend IEnum
Exceptions
- RuntimeException
-
if Class not found.
Returns a list of classes which implement
omero::model::IAnnotated. These can
be used in combination with Search.
Return Value
a StringSet of
omero::model::IAnnotated implementations
Gets all metadata classes which are IEnum type with
contained objects.
Return Value
map of classes that extend IEnum
Exceptions
- RuntimeExceptionif
-
xml parsing failure.
Gets all original values.
Return Value
A list of managed enumerations.
Exceptions
- RuntimeException
-
if xml parsing failure.