uk.co.jemos.podam.test.dto.docs.example
Class Article
java.lang.Object
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
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
Article
public Article(int id,
String description,
Double itemCost)
- Full constructor.
- Parameters:
id
- The article iddescription
- The article descriptionitemCost
- The item cost
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.
Copyright © 2011. All Rights Reserved.