Class CountriesElement

  • All Implemented Interfaces:
    com.hack23.cia.model.common.api.ModelObject, java.io.Serializable

    @Entity(name="CountriesElement")
    public class CountriesElement
    extends java.lang.Object
    implements com.hack23.cia.model.common.api.ModelObject
    The Class CountriesElement.
    See Also:
    Serialized Form
    • Field Detail

      • country

        protected java.util.List<CountryElement> country
        The country.
      • 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

      • CountriesElement

        public CountriesElement()
    • Method Detail

      • getCountry

        public java.util.List<CountryElement> getCountry()
        Gets the country.
        Returns:
        the country
      • setCountry

        public void setCountry​(java.util.List<CountryElement> country)
        Sets the country.
        Parameters:
        country - the new country
      • 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
      • withCountry

        public CountriesElement withCountry​(java.util.List<CountryElement> country)
        With country.
        Parameters:
        country - the country
        Returns:
        the countries element
      • withPage

        public CountriesElement withPage​(java.math.BigInteger value)
        With page.
        Parameters:
        value - the value
        Returns:
        the countries element
      • withPages

        public CountriesElement withPages​(java.math.BigInteger value)
        With pages.
        Parameters:
        value - the value
        Returns:
        the countries element
      • withPerPage

        public CountriesElement withPerPage​(java.math.BigInteger value)
        With per page.
        Parameters:
        value - the value
        Returns:
        the countries element
      • withTotal

        public CountriesElement withTotal​(java.math.BigInteger value)
        With total.
        Parameters:
        value - the value
        Returns:
        the countries element
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • 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