net.sf.mmm.util.pojo.descriptor.api.accessor
Class PojoPropertyAccessorTwoArgMode

java.lang.Object
  extended by net.sf.mmm.util.pojo.descriptor.api.accessor.PojoPropertyAccessorMode<PojoPropertyAccessorTwoArg>
      extended by 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)

Field Summary
static PojoPropertyAccessorTwoArgMode SET_MAPPED
          The mode for the setter of a mapped property.
 
Constructor Summary
protected PojoPropertyAccessorTwoArgMode(String name, boolean reading)
          The constructor.
 
Method Summary
 
Methods inherited from class net.sf.mmm.util.pojo.descriptor.api.accessor.PojoPropertyAccessorMode
getName, isReading, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SET_MAPPED

public static final PojoPropertyAccessorTwoArgMode SET_MAPPED
The mode for the setter of a mapped property. The suggested argument order is key, value.

Constructor Detail

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.