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,ProcessableForDataTranslation,IEntity
- Direct Known Subclasses:
GroupProductLog,UserProductLog
@MappedSuperclass public abstract class ProductAssignmentLog<O extends ProductOwner> extends NetworkedEntity
Common superclass for logs of product assignments
-
-
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
clone, equals, getId, hashCode, id, ids, isPersistent, isTransient, setId, toShortString, toString, uniqueIds, uniqueIds
-
-
-
-
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)
-
-