Class Region

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

    @Embeddable
    public class Region
    extends java.lang.Object
    implements com.hack23.cia.model.common.api.ModelObject
    The Class Region.
    See Also:
    Serialized Form
    • Field Detail

      • id

        protected java.lang.String id
        The id.
    • Constructor Detail

      • Region

        public Region()
    • Method Detail

      • getValue

        public RegionCategory getValue()
        Gets the value.
        Returns:
        the value
      • setValue

        public void setValue​(RegionCategory value)
        Sets the value.
        Parameters:
        value - the new value
      • 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
      • withValue

        public Region withValue​(RegionCategory value)
        With value.
        Parameters:
        value - the value
        Returns:
        the region
      • withId

        public Region withId​(java.lang.String value)
        With id.
        Parameters:
        value - the value
        Returns:
        the region
      • 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
      • equals

        public boolean equals​(java.lang.Object object)
        Overrides:
        equals in class java.lang.Object