uk.co.jemos.podam.test.dto
Class RecursivePojo

java.lang.Object
  extended by uk.co.jemos.podam.test.dto.RecursivePojo
All Implemented Interfaces:
Serializable

public class RecursivePojo
extends Object
implements Serializable

POJO to test a recursive hierarchy, like the one between parent and child

Author:
mtedone
See Also:
Serialized Form

Field Summary
private  int intField
          An int field
private  RecursivePojo parent
          An instance to itself in a hierarchical structure
private static long serialVersionUID
           
 
Constructor Summary
RecursivePojo()
          No-args constructor
 
Method Summary
 int getIntField()
           
 RecursivePojo getParent()
           
 void setIntField(int intField)
           
 void setParent(RecursivePojo parent)
           
 String toString()
          Constructs a String with all attributes in name = value format.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

intField

private int intField
An int field


parent

private RecursivePojo parent
An instance to itself in a hierarchical structure

Constructor Detail

RecursivePojo

public RecursivePojo()
No-args constructor

Method Detail

getIntField

public int getIntField()
Returns:
the intField

setIntField

public void setIntField(int intField)
Parameters:
intField - the intField to set

getParent

public RecursivePojo getParent()
Returns:
the parent

setParent

public void setParent(RecursivePojo parent)
Parameters:
parent - the parent to set

toString

public String toString()
Constructs a String with all attributes in name = value format.

Overrides:
toString in class Object
Returns:
a String representation of this object.

Jemos 2002 - 2011: All Rights Reserved. Podam runs under the MIT license

Copyright © 2011. All Rights Reserved.