/**
 * 
 */
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

}

@@ -124,16 +124,157 @@
 tValue;%0D
+%0Aimport static org.junit.Assert.assertFalse;%0D%0Aimport static org.junit.Assert.assertTrue;%0D%0A%0D%0Aimport org.junit.Before;%0D%0Aimport org.junit.Test;%0D
 %0A%0D%0A/**%0D%0A

Update AbstractOneDimensionalPojo.java