org.chorem.pollen.business.persistence
Class PreventRuleAbstract

java.lang.Object
  extended by org.nuiton.topia.persistence.TopiaEntityAbstract
      extended by org.chorem.pollen.business.persistence.PreventRuleAbstract
All Implemented Interfaces:
Serializable, PreventRule, org.nuiton.topia.persistence.TopiaEntity
Direct Known Subclasses:
PreventRuleImpl

public abstract class PreventRuleAbstract
extends org.nuiton.topia.persistence.TopiaEntityAbstract
implements PreventRule

See Also:
Serialized Form

Field Summary
protected  boolean active
          Nom de l'attribut en BD : active
protected  String method
          Nom de l'attribut en BD : method
protected  boolean oneTime
          Nom de l'attribut en BD : oneTime
protected  boolean repeated
          Nom de l'attribut en BD : repeated
protected  String scope
          Nom de l'attribut en BD : scope
protected  int sensibility
          Nom de l'attribut en BD : sensibility
 
Fields inherited from class org.nuiton.topia.persistence.TopiaEntityAbstract
readListeners, readVetoables, topiaContext, topiaCreateDate, topiaId, topiaVersion, writeListeners, writeVetoables
 
Fields inherited from interface org.chorem.pollen.business.persistence.PreventRule
PROPERTY_ACTIVE, PROPERTY_METHOD, PROPERTY_ONE_TIME, PROPERTY_REPEATED, PROPERTY_SCOPE, PROPERTY_SENSIBILITY
 
Fields inherited from interface org.nuiton.topia.persistence.TopiaEntity
AGGREGATE, COMPOSITE, TOPIA_CREATE_DATE, TOPIA_ID, TOPIA_VERSION
 
Constructor Summary
PreventRuleAbstract()
           
 
Method Summary
 void accept(org.nuiton.topia.persistence.EntityVisitor visitor)
           
 List<org.nuiton.topia.persistence.TopiaEntity> getAggregate()
           
 List<org.nuiton.topia.persistence.TopiaEntity> getComposite()
           
 String getMethod()
           
 String getScope()
           
 int getSensibility()
           
 boolean isActive()
           
 boolean isOneTime()
           
 boolean isRepeated()
           
 void setActive(boolean active)
           
 void setMethod(String method)
           
 void setOneTime(boolean oneTime)
           
 void setRepeated(boolean repeated)
           
 void setScope(String scope)
           
 void setSensibility(int sensibility)
           
 
Methods inherited from class org.nuiton.topia.persistence.TopiaEntityAbstract
addPropertyChangeListener, addPropertyChangeListener, addPropertyListener, addPropertyListener, addVetoableChangeListener, addVetoableChangeListener, addVetoableListener, addVetoableListener, equals, fireOnPostRead, fireOnPostRead, fireOnPostWrite, fireOnPostWrite, fireOnPreRead, fireOnPreWrite, getReadPropertyChangeSupport, getReadVetoableChangeSupport, getTopiaContext, getTopiaCreateDate, getTopiaId, getTopiaVersion, getWritePropertyChangeSupport, getWriteVetoableChangeSupport, hashCode, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaContext, setTopiaCreateDate, setTopiaId, setTopiaVersion
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.nuiton.topia.persistence.TopiaEntity
addPropertyChangeListener, addPropertyChangeListener, addPropertyListener, addPropertyListener, addVetoableChangeListener, addVetoableChangeListener, addVetoableListener, addVetoableListener, getTopiaCreateDate, getTopiaId, getTopiaVersion, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaCreateDate, setTopiaId, setTopiaVersion
 

Field Detail

scope

protected String scope
Nom de l'attribut en BD : scope


sensibility

protected int sensibility
Nom de l'attribut en BD : sensibility


repeated

protected boolean repeated
Nom de l'attribut en BD : repeated


active

protected boolean active
Nom de l'attribut en BD : active


oneTime

protected boolean oneTime
Nom de l'attribut en BD : oneTime


method

protected String method
Nom de l'attribut en BD : method

Constructor Detail

PreventRuleAbstract

public PreventRuleAbstract()
Method Detail

accept

public void accept(org.nuiton.topia.persistence.EntityVisitor visitor)
            throws org.nuiton.topia.TopiaException
Specified by:
accept in interface org.nuiton.topia.persistence.TopiaEntity
Throws:
org.nuiton.topia.TopiaException

setScope

public void setScope(String scope)
Specified by:
setScope in interface PreventRule

getScope

public String getScope()
Specified by:
getScope in interface PreventRule

setSensibility

public void setSensibility(int sensibility)
Specified by:
setSensibility in interface PreventRule

getSensibility

public int getSensibility()
Specified by:
getSensibility in interface PreventRule

setRepeated

public void setRepeated(boolean repeated)
Specified by:
setRepeated in interface PreventRule

isRepeated

public boolean isRepeated()
Specified by:
isRepeated in interface PreventRule

setActive

public void setActive(boolean active)
Specified by:
setActive in interface PreventRule

isActive

public boolean isActive()
Specified by:
isActive in interface PreventRule

setOneTime

public void setOneTime(boolean oneTime)
Specified by:
setOneTime in interface PreventRule

isOneTime

public boolean isOneTime()
Specified by:
isOneTime in interface PreventRule

setMethod

public void setMethod(String method)
Specified by:
setMethod in interface PreventRule

getMethod

public String getMethod()
Specified by:
getMethod in interface PreventRule

getAggregate

public List<org.nuiton.topia.persistence.TopiaEntity> getAggregate()
                                                            throws org.nuiton.topia.TopiaException
Specified by:
getAggregate in interface org.nuiton.topia.persistence.TopiaEntity
Overrides:
getAggregate in class org.nuiton.topia.persistence.TopiaEntityAbstract
Throws:
org.nuiton.topia.TopiaException

getComposite

public List<org.nuiton.topia.persistence.TopiaEntity> getComposite()
                                                            throws org.nuiton.topia.TopiaException
Specified by:
getComposite in interface org.nuiton.topia.persistence.TopiaEntity
Overrides:
getComposite in class org.nuiton.topia.persistence.TopiaEntityAbstract
Throws:
org.nuiton.topia.TopiaException


Copyright © 2009-2012 CodeLutin. All Rights Reserved.