eu.xtreemos.xosd.localallocmgr.attributes.handlers
Interface IAttributeHandler

All Known Implementing Classes:
CurrentAmountHandler, OwnersInfoHandler, SharingHandler, TimeAttrHandler

public interface IAttributeHandler

attribute handler must have apropriate function for any operation that is possible with the time table. Since these operations are part of the functionality and not part of the external specification, they are fixed and in order to add another one, the interface must change as well.

Author:
urosjovanovic

Method Summary
 boolean add(IAttribute<?> op1, IAttribute<?> op2)
           
 boolean canAdd(IAttribute<?> op1, IAttribute<?> op2)
           
 boolean canDelay(IAttribute<?> op1, IAttribute<?> op2)
           
 boolean canRemove(IAttribute<?> op1, IAttribute<?> op2)
           
 boolean delay(IAttribute<?> op1, IAttribute<?> op2)
           
 boolean remove(IAttribute<?> op1, IAttribute<?> op2)
           
 

Method Detail

canAdd

boolean canAdd(IAttribute<?> op1,
               IAttribute<?> op2)

add

boolean add(IAttribute<?> op1,
            IAttribute<?> op2)

canRemove

boolean canRemove(IAttribute<?> op1,
                  IAttribute<?> op2)

remove

boolean remove(IAttribute<?> op1,
               IAttribute<?> op2)

canDelay

boolean canDelay(IAttribute<?> op1,
                 IAttribute<?> op2)

delay

boolean delay(IAttribute<?> op1,
              IAttribute<?> op2)