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

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

public class NoSetterWithCollectionInConstructorPojo
extends Object
implements Serializable

A Pojo to test constructors with collections as arguments

Author:
mtedone
See Also:
Serialized Form

Field Summary
private  int intField
          An int field
private static long serialVersionUID
           
private  List<String> strList
          A list of strings
 
Constructor Summary
NoSetterWithCollectionInConstructorPojo(List<String> strList, int intField)
          Full constructor
 
Method Summary
 int getIntField()
           
 List<String> getStrList()
           
 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

strList

private final List<String> strList
A list of strings


intField

private final int intField
An int field

Constructor Detail

NoSetterWithCollectionInConstructorPojo

public NoSetterWithCollectionInConstructorPojo(List<String> strList,
                                               int intField)
Full constructor

Parameters:
strList - A list of Strings
intField - An int field
Method Detail

getStrList

public List<String> getStrList()
Returns:
the strList

getIntField

public int getIntField()
Returns:
the intField

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.