Class 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()  
    • Field Detail

      • 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.
    • Constructor Detail

      • DataElement

        public DataElement()
    • 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 class java.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 class java.lang.Object
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class java.lang.Object