org.apache.openjpa.persistence
Class PersistenceMetaDataDefaults.SetterFilter

java.lang.Object
  extended by org.apache.openjpa.persistence.PersistenceMetaDataDefaults.SetterFilter
Enclosing class:
PersistenceMetaDataDefaults

static class PersistenceMetaDataDefaults.SetterFilter
extends Object

Selects setter method. A setter method name starts with 'set', returns a void and has single argument.


Constructor Summary
PersistenceMetaDataDefaults.SetterFilter()
           
 
Method Summary
 boolean includes(Method method)
          Return true to include the given element.
static boolean isSetter(Method method)
          Affirms if the given method matches the following signature public void setXXX(T t)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersistenceMetaDataDefaults.SetterFilter

PersistenceMetaDataDefaults.SetterFilter()
Method Detail

includes

public boolean includes(Method method)
Return true to include the given element.


isSetter

public static boolean isSetter(Method method)
Affirms if the given method matches the following signature public void setXXX(T t)



Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.