/**
 * 
 */
package uk.co.jemos.podam.test.dto;

import java.util.Calendar;

import uk.co.jemos.podam.common.PodamIntValue;

/**
 * Abstract POJO to test inheritance.
 * 
 * @author mtedone
 * 
 */
public abstract class AbstractOneDimensionalPojo {

	// ------------------->> Constants

	// ------------------->> Instance / Static variables

	/** An int field */
	@PodamIntValue(maxValue = 10)
	private int parentIntField;

	/** An object field */
	private Calendar parentCalendarField;

	// ------------------->> Constructors

	// ------------------->> Public methods

	// ------------------->> Getters / Setters

	/**
	 * @return the parentIntField
	 */
	public int getParentIntField() {
		return parentIntField;
	}

	/**
	 * @param parentIntField
	 *            the parentIntField to set
	 */
	protected void setParentIntField(int parentIntField) {
		this.parentIntField = parentIntField;
	}

	/**
	 * @return the parentCalendarField
	 */
	public Calendar getParentCalendarField() {
		return parentCalendarField;
	}

	/**
	 * @param parentCalendarField
	 *            the parentCalendarField to set
	 */
	protected void setParentCalendarField(Calendar parentCalendarField) {
		this.parentCalendarField = parentCalendarField;
	}

	// ------------------->> Private methods

	// ------------------->> equals() / hashcode() / toString()

	/**
	 * Constructs a <code>String</code> with all attributes in name = value
	 * format.
	 * 
	 * @return a <code>String</code> representation of this object.
	 */
	@Override
	public String toString() {
		final String TAB = "    ";

		StringBuilder retValue = new StringBuilder();

		retValue.append("AbstractOneDimensionalPojo ( ")
				.append("parentIntField = ").append(parentIntField).append(TAB)
				.append("parentCalendarField = ")
				.append(parentCalendarField.getTime()).append(TAB).append(" )");

		return retValue.toString();
	}

	// ------------------->> Inner classes

}

/**
 * 
 */
package uk.co.jemos.podam.test.dto;

import java.util.Calendar;

import uk.co.jemos.podam.common.PodamIntValue;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;

import org.junit.Before;
import org.junit.Test;

/**
 * Abstract POJO to test inheritance.
 * 
 * @author mtedone
 * 
 */
public abstract class AbstractOneDimensionalPojo {

	// ------------------->> Constants

	// ------------------->> Instance / Static variables

	/** An int field */
	@PodamIntValue(maxValue = 10)
	private int parentIntField;

	/** An object field */
	private Calendar parentCalendarField;

	// ------------------->> Constructors

	// ------------------->> Public methods

	// ------------------->> Getters / Setters

	/**
	 * @return the parentIntField
	 */
	public int getParentIntField() {
		return parentIntField;
	}

	/**
	 * @param parentIntField
	 *            the parentIntField to set
	 */
	protected void setParentIntField(int parentIntField) {
		this.parentIntField = parentIntField;
	}

	/**
	 * @return the parentCalendarField
	 */
	public Calendar getParentCalendarField() {
		return parentCalendarField;
	}

	/**
	 * @param parentCalendarField
	 *            the parentCalendarField to set
	 */
	protected void setParentCalendarField(Calendar parentCalendarField) {
		this.parentCalendarField = parentCalendarField;
	}

	// ------------------->> Private methods

	// ------------------->> equals() / hashcode() / toString()

	/**
	 * Constructs a <code>String</code> with all attributes in name = value
	 * format.
	 * 
	 * @return a <code>String</code> representation of this object.
	 */
	@Override
	public String toString() {
		final String TAB = "    ";

		StringBuilder retValue = new StringBuilder();

		retValue.append("AbstractOneDimensionalPojo ( ")
				.append("parentIntField = ").append(parentIntField).append(TAB)
				.append("parentCalendarField = ")
				.append(parentCalendarField.getTime()).append(TAB).append(" )");

		return retValue.toString();
	}

	// ------------------->> Inner classes

}

Update AbstractOneDimensionalPojo.java