org.kuali.common.util.nullify
Class DefaultBeanNullifier

java.lang.Object
  extended by org.kuali.common.util.nullify.DefaultBeanNullifier
All Implemented Interfaces:
Nullify

public class DefaultBeanNullifier
extends Object
implements Nullify


Constructor Summary
DefaultBeanNullifier()
           
 
Method Summary
 Object getBean()
           
 List<String> getNullTokens()
           
 List<String> getProperties()
           
protected  Object getProperty(Object bean, String property)
           
 boolean isCaseSensitive()
           
protected  boolean isNullify(Object value, List<String> nullTokens, boolean caseSensitive)
           
 void nullify()
           
 void setBean(Object bean)
           
 void setCaseSensitive(boolean caseSensitive)
           
 void setNullTokens(List<String> nullTokens)
           
 void setProperties(List<String> properties)
           
protected  void setProperty(Object bean, String property, Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultBeanNullifier

public DefaultBeanNullifier()
Method Detail

nullify

public void nullify()
Specified by:
nullify in interface Nullify

isNullify

protected boolean isNullify(Object value,
                            List<String> nullTokens,
                            boolean caseSensitive)

setProperty

protected void setProperty(Object bean,
                           String property,
                           Object value)

getProperty

protected Object getProperty(Object bean,
                             String property)

getBean

public Object getBean()

setBean

public void setBean(Object bean)

getProperties

public List<String> getProperties()

setProperties

public void setProperties(List<String> properties)

getNullTokens

public List<String> getNullTokens()

setNullTokens

public void setNullTokens(List<String> nullTokens)

isCaseSensitive

public boolean isCaseSensitive()

setCaseSensitive

public void setCaseSensitive(boolean caseSensitive)


Copyright © 2010-2013 The Kuali Foundation. All Rights Reserved.