uk.co.jemos.podam.test.dto.docs.example
Class Country
java.lang.Object
uk.co.jemos.podam.test.dto.docs.example.Country
- All Implemented Interfaces:
- Serializable
public class Country
- extends Object
- implements Serializable
A Country domain Model Object
- Author:
- mtedone
- See Also:
- Serialized Form
Constructor Summary |
Country(int countryId,
String countryCode,
String description)
Full constructor. |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
countryId
private final int countryId
countryCode
private final String countryCode
description
private final String description
Country
public Country(int countryId,
String countryCode,
String description)
- Full constructor.
- Parameters:
countryId
- The Country idcountryCode
- The country codedescription
- The description
getCountryId
public int getCountryId()
- Returns:
- the countryId
getCountryCode
public String getCountryCode()
- Returns:
- the countryCode
getDescription
public String getDescription()
- Returns:
- the description
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.