omero.util
Class RTypeMapper

java.lang.Object
  extended by ome.util.ContextFilter
      extended by ome.util.ModelMapper
          extended by omero.util.IceMapper
              extended by omero.util.RTypeMapper
All Implemented Interfaces:
ome.util.Filter, ome.util.ReverseModelMapper

public class RTypeMapper
extends IceMapper

Extension of IceMapper which guarantees that RCollection and RMap instances are properly created.


Nested Class Summary
 
Nested classes/interfaces inherited from class omero.util.IceMapper
IceMapper.ReturnMapping
 
Field Summary
 
Fields inherited from class omero.util.IceMapper
FILTERABLE, FILTERABLE_ARRAY, FILTERABLE_COLLECTION, FILTERABLE_PRIMITIVE_MAP, LISTOBJECTARRAY_TO_RTYPESEQSEQ, OBJECT_TO_RTYPE, OBJECTARRAY_TO_RTYPESEQ, PRIMITIVE, PRIMITIVE_FILTERABLE_COLLECTION_MAP, PRIMITIVE_MAP, RTYPEDICT, STRING_TO_RSTRING, target2model, UNMAPPED, VOID
 
Fields inherited from class ome.util.ModelMapper
model2target
 
Fields inherited from class ome.util.ContextFilter
_cache, _context
 
Constructor Summary
RTypeMapper(IceMapper.ReturnMapping mapping)
           
 
Method Summary
 Object findCollectionTarget(Object current)
           
 Object findKeyTarget(Object current)
           
 
Methods inherited from class omero.util.IceMapper
c2c, canMapReturnValue, convert, convert, convert, convert, convert, convert, convert, convert, convert, convert, convert, convert, convert, fillServerError, filter, findCollection, fromRType, handleException, handleInput, handleOutput, hasntSeen, isImmutable, isNullablePrimitive, isPrimitive, isVoid, isWrapperArray, map, mapReturnValue, omeroClass, reverse, reverse, reverse, reverse, reverse, reverseArray, stackAsString, store, toRType
 
Methods inherited from class ome.util.ModelMapper
event2timestamp, filter, filter, findClass, findMap, findTarget, map, map, map, nullSafeDouble, nullSafeFloat, nullSafeInt, nullSafeLong
 
Methods inherited from class ome.util.ContextFilter
addSeen, afterFilter, beforeFilter, currentContext, doFilter, doFilter, doFilter, enter, exit, filter, filter, pop, previousContext, push
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RTypeMapper

public RTypeMapper(IceMapper.ReturnMapping mapping)
Method Detail

findKeyTarget

public Object findKeyTarget(Object current)
Overrides:
findKeyTarget in class ome.util.ModelMapper

findCollectionTarget

public Object findCollectionTarget(Object current)
Overrides:
findCollectionTarget in class ome.util.ModelMapper


OmeroJava Api

Version: 4.3.4-dbcbce5a-b4

Copyright © 2009 The University of Dundee. All Rights Reserved.