eu.xtreemos.xosd.resallocator
Class TimeTable.TimeTableEntry

java.lang.Object
  extended by eu.xtreemos.xosd.resallocator.TimeTable.TimeTableEntry
Enclosing class:
TimeTable

 class TimeTable.TimeTableEntry
extends java.lang.Object


Field Summary
 long amount
           
 long end
           
 long start
           
 int type
           
 
Constructor Summary
TimeTable.TimeTableEntry(long start, long end, long amount, int type)
           
 
Method Summary
 void decreaseAmount(long value)
           
 boolean equal(TimeTable.TimeTableEntry entry)
           
 boolean hasTimeClash(TimeTable.TimeTableEntry entry)
           
 boolean includes(TimeTable.TimeTableEntry entry)
           
 void increaseAmount(long value)
           
 boolean isAfter(TimeTable.TimeTableEntry entry)
           
 boolean isBefore(TimeTable.TimeTableEntry entry)
           
 boolean isIncludedIn(TimeTable.TimeTableEntry entry)
           
 boolean isValid()
           
 void redefineEnd(long end)
           
 void redefineStart(long start)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

start

public long start

end

public long end

amount

public long amount

type

public int type
Constructor Detail

TimeTable.TimeTableEntry

public TimeTable.TimeTableEntry(long start,
                                long end,
                                long amount,
                                int type)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

redefineStart

public void redefineStart(long start)

redefineEnd

public void redefineEnd(long end)

increaseAmount

public void increaseAmount(long value)

decreaseAmount

public void decreaseAmount(long value)

isAfter

public boolean isAfter(TimeTable.TimeTableEntry entry)

isBefore

public boolean isBefore(TimeTable.TimeTableEntry entry)

includes

public boolean includes(TimeTable.TimeTableEntry entry)

isIncludedIn

public boolean isIncludedIn(TimeTable.TimeTableEntry entry)

equal

public boolean equal(TimeTable.TimeTableEntry entry)

hasTimeClash

public boolean hasTimeClash(TimeTable.TimeTableEntry entry)

isValid

public boolean isValid()