Package org.silverpeas.components.classifieds.servlets

## Class SubscriptionFieldValue

- java.lang.Object
- - org.silverpeas.components.classifieds.servlets.SubscriptionFieldValue

- All Implemented Interfaces:
    `Comparable<SubscriptionFieldValue>`

      public class SubscriptionFieldValue
      extends Object
      implements Comparable<SubscriptionFieldValue>

  Value of a field of the classified form on which a user can subscribe to be notified about the classifieds having such value for the field.
  Author:
    mmoquillon

- - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `int` | `compareTo​(SubscriptionFieldValue o)` |
    `String` | `getKey()` | Gets the unique identifier of the field value.
    `String` | `getValue()` | Gets the value of the field.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### getKey

          public String getKey()

      Gets the unique identifier of the field value.
      Returns:
        the unique identifier of the field value.

    - #### getValue

          public String getValue()

      Gets the value of the field.
      Returns:
        the value of the field.

    - #### compareTo

          public int compareTo​(SubscriptionFieldValue o)

      Specified by:
        `compareTo` in interface `Comparable<SubscriptionFieldValue>`