eu.xtreemos.xosd.localallocmgr.basic.manipulators
Class TimeTableRemove

java.lang.Object
  extended by eu.xtreemos.xosd.localallocmgr.basic.manipulators.TimeTableRemove

public class TimeTableRemove
extends java.lang.Object

Manipulator for the removing the elements from the time table. The removing might be made either directly trough a given TTElm or trough a selection of attributes/values (contraints).

Author:
urosjovanovic

Constructor Summary
TimeTableRemove()
           
 
Method Summary
static boolean remove(TimeTable tt, java.util.ArrayList<TTElm> byAttribs)
          removes either all elements or none, removing by attribute
static boolean remove(TimeTable tt, TTElm byAttribs)
          remove a giving element not my reference but by the time attributes and all timetable elements that are proper subsets of this interval should remove named attributes, the empty ones being removed from the timetable.
static boolean removeObject(TimeTable tt, TTElm forRemovale)
          removes the whole element from the timetable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeTableRemove

public TimeTableRemove()
Method Detail

removeObject

public static boolean removeObject(TimeTable tt,
                                   TTElm forRemovale)
removes the whole element from the timetable

Parameters:
tt -
forRemovale -

remove

public static boolean remove(TimeTable tt,
                             TTElm byAttribs)
remove a giving element not my reference but by the time attributes and all timetable elements that are proper subsets of this interval should remove named attributes, the empty ones being removed from the timetable.

Parameters:
tt -
byAttribs -

remove

public static boolean remove(TimeTable tt,
                             java.util.ArrayList<TTElm> byAttribs)
removes either all elements or none, removing by attribute

Parameters:
tt -
byAttribs -
Returns: