org.apache.commons.betwixt.strategy
Class PropertySuppressionStrategy.Default
java.lang.Object
org.apache.commons.betwixt.strategy.PropertySuppressionStrategy
org.apache.commons.betwixt.strategy.PropertySuppressionStrategy.Default
- Enclosing class:
- PropertySuppressionStrategy
public static class PropertySuppressionStrategy.Default
- extends PropertySuppressionStrategy
Default implementation.
- See Also:
PropertySuppressionStrategy.DEFAULT
PropertySuppressionStrategy.Default
public PropertySuppressionStrategy.Default()
suppressProperty
public boolean suppressProperty(Class clazz,
Class propertyType,
String propertyName)
- Description copied from class:
PropertySuppressionStrategy
- Should the given property be suppressed?
- Specified by:
suppressProperty
in class PropertySuppressionStrategy
- Parameters:
clazz
- Class
giving the type of the bean containing the property propertyName
propertyType
- Class
giving the type of the property, not nullpropertyName
- the name of the property, not null
- Returns:
- true when the given property should be suppressed
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2002-2010 Apache Software Foundation. All Rights Reserved.