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

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

public class ClientTestPojo
extends Object
implements Serializable

A simple graph POJO for testing

A simple graph DTO is considered a POJO with primitive type properties (e.g. there are no relationships with other POJOs

Author:
mtedone
See Also:
Serialized Form

Field Summary
private  AddressTestPojo address
          This Client Address
private  List<BankAccountTestPojo> bankAccounts
          This Client bank accounts
private  Calendar dateCreated
          The date this client was created
private  Calendar dateLastUpdated
          The date this client was last updated
private  String firstName
          The client's first name
private  String lastName
          The client's last name
private static long serialVersionUID
           
 
Constructor Summary
ClientTestPojo()
          No-arg constructor
 
Method Summary
 boolean equals(Object obj)
           
 AddressTestPojo getAddress()
           
 List<BankAccountTestPojo> getBankAccounts()
           
 Calendar getDateCreated()
           
 Calendar getDateLastUpdated()
           
 String getFirstName()
           
 String getLastName()
           
 int hashCode()
           
 String toString()
          Constructs a String with all attributes in name = value format.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

firstName

private String firstName
The client's first name


lastName

private String lastName
The client's last name


dateCreated

private Calendar dateCreated
The date this client was created


dateLastUpdated

private Calendar dateLastUpdated
The date this client was last updated


address

private AddressTestPojo address
This Client Address


bankAccounts

private final List<BankAccountTestPojo> bankAccounts
This Client bank accounts

Constructor Detail

ClientTestPojo

public ClientTestPojo()
No-arg constructor

Method Detail

getFirstName

public String getFirstName()

getLastName

public String getLastName()

getDateCreated

public Calendar getDateCreated()

getDateLastUpdated

public Calendar getDateLastUpdated()

getAddress

public AddressTestPojo getAddress()

getBankAccounts

public List<BankAccountTestPojo> getBankAccounts()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

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.