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

java.lang.Object
  extended by 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

Field Summary
private  String countryCode
           
private  int countryId
           
private  String description
           
private static long serialVersionUID
           
 
Constructor Summary
Country(int countryId, String countryCode, String description)
          Full constructor.
 
Method Summary
 String getCountryCode()
           
 int getCountryId()
           
 String getDescription()
           
 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

countryId

private final int countryId

countryCode

private final String countryCode

description

private final String description
Constructor Detail

Country

public Country(int countryId,
               String countryCode,
               String description)
Full constructor.

Parameters:
countryId - The Country id
countryCode - The country code
description - The description
Method Detail

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.

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

Copyright © 2011. All Rights Reserved.