uk.co.jemos.podam.test.dto.docs.example
Class Article

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

public class Article
extends Object
implements Serializable

Author:
mtedone
See Also:
Serialized Form

Field Summary
private  String description
           
private  int id
           
private  Double itemCost
           
private static long serialVersionUID
           
 
Constructor Summary
Article(int id, String description, Double itemCost)
          Full constructor.
 
Method Summary
 String getDescription()
           
 int getId()
           
 Double getItemCost()
           
 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

id

private final int id

description

private final String description

itemCost

private final Double itemCost
Constructor Detail

Article

public Article(int id,
               String description,
               Double itemCost)
Full constructor.

Parameters:
id - The article id
description - The article description
itemCost - The item cost
Method Detail

getId

public int getId()
Returns:
the id

getDescription

public String getDescription()
Returns:
the description

getItemCost

public Double getItemCost()
Returns:
the itemCost

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.