org.vraptor.reflection
Interface SetDealer

All Known Implementing Classes:
ArrayDealer, CollectionDealer

public interface SetDealer

A generic set dealer.

Author:
Guilherme Silveira

Method Summary
 Object getPosition(Object object, int arrayPosition, boolean mayCreate)
           
 Class getType(Type type)
           
 Object resizeAndSet(Object object, int position, boolean mayCreate, Type type)
          Resizes if needed (per one) and sets the object
 Object resizeAndSet(Object component, int arrayPosition, Object value)
           
 

Method Detail

resizeAndSet

Object resizeAndSet(Object object,
                    int position,
                    boolean mayCreate,
                    Type type)
                    throws SettingException
Resizes if needed (per one) and sets the object

Throws:
SettingException

getPosition

Object getPosition(Object object,
                   int arrayPosition,
                   boolean mayCreate)
                   throws SettingException
Throws:
SettingException

resizeAndSet

Object resizeAndSet(Object component,
                    int arrayPosition,
                    Object value)
                    throws SettingException
Throws:
SettingException

getType

Class getType(Type type)


Copyright © 2004-2008 VRaptor. All Rights Reserved.