|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITypes
Access to reflective type information. Also provides simplified access to special types like enumerations.
Method Summary | ||
---|---|---|
|
allEnumerations(Class<T> k)
|
|
|
createEnumeration(T newEnum)
|
|
|
deleteEnumeration(T oEnum)
deletes enumeration value specified by object |
|
List<Class<ome.model.IAnnotated>> |
getAnnotationTypes()
Returns a list of classes which implement IAnnotated . |
|
|
getEnumeration(Class<T> k,
String string)
lookup an enumeration value. |
|
|
getEnumerationsWithEntries()
Gets all metadata classes which are IEnum type with contained objects. |
|
|
getEnumerationTypes()
Gets all metadata classes which are IEnum type. |
|
|
getOriginalEnumerations()
Gets all original values. |
|
|
resetEnumerations(Class<T> klass)
|
|
|
updateEnumeration(T oEnum)
updates enumeration value specified by object |
|
|
updateEnumerations(List<T> listEnum)
updates enumeration value specified by object |
Method Detail |
---|
List<Class<ome.model.IAnnotated>> getAnnotationTypes()
IAnnotated
. These can
be used in combination with Search
.
<T extends ome.model.IEnum> T createEnumeration(T newEnum)
<T extends ome.model.IEnum> List<T> allEnumerations(Class<T> k)
<T extends ome.model.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.
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(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> List<T> getOriginalEnumerations()
T
- The type of the enumeration. Must extend IEnum
RuntimeException
- if xml parsing failure.<T extends ome.model.IEnum> void resetEnumerations(Class<T> klass)
<T extends ome.model.IEnum> List<Class<T>> getEnumerationTypes()
T
- The type of the enumeration. Must extend IEnum
RuntimeException
- if Class not found.<T extends ome.model.IEnum> Map<Class<T>,List<T>> getEnumerationsWithEntries()
T
- The type of the enumeration. Must extend IEnum
RuntimeException
- if xml parsing failure.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Version: Beta4.2.1-r8614-Beta4.2-b41
Copyright © 2009 The University of Dundee. All Rights Reserved.