org.jboss.portal.common.util
Class ParameterMap.AccessMode

java.lang.Object
  extended by org.jboss.portal.common.util.ParameterMap.AccessMode
Enclosing class:
ParameterMap

public static class ParameterMap.AccessMode
extends java.lang.Object

Defines how the state of the values of a parameter map are managed.


Method Summary
static ParameterMap.AccessMode get(boolean copyValueOnRead, boolean copyValueOnWrite)
          Factory method for an access mode.
 boolean getCopyValueOnRead()
           
 boolean getCopyValueOnWrite()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

get

public static ParameterMap.AccessMode get(boolean copyValueOnRead,
                                          boolean copyValueOnWrite)
Factory method for an access mode.

Parameters:
copyValueOnRead - if true the value will be copied on a read
copyValueOnWrite - if true the value will be copied on a write
Returns:
the convenient access mode

getCopyValueOnRead

public boolean getCopyValueOnRead()

getCopyValueOnWrite

public boolean getCopyValueOnWrite()


Copyright © 2008. All Rights Reserved.