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 interfaceKeyValueOwner
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 java.lang.String
COLUMN_NAME_KEY
The Constant for the column name 'key'.static java.lang.String
COLUMN_NAME_OWNER
The Constant for the column name 'owner'.static java.lang.String
COLUMN_NAME_VALUE
The Constant for the column name 'value'.
-
-
-
Field Detail
-
COLUMN_NAME_KEY
static final java.lang.String COLUMN_NAME_KEY
The Constant for the column name 'key'.- See Also:
- Constant Field Values
-
COLUMN_NAME_OWNER
static final java.lang.String COLUMN_NAME_OWNER
The Constant for the column name 'owner'.- See Also:
- Constant Field Values
-
COLUMN_NAME_VALUE
static final java.lang.String COLUMN_NAME_VALUE
The Constant for the column name 'value'.- See Also:
- Constant Field Values
-
-
Method Detail
-
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
-
-