public interface OwnableData extends IdentifiableData
UserData
object.
This interface defines Hibernate database mappings for the
owner
property to the database column with the
same name. If a subclass wants to map the property to another column,
it should override the getOwner()
method and add a
Hibernate tag in the comment.
Reference implementation
private UserData owner; public UserData getOwner() { return owner; } public void setOwner(UserData owner) { this.owner = owner; }
OwnedData
,
Ownable
,
Authentication overview,
Basic classes and interfacesModifier and Type | Method and Description |
---|---|
UserData |
getOwner()
Get the
UserData that is the owner of the item. |
void |
setOwner(UserData owner)
Change the owner of the item.
|
getId, getVersion