Package org.cyclos.entities.users
Class AbstractProductContactField
- java.lang.Object
-
- org.cyclos.entities.SimpleEntity
-
- org.cyclos.entities.NetworkedEntity
-
- org.cyclos.entities.BaseEntity
-
- org.cyclos.entities.users.AbstractProductContactField
-
- All Implemented Interfaces:
Cloneable,HasNetwork,ProcessableForProxying,IEntity
- Direct Known Subclasses:
ProductMyContactField,ProductUserContactField
@MappedSuperclass public class AbstractProductContactField extends BaseEntity
Base actions class between products and contact fields
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cyclos.entities.SimpleEntity
SimpleEntity.EntityLoadNotifier
-
-
Constructor Summary
Constructors Constructor Description AbstractProductContactField()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContactCustomFieldgetCustomField()NetworkgetNetwork()Returns the network this entity belongs toProductgetProduct()booleanisEditable()booleanisVisible()voidsetCustomField(ContactCustomField customField)voidsetEditable(boolean editable)voidsetProduct(Product product)voidsetVisible(boolean visible)-
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 ContactCustomField getCustomField()
-
getNetwork
public Network getNetwork()
Description copied from interface:HasNetworkReturns the network this entity belongs to
-
getProduct
public Product getProduct()
-
isEditable
public boolean isEditable()
-
isVisible
public boolean isVisible()
-
setCustomField
public void setCustomField(ContactCustomField customField)
-
setEditable
public void setEditable(boolean editable)
-
setProduct
public void setProduct(Product product)
-
setVisible
public void setVisible(boolean visible)
-
-