com.cloudcontrolled.api.model
Class Country

java.lang.Object
  extended by com.cloudcontrolled.api.model.AbstractModel
      extended by com.cloudcontrolled.api.model.Country

public class Country
extends AbstractModel

The country object contains the country code and the name of the concerning country.

Author:
Denis Neuling (denisneuling@gmail.com)

Constructor Summary
Country()
           Constructor for Country.
 
Method Summary
 String getCode()
           Getter for the field code.
 String getName()
           Getter for the field name.
 boolean isIs_eu()
           isIs_eu.
 void setCode(String code)
           Setter for the field code.
 void setIs_eu(boolean is_eu)
           Setter for the field is_eu.
 void setName(String name)
           Setter for the field name.
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Country

public Country()

Constructor for Country.

Method Detail

getName

public String getName()

Getter for the field name.

Returns:
name the name of the country

setName

public void setName(String name)

Setter for the field name.

Parameters:
name - the name to set

getCode

public String getCode()

Getter for the field code.

Returns:
code the country code

setCode

public void setCode(String code)

Setter for the field code.

Parameters:
code - the country code to set

isIs_eu

public boolean isIs_eu()

isIs_eu.

Returns:
isEU the boolean value which specifies if the country is whithin the EU

setIs_eu

public void setIs_eu(boolean is_eu)

Setter for the field is_eu.

Parameters:
is_eu - the boolean value which specifies whether the country is whithin the EU to set

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.