org.apache.commons.betwixt.strategy
Class PropertySuppressionStrategy.Default

java.lang.Object
  extended by org.apache.commons.betwixt.strategy.PropertySuppressionStrategy
      extended by org.apache.commons.betwixt.strategy.PropertySuppressionStrategy.Default
Enclosing class:
PropertySuppressionStrategy

public static class PropertySuppressionStrategy.Default
extends PropertySuppressionStrategy

Default implementation.

See Also:
PropertySuppressionStrategy.DEFAULT

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.commons.betwixt.strategy.PropertySuppressionStrategy
PropertySuppressionStrategy.Chain, PropertySuppressionStrategy.Default
 
Field Summary
 
Fields inherited from class org.apache.commons.betwixt.strategy.PropertySuppressionStrategy
DEFAULT
 
Constructor Summary
PropertySuppressionStrategy.Default()
           
 
Method Summary
 boolean suppressProperty(java.lang.Class clazz, java.lang.Class propertyType, java.lang.String propertyName)
          Should the given property be suppressed?
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertySuppressionStrategy.Default

public PropertySuppressionStrategy.Default()
Method Detail

suppressProperty

public boolean suppressProperty(java.lang.Class clazz,
                                java.lang.Class propertyType,
                                java.lang.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 null
propertyName - the name of the property, not null
Returns:
true when the given property should be suppressed

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright 2002-2008 The Apache Software Foundation. All Rights Reserved.