public class Tools extends Object
Constructor and Description |
---|
Tools() |
Modifier and Type | Method and Description |
---|---|
static boolean |
circularElement(RefPlaceHLAPI rp)
Test if a refplace is member of a circular cycle.
|
static boolean |
circularElement(RefTransitionHLAPI rt)
Test if a refplace is member of a circular cycle.
|
static void |
fuseDocuments(String WsId1,
String WsId2)
Fuse documents of two given workspace in one.
|
public static boolean circularElement(RefPlaceHLAPI rp)
rp
- the ref place to testpublic static boolean circularElement(RefTransitionHLAPI rt)
rt
- the ref place to testpublic static void fuseDocuments(String WsId1, String WsId2) throws InvalidIDException, VoidRepositoryException, OtherException
WsId1
- id of first Document WorkspaceWsId2
- id of second Document WorkspaceInvalidIDException
- if an unexisting workspace is given or if duplicated id
exists between the two workspacesVoidRepositoryException
- if Model repository has not been initializated.OtherException
- if a problem occure with classesCopyright © 2009–2016 Univ. Paris Ouest, and Univ. Pierre et Marie Curie / CNRS UMR 7606 (LIP6). All rights reserved.