@Override
        public boolean equals(Object obj)
        {
            if (this == obj)
                return true;
            if (obj == null)
                return false;
            if (getClass() != obj.getClass())
                return false;
            Payment other = (Payment) obj;
            if (bd == null)
            {
                if (other.bd != null)
                    return false;
            }
            else if (!bd.equals(other.bd))
                return false;
            if (bdList == null)
            {
                if (other.bdList != null)
                    return false;
            }
            else if (!bdList.equals(other.bdList))
                return false;
            if (bi == null)
            {
                if (other.bi != null)
                    return false;
            }
            else if (!bi.equals(other.bi))
                return false;
            if (biList == null)
            {
                if (other.biList != null)
                    return false;
            }
            else if (!biList.equals(other.biList))
                return false;
            if (id != other.id)
                return false;
            return true;
        }
@param biList
           the biList to set
protostuff-runtime/src/test/java/io/protostuff/runtime/MathObjectsTest.java