|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectome.formats.model.BlitzInstanceProvider
public class BlitzInstanceProvider
An instance provider which uses reflection to fulfill the contract of an InstanceProvider. Its main feature is the delegation of class specific logic to handlers. OME data model enumeration not-null constraints, for example.
Constructor Summary | |
---|---|
BlitzInstanceProvider(EnumerationProvider enumProvider)
Default constructor. |
Method Summary | ||
---|---|---|
|
getInstance(Class<T> klass)
Retrieves an instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BlitzInstanceProvider(EnumerationProvider enumProvider)
enumProvider
- Enumeration provider we are to use.Method Detail |
---|
public <T extends omero.model.IObject> T getInstance(Class<T> klass) throws ModelException
InstanceProvider
getInstance
in interface InstanceProvider
klass
- Instance's base class from omero.model
.
klass
.
ModelException
- If there is an error retrieving the instance.
|
||||||||||
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.