|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hack23.cia.model.external.worldbank.data.impl.DataElement
@Entity(name="DataElement") public class DataElement
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 name="data" maxOccurs="unbounded" form="qualified"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence minOccurs="0"> <element name="indicator" form="qualified"> <complexType> <simpleContent> <extension base="<http://www.w3.org/2001/XMLSchema>NCName"> <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> </extension> </simpleContent> </complexType> </element> <element name="country" form="qualified"> <complexType> <simpleContent> <extension base="<http://www.w3.org/2001/XMLSchema>NCName"> <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> </extension> </simpleContent> </complexType> </element> <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" form="qualified"/> <element name="date" type="{http://www.w3.org/2001/XMLSchema}int" form="qualified"/> </sequence> </restriction> </complexContent> </complexType> </element> </sequence> <attribute name="page" type="{http://www.w3.org/2001/XMLSchema}integer" /> <attribute name="pages" type="{http://www.w3.org/2001/XMLSchema}integer" /> <attribute name="per_page" type="{http://www.w3.org/2001/XMLSchema}integer" /> <attribute name="total" type="{http://www.w3.org/2001/XMLSchema}integer" /> </restriction> </complexContent> </complexType>
Field Summary | |
---|---|
protected List<Data> |
data
|
protected Long |
hjid
|
protected BigInteger |
page
|
protected BigInteger |
pages
|
protected BigInteger |
perPage
|
protected BigInteger |
total
|
Constructor Summary | |
---|---|
DataElement()
|
Method Summary | |
---|---|
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<Data> |
getData()
Gets the value of the data 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 |
setData(List<Data> data)
|
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. |
DataElement |
withData(Collection<Data> values)
|
DataElement |
withData(Data... values)
|
DataElement |
withData(List<Data> data)
|
DataElement |
withPage(BigInteger value)
|
DataElement |
withPages(BigInteger value)
|
DataElement |
withPerPage(BigInteger value)
|
DataElement |
withTotal(BigInteger value)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected List<Data> data
protected BigInteger page
protected BigInteger pages
protected BigInteger perPage
protected BigInteger total
protected Long hjid
Constructor Detail |
---|
public DataElement()
Method Detail |
---|
public List<Data> getData()
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 data property.
For example, to add a new item, do as follows:
getData().add(newItem);
Objects of the following type(s) are allowed in the list
Data
public void setData(List<Data> data)
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 DataElement withData(Data... values)
public DataElement withData(Collection<Data> values)
public DataElement withData(List<Data> data)
public DataElement withPage(BigInteger value)
public DataElement withPages(BigInteger value)
public DataElement withPerPage(BigInteger value)
public DataElement withTotal(BigInteger value)
public Long getHjid()
Long
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 boolean equals(Object object)
equals
in class Object
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
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |