Class DataElement
- java.lang.Object
-
- com.hack23.cia.model.external.worldbank.data.impl.DataElement
-
- All Implemented Interfaces:
com.hack23.cia.model.common.api.ModelObject
,java.io.Serializable
@Entity(name="DataElement") public class DataElement extends java.lang.Object implements com.hack23.cia.model.common.api.ModelObject
The Class DataElement.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<WorldBankData>
data
The data.protected java.lang.Long
hjid
The hjid.protected java.math.BigInteger
page
The page.protected java.math.BigInteger
pages
The pages.protected java.math.BigInteger
perPage
The per page.protected java.math.BigInteger
total
The total.
-
Constructor Summary
Constructors Constructor Description DataElement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.util.List<WorldBankData>
getData()
Gets the data.java.lang.Long
getHjid()
Gets the hjid.java.math.BigInteger
getPage()
Gets the page.java.math.BigInteger
getPages()
Gets the pages.java.math.BigInteger
getPerPage()
Gets the per page.java.math.BigInteger
getTotal()
Gets the total.int
hashCode()
void
setData(java.util.List<WorldBankData> data)
Sets the data.void
setHjid(java.lang.Long value)
Sets the hjid.void
setPage(java.math.BigInteger value)
Sets the page.void
setPages(java.math.BigInteger value)
Sets the pages.void
setPerPage(java.math.BigInteger value)
Sets the per page.void
setTotal(java.math.BigInteger value)
Sets the total.java.lang.String
toString()
DataElement
withData(java.util.List<WorldBankData> data)
With data.DataElement
withPage(java.math.BigInteger value)
With page.DataElement
withPages(java.math.BigInteger value)
With pages.DataElement
withPerPage(java.math.BigInteger value)
With per page.DataElement
withTotal(java.math.BigInteger value)
With total.
-
-
-
Field Detail
-
data
protected java.util.List<WorldBankData> data
The data.
-
page
protected java.math.BigInteger page
The page.
-
pages
protected java.math.BigInteger pages
The pages.
-
perPage
protected java.math.BigInteger perPage
The per page.
-
total
protected java.math.BigInteger total
The total.
-
hjid
protected java.lang.Long hjid
The hjid.
-
-
Method Detail
-
getData
public java.util.List<WorldBankData> getData()
Gets the data.- Returns:
- the data
-
setData
public void setData(java.util.List<WorldBankData> data)
Sets the data.- Parameters:
data
- the new data
-
getPage
public java.math.BigInteger getPage()
Gets the page.- Returns:
- the page
-
setPage
public void setPage(java.math.BigInteger value)
Sets the page.- Parameters:
value
- the new page
-
getPages
public java.math.BigInteger getPages()
Gets the pages.- Returns:
- the pages
-
setPages
public void setPages(java.math.BigInteger value)
Sets the pages.- Parameters:
value
- the new pages
-
getPerPage
public java.math.BigInteger getPerPage()
Gets the per page.- Returns:
- the per page
-
setPerPage
public void setPerPage(java.math.BigInteger value)
Sets the per page.- Parameters:
value
- the new per page
-
getTotal
public java.math.BigInteger getTotal()
Gets the total.- Returns:
- the total
-
setTotal
public void setTotal(java.math.BigInteger value)
Sets the total.- Parameters:
value
- the new total
-
withData
public DataElement withData(java.util.List<WorldBankData> data)
With data.- Parameters:
data
- the data- Returns:
- the data element
-
withPage
public DataElement withPage(java.math.BigInteger value)
With page.- Parameters:
value
- the value- Returns:
- the data element
-
withPages
public DataElement withPages(java.math.BigInteger value)
With pages.- Parameters:
value
- the value- Returns:
- the data element
-
withPerPage
public DataElement withPerPage(java.math.BigInteger value)
With per page.- Parameters:
value
- the value- Returns:
- the data element
-
withTotal
public DataElement withTotal(java.math.BigInteger value)
With total.- Parameters:
value
- the value- Returns:
- the data element
-
toString
public final java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getHjid
public java.lang.Long getHjid()
Gets the hjid.- Returns:
- the hjid
-
setHjid
public void setHjid(java.lang.Long value)
Sets the hjid.- Parameters:
value
- the new hjid
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-