Class Indicator

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

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

      Fields 
      Modifier and Type Field Description
      protected java.lang.String id
      The id.
      protected java.lang.String value
      The value.
    • Constructor Summary

      Constructors 
      Constructor Description
      Indicator()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object object)  
      java.lang.String getId()
      Gets the id.
      java.lang.String getValue()
      Gets the value.
      int hashCode()  
      void setId​(java.lang.String value)
      Sets the id.
      void setValue​(java.lang.String value)
      Sets the value.
      java.lang.String toString()  
      Indicator withId​(java.lang.String value)
      With id.
      Indicator withValue​(java.lang.String value)
      With value.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • value

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

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

      • Indicator

        public Indicator()
    • Method Detail

      • getValue

        public java.lang.String getValue()
        Gets the value.
        Returns:
        the value
      • setValue

        public void setValue​(java.lang.String 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 Indicator withValue​(java.lang.String value)
        With value.
        Parameters:
        value - the value
        Returns:
        the indicator
      • withId

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

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