|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.cloudcontrolled.api.model.AbstractModel
com.cloudcontrolled.api.model.Country
public class Country
The country object contains the country code and the name of the concerning country.
| 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 |
|---|
public Country()
Constructor for Country.
| Method Detail |
|---|
public String getName()
Getter for the field name.
public void setName(String name)
Setter for the field name.
name - the name to setpublic String getCode()
Getter for the field code.
public void setCode(String code)
Setter for the field code.
code - the country code to setpublic boolean isIs_eu()
isIs_eu.
public void setIs_eu(boolean is_eu)
Setter for the field is_eu.
is_eu - the boolean value which specifies whether the country is
whithin the EU to setpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||