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