ru.igis.omtab.ra
Class SpillRepeatAction

java.lang.Object
  extended by ru.igis.omtab.ra.ProtegeRepeatAction
      extended by ru.igis.omtab.ra.SpillRepeatAction
All Implemented Interfaces:
RepeatAction

public class SpillRepeatAction
extends ProtegeRepeatAction

Reference realisation of Repeat Action interface Simulate spill of spacial objects See Spill class

Author:
ru

Constructor Summary
SpillRepeatAction()
          Creates a new instance of Spill
SpillRepeatAction(Spill sp)
          Creates a new instance of SpillRepeatAction
 
Method Summary
 void fillFromProtege(edu.stanford.smi.protege.model.Instance instance, edu.stanford.smi.protege.model.KnowledgeBase kb, RuNA runa)
          Method filling information to this RepeatAction object from Protege Instance
 void removeObjects(RuNA runa)
          Method called while removing this Repeat Action object Should clear linked to it objects
 void repeat(long time)
          Method implementing periodically repeating action Here is spilling by one step
 
Methods inherited from class ru.igis.omtab.ra.ProtegeRepeatAction
addIntervalAction, getName, removeIntervalAction, setName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpillRepeatAction

public SpillRepeatAction()
Creates a new instance of Spill


SpillRepeatAction

public SpillRepeatAction(Spill sp)
Creates a new instance of SpillRepeatAction

Parameters:
sp - Spill object
Method Detail

repeat

public void repeat(long time)
Method implementing periodically repeating action Here is spilling by one step

Specified by:
repeat in interface RepeatAction
Specified by:
repeat in class ProtegeRepeatAction
Parameters:
time - time elapsed between steps

fillFromProtege

public void fillFromProtege(edu.stanford.smi.protege.model.Instance instance,
                            edu.stanford.smi.protege.model.KnowledgeBase kb,
                            RuNA runa)
                     throws java.lang.Exception
Method filling information to this RepeatAction object from Protege Instance

Specified by:
fillFromProtege in class ProtegeRepeatAction
Parameters:
instance - Protege Instance describing this Repeat Action
kb - Protege Knowledge Base
runa - RuNA Object
Throws:
java.lang.Exception - -

removeObjects

public void removeObjects(RuNA runa)
Method called while removing this Repeat Action object Should clear linked to it objects

Specified by:
removeObjects in class ProtegeRepeatAction
Parameters:
runa - RuNA object