Class CountryElement

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

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

      • iso2Code

        protected java.lang.String iso2Code
        The iso 2 code.
      • countryName

        protected java.lang.String countryName
        The country name.
      • region

        protected Region region
        The region.
      • adminregion

        protected Adminregion adminregion
        The adminregion.
      • incomeLevel

        protected IncomeLevel incomeLevel
        The income level.
      • lendingType

        protected LendingType lendingType
        The lending type.
      • capitalCity

        protected java.lang.String capitalCity
        The capital city.
      • longitude

        protected java.lang.String longitude
        The longitude.
      • latitude

        protected java.lang.String latitude
        The latitude.
      • id

        protected java.lang.String id
        The id.
      • hjid

        protected java.lang.Long hjid
        The hjid.
    • Constructor Detail

      • CountryElement

        public CountryElement()
    • Method Detail

      • getIso2Code

        public java.lang.String getIso2Code()
        Gets the iso 2 code.
        Returns:
        the iso 2 code
      • setIso2Code

        public void setIso2Code​(java.lang.String value)
        Sets the iso 2 code.
        Parameters:
        value - the new iso 2 code
      • getCountryName

        public java.lang.String getCountryName()
        Gets the country name.
        Returns:
        the country name
      • setCountryName

        public void setCountryName​(java.lang.String value)
        Sets the country name.
        Parameters:
        value - the new country name
      • getRegion

        public Region getRegion()
        Gets the region.
        Returns:
        the region
      • setRegion

        public void setRegion​(Region value)
        Sets the region.
        Parameters:
        value - the new region
      • getAdminregion

        public Adminregion getAdminregion()
        Gets the adminregion.
        Returns:
        the adminregion
      • setAdminregion

        public void setAdminregion​(Adminregion value)
        Sets the adminregion.
        Parameters:
        value - the new adminregion
      • getIncomeLevel

        public IncomeLevel getIncomeLevel()
        Gets the income level.
        Returns:
        the income level
      • setIncomeLevel

        public void setIncomeLevel​(IncomeLevel value)
        Sets the income level.
        Parameters:
        value - the new income level
      • getLendingType

        public LendingType getLendingType()
        Gets the lending type.
        Returns:
        the lending type
      • setLendingType

        public void setLendingType​(LendingType value)
        Sets the lending type.
        Parameters:
        value - the new lending type
      • getCapitalCity

        public java.lang.String getCapitalCity()
        Gets the capital city.
        Returns:
        the capital city
      • setCapitalCity

        public void setCapitalCity​(java.lang.String value)
        Sets the capital city.
        Parameters:
        value - the new capital city
      • getLongitude

        public java.lang.String getLongitude()
        Gets the longitude.
        Returns:
        the longitude
      • setLongitude

        public void setLongitude​(java.lang.String value)
        Sets the longitude.
        Parameters:
        value - the new longitude
      • getLatitude

        public java.lang.String getLatitude()
        Gets the latitude.
        Returns:
        the latitude
      • setLatitude

        public void setLatitude​(java.lang.String value)
        Sets the latitude.
        Parameters:
        value - the new latitude
      • getId

        public java.lang.String getId()
        Gets the id.
        Returns:
        the id
      • setId

        public void setId​(java.lang.String value)
        Sets the id.
        Parameters:
        value - the new id
      • withIso2Code

        public CountryElement withIso2Code​(java.lang.String value)
        With iso 2 code.
        Parameters:
        value - the value
        Returns:
        the country element
      • withCountryName

        public CountryElement withCountryName​(java.lang.String value)
        With country name.
        Parameters:
        value - the value
        Returns:
        the country element
      • withRegion

        public CountryElement withRegion​(Region value)
        With region.
        Parameters:
        value - the value
        Returns:
        the country element
      • withAdminregion

        public CountryElement withAdminregion​(Adminregion value)
        With adminregion.
        Parameters:
        value - the value
        Returns:
        the country element
      • withIncomeLevel

        public CountryElement withIncomeLevel​(IncomeLevel value)
        With income level.
        Parameters:
        value - the value
        Returns:
        the country element
      • withLendingType

        public CountryElement withLendingType​(LendingType value)
        With lending type.
        Parameters:
        value - the value
        Returns:
        the country element
      • withCapitalCity

        public CountryElement withCapitalCity​(java.lang.String value)
        With capital city.
        Parameters:
        value - the value
        Returns:
        the country element
      • withLongitude

        public CountryElement withLongitude​(java.lang.String value)
        With longitude.
        Parameters:
        value - the value
        Returns:
        the country element
      • withLatitude

        public CountryElement withLatitude​(java.lang.String value)
        With latitude.
        Parameters:
        value - the value
        Returns:
        the country element
      • withId

        public CountryElement withId​(java.lang.String value)
        With id.
        Parameters:
        value - the value
        Returns:
        the country 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 object)
        Overrides:
        equals in class java.lang.Object