|
LEONARDI Application Composer - 8.9.0.40 by W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectleon.data.LyObjectList
leon.data.LyWorkSpace
leon.data.LyMultiWorkSpace
public class LyMultiWorkSpace
This class implements a multiple workspace : workspace that is the result of merging other workspaces.
Workspaces are added in a multi-workspace usind addList method. The result workspace can be dynamic only if all added workspaces are dynamic.
Since objects come from different workspaces and may be present in several of them, a counter is associated to each object to count how many times they are present in these workspaces.
LyWorkSpaceListener
Field Summary | |
---|---|
static java.lang.String |
__VERSION
File version |
Constructor Summary | |
---|---|
LyMultiWorkSpace(LyDataSession session,
boolean dynamic)
Constructs an empty multi-workspace within a given session. |
Method Summary | |
---|---|
void |
addList(LyObjectList list)
Adds an objects list to our multiple workspace. |
LyInfoList<LyClassInfo> |
getClasses()
Return the list of all class infos to which objects of this workspace belong. |
LySimpleObjectList |
getSources(LyObject target)
Method for retrieving source objects that lead to given target object. |
void |
removeList(LyObjectList list)
Removes an objects list from our multiple workspace. |
void |
reset()
Method for resetting a workspace. |
java.lang.String |
toString()
Returns a string representation of this workspace. |
Methods inherited from class leon.data.LyWorkSpace |
---|
addListener, dataSourceEventsGrouped, free, getListener, getListenerCount, getSession, isDynamic, isLocal, lock, objectCreated, objectDeleted, objectModified, objectStateChanged, objectUserEvent, removeListener, unlock |
Methods inherited from class leon.data.LyObjectList |
---|
contains, delete, delete, equals, equals, getIndex, getIntersection, getList, getList, getList, getList, getList, getList, getList, getList, getList, getList, getList, getList, getObject, getObject, getObject, getObjects, getSize, getSize, getSort, getSortedList, indexOf, intersects, isEmpty, isSorted, iterator, set, setSort, setSortByName, setSorted, toObjectIds |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String __VERSION
Constructor Detail |
---|
public LyMultiWorkSpace(LyDataSession session, boolean dynamic)
session
- Session in which this workspace is constructed.dynamic
- Specifies if this workspace is dynamic or not.Method Detail |
---|
public void addList(LyObjectList list)
addList
in class LyWorkSpace
list
- Objects list that is added to our workspace.IllegalArgumentException
- If this workspace is dynamic and the given list is not or if the list is null.public void removeList(LyObjectList list)
list
- Objects list that is removed from our workspace.public LyInfoList<LyClassInfo> getClasses()
getClasses
in class LyObjectList
public void reset()
reset
in class LyWorkSpace
public java.lang.String toString()
toString
in class LyObjectList
public LySimpleObjectList getSources(LyObject target)
getSources
in class LyWorkSpace
target
- Target object
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |