com.ibm.tivoli.maximo.skd.util

Class GanttModelUtil.FindByIDActivityVisitor

  • java.lang.Object
    • com.ibm.tivoli.maximo.skd.util.GanttModelUtil.FindByIDActivityVisitor
    • Constructor Summary

      Constructors 
      Constructor and Description
      FindByIDActivityVisitor(java.lang.String id)
      Creates a new Visitor that will find an activity based on its ID
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void cancel()
      Cancel the visiting
      ilog.views.gantt.IlvActivity getActivity()
      Returns the Activity for the given ID, or null, if it was not found.
      boolean isCancelled()
      Returns true if the visiting should stop
      void visit(ilog.views.gantt.IlvActivity item, ilog.views.gantt.IlvGanttModel model, GanttModelUtil.HasCancelled state)
      Visit an activity of the given chart and pass an instance of the 'state' as well.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FindByIDActivityVisitor

        public FindByIDActivityVisitor(java.lang.String id)
        Creates a new Visitor that will find an activity based on its ID
        Parameters:
        id -
    • Method Detail

      • visit

        public void visit(ilog.views.gantt.IlvActivity item,
                          ilog.views.gantt.IlvGanttModel model,
                          GanttModelUtil.HasCancelled state)
        Description copied from interface: GanttModelUtil.IlvActivityVisitor
        Visit an activity of the given chart and pass an instance of the 'state' as well. Many visitor may not require any state during the visiting, so they can pass null, and declare the visitor with a Void type.
        Specified by:
        visit in interface GanttModelUtil.IlvActivityVisitor
        Parameters:
        item - IlvActivity to visit
        model - IlvGanttModel that owns the item
        state - optional stateful data that might be of interest to the visitor
      • getActivity

        public ilog.views.gantt.IlvActivity getActivity()
        Returns the Activity for the given ID, or null, if it was not found.
        Returns: