|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.xtreemos.xosd.localallocmgr.basic.TTElm
public class TTElm
Basic element of the timetable. The element holds values
that are used for scheduling in the time table.
Since all the attributes can not be known in advance,
the design of the ttelm goes as follows:
Field Summary | |
---|---|
AttributeStorage |
attributes
|
Constructor Summary | |
---|---|
TTElm()
|
Method Summary | |
---|---|
IAttribute<?> |
getAttribute(java.lang.Class type)
Returns the whole attribute object for the requested class/type of an attribute. |
java.lang.Object |
getAttributeValue(java.lang.Class type)
Returns the attribute value as an Object, defined by the type (class) of the attribute. |
boolean |
hasAttribute(java.lang.Class type)
|
boolean |
hasEqualAttributes(TTElm another)
Returns the info about the question whether two elements have the same attributes (not only by the type but also by the value). |
boolean |
hasJustBasicInfo()
returns true if the elm only holds info about start, end and sharing type. this means, that after the element is removed by attributes, and it holds no basic info, then the element can be removed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public AttributeStorage attributes
Constructor Detail |
---|
public TTElm()
Method Detail |
---|
public IAttribute<?> getAttribute(java.lang.Class type)
type
-
public java.lang.Object getAttributeValue(java.lang.Class type) throws AttributeConformanceException
type
-
AttributeConformanceException
public boolean hasEqualAttributes(TTElm another)
another
-
public boolean hasAttribute(java.lang.Class type)
public boolean hasJustBasicInfo()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |