|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OwnableData
An ownable item is an item which has an owner. The owner is
represented as a required association to a 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 interfacesMethod Summary | |
---|---|
UserData |
getOwner()
Get the UserData that is the owner of the item. |
void |
setOwner(UserData owner)
Change the owner of the item. |
Methods inherited from interface net.sf.basedb.core.data.IdentifiableData |
---|
getId, getVersion |
Method Detail |
---|
UserData getOwner()
UserData
that is the owner of the item.
void setOwner(UserData owner)
|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |