Class Country
java.lang.Object
spring.soap.Country
Java class for country complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="country">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="population" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="capital" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="currency" type="{http://www.baeldung.com/springsoap/gen}currency"/>
</sequence>
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the capital property.Gets the value of the currency property.getName()Gets the value of the name property.intGets the value of the population property.voidsetCapital(String value) Sets the value of the capital property.voidsetCurrency(Currency value) Sets the value of the currency property.voidSets the value of the name property.voidsetPopulation(int value) Sets the value of the population property.
-
Field Details
-
name
-
population
protected int population -
capital
-
currency
-
-
Constructor Details
-
Country
public Country()
-
-
Method Details
-
getName
-
setName
-
getPopulation
public int getPopulation()Gets the value of the population property. -
setPopulation
public void setPopulation(int value) Sets the value of the population property. -
getCapital
-
setCapital
-
getCurrency
-
setCurrency
-