Interface KeyValueOwner<O,K,V>

Type Parameters:
O - the generic type of the owner
K - the generic type of the key
V - the generic type of the value
All Known Subinterfaces:
IdentifiableKeyValueOwner<PK,O,K,V>

public interface KeyValueOwner<O,K,V>
The interface KeyValueOwner can be implemented from an data that needs the data of a generic key value pair with his owner which can be also the parent if it is from the same type.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The Constant for the column name 'key'.
    static final String
    The Constant for the column name 'owner'.
    static final String
    The Constant for the column name 'value'.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the key.
    Gets the owner.
    Gets the value.
    void
    setKey(K key)
    Sets the key.
    void
    setOwner(O owner)
    Sets the owner.
    void
    setValue(V value)
    Sets the value.
  • Field Details

  • Method Details

    • getKey

      K getKey()
      Gets the key.
      Returns:
      the key
    • setKey

      void setKey(K key)
      Sets the key.
      Parameters:
      key - the new key
    • getOwner

      O getOwner()
      Gets the owner.
      Returns:
      the owner
    • setOwner

      void setOwner(O owner)
      Sets the owner.
      Parameters:
      owner - the new owner
    • getValue

      V getValue()
      Gets the value.
      Returns:
      the value
    • setValue

      void setValue(V value)
      Sets the value.
      Parameters:
      value - the new value