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

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

@Immutable
public class ImmutableNonAnnotatedPojo
extends Object
implements Serializable

This is an immutable POJO which is not annotated with PodamConstructor hasn't got setters

PODAM should not be able to build an instance of this class and the returned value from the factory method should be null.

Author:
mtedone
See Also:
Serialized Form

Field Summary
private  Calendar dateCreated
          A Calendar field
private  int intField
          An int field
private  long[] longArray
          An array of longs
private static long serialVersionUID
           
 
Constructor Summary
ImmutableNonAnnotatedPojo(int intField, Calendar dateCreated, long[] longArray)
          Full constructor
 
Method Summary
 Calendar getDateCreated()
           
 int getIntField()
           
 long[] getLongArray()
           
 String toString()
           
 
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 final int intField
An int field


dateCreated

private final Calendar dateCreated
A Calendar field


longArray

private final long[] longArray
An array of longs

Constructor Detail

ImmutableNonAnnotatedPojo

public ImmutableNonAnnotatedPojo(int intField,
                                 Calendar dateCreated,
                                 long[] longArray)
Full constructor

Parameters:
intField -
dateCreated -
longArray -
Method Detail

getIntField

public int getIntField()
Returns:
the intField

getDateCreated

public Calendar getDateCreated()
Returns:
the dateCreated

getLongArray

public long[] getLongArray()
Returns:
the longArray

toString

public String toString()
Overrides:
toString in class Object

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

Copyright © 2011. All Rights Reserved.