org.chorem.pollen.business.dto
Class PreventRuleDTO

java.lang.Object
  extended by org.chorem.pollen.business.dto.PreventRuleDTO
All Implemented Interfaces:
java.io.Serializable

public class PreventRuleDTO
extends java.lang.Object
implements java.io.Serializable

Classe DTO représentant une règle de notification.

Version:
$Id: PreventRuleDTO.java 2736 2009-08-19 15:48:01Z nrannou $
Author:
amine, rannou
See Also:
Serialized Form

Constructor Summary
PreventRuleDTO()
           
PreventRuleDTO(java.lang.String id)
           
PreventRuleDTO(java.lang.String scope, int sensibility, boolean repeated, java.lang.String method)
           
PreventRuleDTO(java.lang.String pollId, java.lang.String scope, int sensibility, boolean repeated, java.lang.String method)
           
 
Method Summary
 java.lang.String getId()
           
 java.lang.String getMethod()
           
 java.lang.String getPollId()
           
 java.lang.String getScope()
           
 int getSensibility()
           
 boolean isActive()
           
 boolean isOneTime()
           
 boolean isRepeated()
           
 void setActive(boolean active)
           
 void setId(java.lang.String id)
           
 void setMethod(java.lang.String method)
           
 void setOneTime(boolean oneTime)
           
 void setPollId(java.lang.String pollId)
           
 void setRepeated(boolean repeated)
           
 void setScope(java.lang.String scope)
           
 void setSensibility(int sensibility)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreventRuleDTO

public PreventRuleDTO()

PreventRuleDTO

public PreventRuleDTO(java.lang.String id)

PreventRuleDTO

public PreventRuleDTO(java.lang.String pollId,
                      java.lang.String scope,
                      int sensibility,
                      boolean repeated,
                      java.lang.String method)

PreventRuleDTO

public PreventRuleDTO(java.lang.String scope,
                      int sensibility,
                      boolean repeated,
                      java.lang.String method)
Method Detail

getId

public java.lang.String getId()

setId

public void setId(java.lang.String id)

getPollId

public java.lang.String getPollId()

setPollId

public void setPollId(java.lang.String pollId)

getScope

public java.lang.String getScope()

setScope

public void setScope(java.lang.String scope)

getSensibility

public int getSensibility()

setSensibility

public void setSensibility(int sensibility)

isActive

public boolean isActive()

setActive

public void setActive(boolean active)

isOneTime

public boolean isOneTime()

setOneTime

public void setOneTime(boolean oneTime)

isRepeated

public boolean isRepeated()

setRepeated

public void setRepeated(boolean repeated)

getMethod

public java.lang.String getMethod()

setMethod

public void setMethod(java.lang.String method)


Copyright © 2009 CodeLutin. All Rights Reserved.