Interface NameValue<T>

Type Parameters:
T - value-type
All Known Implementing Classes:
NamedBean, SimpleNameValue

public interface NameValue<T>
A pair combining a name and a value.
Author:
Owen Feehan
  • Method Summary

    Modifier and Type
    Method
    Description
    The associated name.
    The associated value.
    void
    Assigns the associated name.
    void
    setValue(T value)
    Assigns the associated value.
  • Method Details

    • getName

      String getName()
      The associated name.
      Returns:
      the name
    • setName

      void setName(String name)
      Assigns the associated name.
      Parameters:
      name - name to assign
    • getValue

      T getValue()
      The associated value.
      Returns:
      the value
    • setValue

      void setValue(T value)
      Assigns the associated value.
      Parameters:
      value - value to assign