Package spring.soap
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
-
Constructor Summary
-
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.int
Gets the value of the population property.void
setCapital
(String value) Sets the value of the capital property.void
setCurrency
(Currency value) Sets the value of the currency property.void
Sets the value of the name property.void
setPopulation
(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
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Parameters:
value
- allowed object isString
-
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
Gets the value of the capital property.- Returns:
- possible object is
String
-
setCapital
Sets the value of the capital property.- Parameters:
value
- allowed object isString
-
getCurrency
Gets the value of the currency property.- Returns:
- possible object is
Currency
-
setCurrency
Sets the value of the currency property.- Parameters:
value
- allowed object isCurrency
-