net.sf.mmm.util.pojo.descriptor.api.accessor
Class PojoPropertyAccessorTwoArgMode
java.lang.Object
net.sf.mmm.util.pojo.descriptor.api.accessor.PojoPropertyAccessorMode<PojoPropertyAccessorTwoArg>
net.sf.mmm.util.pojo.descriptor.api.accessor.PojoPropertyAccessorTwoArgMode
public class PojoPropertyAccessorTwoArgMode
- extends PojoPropertyAccessorMode<PojoPropertyAccessorTwoArg>
An instance of this class represents a specific
accessor-mode for a
two-arg accessor of a
property.
This abstract base class acts like an Enum but allows you to define
your own custom mode by extending this class.
- Since:
- 1.1.0
- Author:
- Joerg Hohwiller (hohwille at users.sourceforge.net)
SET_MAPPED
public static final PojoPropertyAccessorTwoArgMode SET_MAPPED
- The mode for the
setter of a mapped
property. The suggested argument order is key, value.
PojoPropertyAccessorTwoArgMode
protected PojoPropertyAccessorTwoArgMode(String name,
boolean reading)
- The constructor.
- Parameters:
name - is the name of this mode.reading - is a flag that determines if this mode is for
reading.
Copyright © 2001-2010 mmm-Team. All Rights Reserved.