Package org.silverpeas.components.classifieds.servlets

## Class SubscriptionField

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

-     public class SubscriptionField
      extends Object

  A field of the classified form used by the search and on which also a user can subscribe for a given value to be notified about the classifieds having such value for the field.
  Author:
    mmoquillon

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `SubscriptionField​(String key, String label)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `String` | `getKey()` |
    `String` | `getLabel()` |
    `Set<SubscriptionFieldValue>` | `getValues()` |
    `SubscriptionField` | `valuedBy​(String valueKey, String valueLabel)` |

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

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

- - ### Constructor Detail

    - #### SubscriptionField

          public SubscriptionField​(String key,
                                   String label)

  - ### Method Detail

    - #### valuedBy

          public SubscriptionField valuedBy​(String valueKey,
                                            String valueLabel)

    - #### getKey

          public String getKey()

    - #### getLabel

          public String getLabel()

    - #### getValues

          public Set<SubscriptionFieldValue> getValues()