Interface KeyValueOwner<O,K,V>
- Type Parameters:
O
- the generic type of the ownerK
- the generic type of the keyV
- 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 Details
-
COLUMN_NAME_KEY
The Constant for the column name 'key'.- See Also:
-
COLUMN_NAME_OWNER
The Constant for the column name 'owner'.- See Also:
-
COLUMN_NAME_VALUE
The Constant for the column name 'value'.- See Also:
-
-
Method Details
-
getKey
K getKey()Gets the key.- Returns:
- the key
-
setKey
Sets the key.- Parameters:
key
- the new key
-
getOwner
O getOwner()Gets the owner.- Returns:
- the owner
-
setOwner
Sets the owner.- Parameters:
owner
- the new owner
-
getValue
V getValue()Gets the value.- Returns:
- the value
-
setValue
Sets the value.- Parameters:
value
- the new value
-