edu.internet2.middleware.grouperClientExt.org.apache.commons.jexl.util
Class BooleanPropertyExecutor

java.lang.Object
  extended by edu.internet2.middleware.grouperClientExt.org.apache.commons.jexl.util.AbstractExecutor
      extended by edu.internet2.middleware.grouperClientExt.org.apache.commons.jexl.util.PropertyExecutor
          extended by edu.internet2.middleware.grouperClientExt.org.apache.commons.jexl.util.BooleanPropertyExecutor

public class BooleanPropertyExecutor
extends PropertyExecutor

Handles discovery and valuation of a boolean object property, of the form public boolean is<Property> when executed. We do this separately as to preserve the current quasi-broken semantics of get <as is property> get<flip 1st char> get("property") and now followed by is<Property>.

Since:
1.0
Version:
$Id: BooleanPropertyExecutor.java,v 1.1 2008-11-30 10:57:26 mchyzer Exp $
Author:
Geir Magnusson Jr.

Field Summary
 
Fields inherited from class edu.internet2.middleware.grouperClientExt.org.apache.commons.jexl.util.PropertyExecutor
introspector, methodUsed
 
Fields inherited from class edu.internet2.middleware.grouperClientExt.org.apache.commons.jexl.util.AbstractExecutor
method, rlog
 
Constructor Summary
BooleanPropertyExecutor(Log rlog, Introspector is, Class clazz, String property)
          Constructor.
 
Method Summary
protected  void discover(Class clazz, String property)
          Locate the getter method for this boolean property.
 
Methods inherited from class edu.internet2.middleware.grouperClientExt.org.apache.commons.jexl.util.PropertyExecutor
execute
 
Methods inherited from class edu.internet2.middleware.grouperClientExt.org.apache.commons.jexl.util.AbstractExecutor
getMethod, isAlive
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooleanPropertyExecutor

public BooleanPropertyExecutor(Log rlog,
                               Introspector is,
                               Class clazz,
                               String property)
Constructor.

Parameters:
rlog - The instance log.
is - The JEXL introspector.
clazz - The class being analyzed.
property - The boolean property.
Method Detail

discover

protected void discover(Class clazz,
                        String property)
Locate the getter method for this boolean property.

Overrides:
discover in class PropertyExecutor
Parameters:
clazz - The class being analyzed.
property - Name of boolean property.


Copyright © 2010 Internet2. All Rights Reserved.