Package org.hibernate.envers.boot.model
Interface Keyable
-
- All Known Implementing Classes:
BasicAttribute
,ManyToOneAttribute
public interface Keyable
Contract that defines an attribute that can participate in a key.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isKey()
Get whether the attribute is already participatig in a key.void
setKey(boolean key)
Set whether this attribute should or shouldn't participate as a key attribute.
-
-
-
Method Detail
-
isKey
boolean isKey()
Get whether the attribute is already participatig in a key.- Returns:
- true if the attribute is in the key; false otherwise
-
setKey
void setKey(boolean key)
Set whether this attribute should or shouldn't participate as a key attribute.- Parameters:
key
- specifies if the attribute is part of the key
-
-