eu.xtreemos.xosd.localallocmgr.basic
Class TTElmFactory
java.lang.Object
eu.xtreemos.xosd.localallocmgr.basic.TTElmFactory
public class TTElmFactory
- extends java.lang.Object
Factory for creating TTElm object using basic information
about their start, end and type of locking mechanism. Also
used for adding the owner info to the OwnersInfo attribute.
Note that TTElm only allows one instance of a certain type
of an attribute.
- Author:
- uros
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TTElmFactory
public TTElmFactory()
createBasic
public static TTElm createBasic(java.util.GregorianCalendar start,
java.util.GregorianCalendar end,
SharingValues sharingType)
addOwnerInfo
public static void addOwnerInfo(TTElm elm,
OwnersInfo info)
removeOwnerInfo
public static void removeOwnerInfo(TTElm elm,
java.lang.String owner)
addAttribute
public static void addAttribute(TTElm elm,
IAttribute<?> attr)