eu.scape_project.watch.domain
Class Trigger
java.lang.Object
  
thewebsemantic.binding.RdfBean<Trigger>
      
eu.scape_project.watch.domain.Trigger
public class Trigger
- extends thewebsemantic.binding.RdfBean<Trigger>
 
A Trigger is a unit that contains conditions used during internal assessment
 and Notification that are sent when the conditions are met. The
 conditions are encoded into the Question. A trigger can also contain
 a Plan used in external assessment.
- Author:
 
  - Luis Faria 
 
 
 
| Methods inherited from class thewebsemantic.binding.RdfBean | 
asIndividual, delete, fill, fill, load, query, refresh, save | 
 
 
Trigger
public Trigger()
- Create a new empty trigger.
 
Trigger
public Trigger(Question question,
               List<Notification> notifications,
               Plan plan)
- Create a new trigger.
- Parameters:
 question - The question that will assess if the trigger should fire.notifications - The notifications that should be executed in case this trigger
          fires.plan - A plan for optional external assessment, set null if
          no external assessment required.
 
getId
public String getId()
 
setId
public void setId(String id)
 
getQuestion
public Question getQuestion()
 
setQuestion
public void setQuestion(Question question)
 
getNotifications
public List<Notification> getNotifications()
 
setNotifications
public void setNotifications(List<Notification> notifications)
 
getPlan
public Plan getPlan()
 
setPlan
public void setPlan(Plan plan)
 
hashCode
public int hashCode()
- Overrides:
 hashCode in class Object
 
 
equals
public boolean equals(Object obj)
- Overrides:
 equals in class Object
 
 
toString
public String toString()
- Overrides:
 toString in class Object
 
 
Copyright © 2012. All Rights Reserved.