public abstract class OwnedData extends BasicData implements OwnableData
BasicData
class and implements the
OwnableData
interface. Ie. by extending this class a data item
gets an owner.OwnedItem
,
Developer documentation: User authentication,
Developer documentation: Basic classes and interfacesConstructor and Description |
---|
OwnedData() |
Modifier 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.
|
equals, getId, getVersion, hashCode, setId, setVersion, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getId, getVersion
private UserData owner
public UserData getOwner()
OwnableData
UserData
that is the owner of the item.getOwner
in interface OwnableData
public void setOwner(UserData owner)
OwnableData
setOwner
in interface OwnableData