net.sf.oness.common.model.bo
Class ExceptionSafeEqualsBuilder

java.lang.Object
  extended byorg.apache.commons.lang.builder.EqualsBuilder
      extended bynet.sf.oness.common.model.bo.ExceptionSafeEqualsBuilder

public class ExceptionSafeEqualsBuilder
extends org.apache.commons.lang.builder.EqualsBuilder

Customized EqualsBuilder ignoring fields that can't be accessed. Note that this behaviour can hide errors when testing. Only append(Object, Object) was modified.

Version:
$Revision: 1.2 $
Author:
Carlos Sanchez, Steve Downey , Stephen Colebourne, Gary Gregory, Pete Gieser
See Also:
EqualsBuilder

Constructor Summary
ExceptionSafeEqualsBuilder()
           
 
Method Summary
 org.apache.commons.lang.builder.EqualsBuilder append(boolean[] lhs, boolean[] rhs)
           
 org.apache.commons.lang.builder.EqualsBuilder append(boolean lhs, boolean rhs)
           
 org.apache.commons.lang.builder.EqualsBuilder append(byte[] lhs, byte[] rhs)
           
 org.apache.commons.lang.builder.EqualsBuilder append(byte lhs, byte rhs)
           
 org.apache.commons.lang.builder.EqualsBuilder append(char[] lhs, char[] rhs)
           
 org.apache.commons.lang.builder.EqualsBuilder append(char lhs, char rhs)
           
 org.apache.commons.lang.builder.EqualsBuilder append(double[] lhs, double[] rhs)
           
 org.apache.commons.lang.builder.EqualsBuilder append(double lhs, double rhs)
           
 org.apache.commons.lang.builder.EqualsBuilder append(float[] lhs, float[] rhs)
           
 org.apache.commons.lang.builder.EqualsBuilder append(float lhs, float rhs)
           
 org.apache.commons.lang.builder.EqualsBuilder append(int[] lhs, int[] rhs)
           
 org.apache.commons.lang.builder.EqualsBuilder append(int lhs, int rhs)
           
 org.apache.commons.lang.builder.EqualsBuilder append(long[] lhs, long[] rhs)
           
 org.apache.commons.lang.builder.EqualsBuilder append(long lhs, long rhs)
           
 org.apache.commons.lang.builder.EqualsBuilder append(java.lang.Object[] lhs, java.lang.Object[] rhs)
           
 org.apache.commons.lang.builder.EqualsBuilder append(java.lang.Object lhs, java.lang.Object rhs)
           
 org.apache.commons.lang.builder.EqualsBuilder append(short[] lhs, short[] rhs)
           
 org.apache.commons.lang.builder.EqualsBuilder append(short lhs, short rhs)
           
 org.apache.commons.lang.builder.EqualsBuilder appendSuper(boolean superEquals)
           
 boolean isEquals()
           
static boolean reflectionEquals(java.lang.Object lhs, java.lang.Object rhs)
           
static boolean reflectionEquals(java.lang.Object lhs, java.lang.Object rhs, boolean testTransients)
           
static boolean reflectionEquals(java.lang.Object lhs, java.lang.Object rhs, boolean testTransients, java.lang.Class reflectUpToClass)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionSafeEqualsBuilder

public ExceptionSafeEqualsBuilder()
Method Detail

reflectionEquals

public static boolean reflectionEquals(java.lang.Object lhs,
                                       java.lang.Object rhs)

reflectionEquals

public static boolean reflectionEquals(java.lang.Object lhs,
                                       java.lang.Object rhs,
                                       boolean testTransients)

reflectionEquals

public static boolean reflectionEquals(java.lang.Object lhs,
                                       java.lang.Object rhs,
                                       boolean testTransients,
                                       java.lang.Class reflectUpToClass)

appendSuper

public org.apache.commons.lang.builder.EqualsBuilder appendSuper(boolean superEquals)

append

public org.apache.commons.lang.builder.EqualsBuilder append(java.lang.Object lhs,
                                                            java.lang.Object rhs)

append

public org.apache.commons.lang.builder.EqualsBuilder append(long lhs,
                                                            long rhs)

append

public org.apache.commons.lang.builder.EqualsBuilder append(int lhs,
                                                            int rhs)

append

public org.apache.commons.lang.builder.EqualsBuilder append(short lhs,
                                                            short rhs)

append

public org.apache.commons.lang.builder.EqualsBuilder append(char lhs,
                                                            char rhs)

append

public org.apache.commons.lang.builder.EqualsBuilder append(byte lhs,
                                                            byte rhs)

append

public org.apache.commons.lang.builder.EqualsBuilder append(double lhs,
                                                            double rhs)

append

public org.apache.commons.lang.builder.EqualsBuilder append(float lhs,
                                                            float rhs)

append

public org.apache.commons.lang.builder.EqualsBuilder append(boolean lhs,
                                                            boolean rhs)

append

public org.apache.commons.lang.builder.EqualsBuilder append(java.lang.Object[] lhs,
                                                            java.lang.Object[] rhs)

append

public org.apache.commons.lang.builder.EqualsBuilder append(long[] lhs,
                                                            long[] rhs)

append

public org.apache.commons.lang.builder.EqualsBuilder append(int[] lhs,
                                                            int[] rhs)

append

public org.apache.commons.lang.builder.EqualsBuilder append(short[] lhs,
                                                            short[] rhs)

append

public org.apache.commons.lang.builder.EqualsBuilder append(char[] lhs,
                                                            char[] rhs)

append

public org.apache.commons.lang.builder.EqualsBuilder append(byte[] lhs,
                                                            byte[] rhs)

append

public org.apache.commons.lang.builder.EqualsBuilder append(double[] lhs,
                                                            double[] rhs)

append

public org.apache.commons.lang.builder.EqualsBuilder append(float[] lhs,
                                                            float[] rhs)

append

public org.apache.commons.lang.builder.EqualsBuilder append(boolean[] lhs,
                                                            boolean[] rhs)

isEquals

public boolean isEquals()


Copyright © 2003-2005 ONess Project. All Rights Reserved.