Package net.sf.basedb.core.data
Class OwnedData
java.lang.Object
net.sf.basedb.core.data.BasicData
net.sf.basedb.core.data.OwnedData
- All Implemented Interfaces:
IdentifiableData
,OwnableData
- Direct Known Subclasses:
ProjectData
,SharedData
This class extends the
BasicData
class and implements the
OwnableData
interface. Ie. by extending this class a data item
gets an owner.- Version:
- 2.0
- Author:
- Nicklas
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class net.sf.basedb.core.data.BasicData
equals, getId, getVersion, hashCode, setId, setVersion, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.sf.basedb.core.data.IdentifiableData
getId, getVersion
-
Field Details
-
owner
-
-
Constructor Details
-
OwnedData
public OwnedData()
-
-
Method Details
-
getOwner
Description copied from interface:OwnableData
Get theUserData
that is the owner of the item.- Specified by:
getOwner
in interfaceOwnableData
-
setOwner
Description copied from interface:OwnableData
Change the owner of the item. Null is not allowed.- Specified by:
setOwner
in interfaceOwnableData
-