@Entity(name="CountriesElement") public class CountriesElement extends Object implements Serializable, com.hack23.cia.model.common.api.ModelObject, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://countries.worldbank.external.model.cia.hack23.com/impl}country" maxOccurs="unbounded"/> </sequence> <attribute name="page" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" /> <attribute name="pages" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" /> <attribute name="per_page" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" /> <attribute name="total" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected List<CountryElement> |
country |
protected Long |
hjid |
protected BigInteger |
page |
protected BigInteger |
pages |
protected BigInteger |
perPage |
protected BigInteger |
total |
Constructor and Description |
---|
CountriesElement() |
Modifier and Type | Method and Description |
---|---|
StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
boolean |
equals(Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
List<CountryElement> |
getCountry()
Gets the value of the country property.
|
Long |
getHjid()
Gets the value of the hjid property.
|
BigInteger |
getPage()
Gets the value of the page property.
|
BigInteger |
getPages()
Gets the value of the pages property.
|
BigInteger |
getPerPage()
Gets the value of the perPage property.
|
BigInteger |
getTotal()
Gets the value of the total property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setCountry(List<CountryElement> country) |
void |
setHjid(Long value)
Sets the value of the hjid property.
|
void |
setPage(BigInteger value)
Sets the value of the page property.
|
void |
setPages(BigInteger value)
Sets the value of the pages property.
|
void |
setPerPage(BigInteger value)
Sets the value of the perPage property.
|
void |
setTotal(BigInteger value)
Sets the value of the total property.
|
String |
toString() |
CountriesElement |
withCountry(Collection<CountryElement> values) |
CountriesElement |
withCountry(CountryElement... values) |
CountriesElement |
withCountry(List<CountryElement> country) |
CountriesElement |
withPage(BigInteger value) |
CountriesElement |
withPages(BigInteger value) |
CountriesElement |
withPerPage(BigInteger value) |
CountriesElement |
withTotal(BigInteger value) |
protected List<CountryElement> country
protected BigInteger page
protected BigInteger pages
protected BigInteger perPage
protected BigInteger total
protected Long hjid
public List<CountryElement> getCountry()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the country property.
For example, to add a new item, do as follows:
getCountry().add(newItem);
Objects of the following type(s) are allowed in the list
CountryElement
public void setCountry(List<CountryElement> country)
public BigInteger getPage()
BigInteger
public void setPage(BigInteger value)
value
- allowed object is
BigInteger
public BigInteger getPages()
BigInteger
public void setPages(BigInteger value)
value
- allowed object is
BigInteger
public BigInteger getPerPage()
BigInteger
public void setPerPage(BigInteger value)
value
- allowed object is
BigInteger
public BigInteger getTotal()
BigInteger
public void setTotal(BigInteger value)
value
- allowed object is
BigInteger
public CountriesElement withCountry(CountryElement... values)
public CountriesElement withCountry(Collection<CountryElement> values)
public CountriesElement withCountry(List<CountryElement> country)
public CountriesElement withPage(BigInteger value)
public CountriesElement withPages(BigInteger value)
public CountriesElement withPerPage(BigInteger value)
public CountriesElement withTotal(BigInteger value)
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append
in interface org.jvnet.jaxb2_commons.lang.ToString
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields
in interface org.jvnet.jaxb2_commons.lang.ToString
public void setHjid(Long value)
value
- allowed object is
Long
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals
in interface org.jvnet.jaxb2_commons.lang.Equals
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode
in interface org.jvnet.jaxb2_commons.lang.HashCode
Copyright © 2010–2017 www.hack23.com. All rights reserved.