Package org.cyclos.entities.users
Class ProductAdField
- java.lang.Object
-
- org.cyclos.entities.SimpleEntity
-
- org.cyclos.entities.NetworkedEntity
-
- org.cyclos.entities.BaseEntity
-
- org.cyclos.entities.users.ProductAdField
-
- All Implemented Interfaces:
Cloneable,HasNetwork,ProcessableForProxying,IEntity
- Direct Known Subclasses:
ProductMyAdField,ProductUserAdField
@Entity public abstract class ProductAdField extends BaseEntity
Base class for the relationship between a product and an ad field
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cyclos.entities.SimpleEntity
SimpleEntity.EntityLoadNotifier
-
-
Constructor Summary
Constructors Constructor Description ProductAdField()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AdCustomFieldgetCustomField()NetworkgetNetwork()Returns the network this entity belongs toProductgetProduct()booleanisManage()booleanisView()voidsetCustomField(AdCustomField customField)voidsetManage(boolean manage)voidsetProduct(Product product)voidsetView(boolean view)-
Methods inherited from class org.cyclos.entities.BaseEntity
getDataTranslationType, getVersion
-
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
-
getCustomField
public AdCustomField getCustomField()
-
getNetwork
public Network getNetwork()
Description copied from interface:HasNetworkReturns the network this entity belongs to
-
getProduct
public Product getProduct()
-
isManage
public boolean isManage()
-
isView
public boolean isView()
-
setCustomField
public void setCustomField(AdCustomField customField)
-
setManage
public void setManage(boolean manage)
-
setProduct
public void setProduct(Product product)
-
setView
public void setView(boolean view)
-
-