jasi.sim.user.model.activity
Class LinearActivity

java.lang.Object
  extended by jasi.sim.basic.value.AbstractSimValueType
      extended by jasi.sim.basic.value.AbstractComparableObject<Element>
          extended by jasi.sim.basic.element.AbstractElementBean
              extended by jasi.sim.user.model.activity.AbstractActivityBean
                  extended by jasi.sim.user.model.activity.LinearActivity
All Implemented Interfaces:
Element, EventListener, SimObject, ExtendedComparable<Element>, SimValue, Activity, java.io.Serializable, java.lang.Comparable<Element>

public class LinearActivity
extends AbstractActivityBean

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface jasi.sim.basic.element.Element
COMPARATOR
 
Constructor Summary
LinearActivity()
           
 
Method Summary
 void finish()
          The linear activity finishes.
 double getGrade(Time time)
          Get the grade of completeness of this activity.
 
Methods inherited from class jasi.sim.user.model.activity.AbstractActivityBean
execute, getEndTime, getStartTime, setEndTime, setStartTime, start, start, toString
 
Methods inherited from class jasi.sim.basic.element.AbstractElementBean
acceptDelete, compareTo, delete, elements, equals, get, getId, getKey, hashCode, isDeleted, registered, set, setId, setKey
 
Methods inherited from class jasi.sim.basic.value.AbstractComparableObject
isEQ, isGE, isGT, isLE, isLT, isNE
 
Methods inherited from class jasi.sim.basic.value.AbstractSimValueType
getContent
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LinearActivity

public LinearActivity()
Method Detail

getGrade

public final double getGrade(Time time)
Get the grade of completeness of this activity.

Parameters:
time - The time of the update.
Returns:
The grade of completeness.

finish

public void finish()
The linear activity finishes.

See Also:
Activity.finish()