Package org.cyclos.entities.users
Class ProductAssignmentLog<O extends ProductOwner>
- java.lang.Object
-
- org.cyclos.entities.SimpleEntity
-
- org.cyclos.entities.NetworkedEntity
-
- org.cyclos.entities.users.ProductAssignmentLog<O>
-
- Type Parameters:
O-
- All Implemented Interfaces:
Cloneable,HasNetwork,ProcessableForProxying,IEntity
- Direct Known Subclasses:
GroupProductLog,UserProductLog
@MappedSuperclass public abstract class ProductAssignmentLog<O extends ProductOwner> extends NetworkedEntity
Common superclass for logs of product assignments
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cyclos.entities.SimpleEntity
SimpleEntity.EntityLoadNotifier
-
-
Constructor Summary
Constructors Constructor Description ProductAssignmentLog()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description ProductAssignmentActiongetAction()UsergetBy()DategetDate()NetworkgetNetwork()Returns the network this entity belongs toabstract OgetOwner()ProductgetProduct()voidsetAction(ProductAssignmentAction action)voidsetBy(User by)voidsetDate(Date date)abstract voidsetOwner(O owner)voidsetProduct(Product product)-
Methods inherited from class org.cyclos.entities.NetworkedEntity
isGlobal
-
Methods inherited from class org.cyclos.entities.SimpleEntity
equals, getId, hashCode, id, ids, isPersistent, isTransient, register, setId, toShortString, toString, uniqueIds, uniqueIds
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.entities.ProcessableForProxying
getProxyClass
-
-
-
-
Method Detail
-
getAction
public ProductAssignmentAction getAction()
-
getBy
public User getBy()
-
getDate
public Date getDate()
-
getNetwork
public Network getNetwork()
Description copied from interface:HasNetworkReturns the network this entity belongs to
-
getOwner
public abstract O getOwner()
-
getProduct
public Product getProduct()
-
setAction
public void setAction(ProductAssignmentAction action)
-
setBy
public void setBy(User by)
-
setDate
public void setDate(Date date)
-
setOwner
public abstract void setOwner(O owner)
-
setProduct
public void setProduct(Product product)
-
-