|
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.LySubWorkSpace
public final class LySubWorkSpace
This class implements a sub-workSpace : workspace for calculating a sub-list from an initial objects list. Filtering is either done on objects class info, or with a filter or both.
LyClassInfo
,
LyFilter
Field Summary | |
---|---|
static java.lang.String |
__VERSION
File version |
Constructor Summary | |
---|---|
LySubWorkSpace(LyDataSession session,
LyObjectList objectList,
LyClassInfo classInfo,
boolean dynamic)
Constructs a sub-workspace within a given session filtered by a class info. |
|
LySubWorkSpace(LyDataSession session,
LyObjectList objectList,
LyClassInfo classInfo,
LyFilter filter,
boolean dynamic)
Constructs a sub-workspace within a given session filtered by a class info and/or a specified filter. |
|
LySubWorkSpace(LyDataSession session,
LyObjectList objectList,
LyClassInfo classInfo,
LyFilter filter,
boolean dynamic,
boolean local)
Constructs a sub-workspace within a given session filtered by a class info and/or a specified filter. |
|
LySubWorkSpace(LyDataSession session,
LyObjectList objectList,
LyFilter filter,
boolean dynamic)
Constructs a sub-workspace within a given session filtered by the specified filter. |
Method Summary | |
---|---|
LyInfoList<LyClassInfo> |
getClasses()
Return the list of all class infos to which objects of this workspace belong. |
LyClassInfo |
getClassInfo()
Gets class info to which objects of this workspace belong. |
LyFilter |
getFilter()
Gets the filter of this sub-workspace. |
LyObjectList |
getParentList()
Gets the objects list that is filtered by this sub-workspace. |
LySimpleObjectList |
getSources(LyObject target)
Method for retrieving source objects that lead to given target object. |
void |
reset()
Method for resetting this workspace. |
void |
setFilter(LyFilter filter)
Changes the filter of this sub-workspace. |
java.lang.String |
toString()
Returns a string representation of this object. |
Methods inherited from class leon.data.LyWorkSpace |
---|
addList, 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 LySubWorkSpace(LyDataSession session, LyObjectList objectList, LyClassInfo classInfo, LyFilter filter, boolean dynamic, boolean local)
session
- Session in which the workspace is constructed.objectList
- Objects list that is filtered by this sub-workspace.classInfo
- Class info to which objects of this workspace have to belong (may be
null).filter
- Filter applied for objects loaded in this workspace (may be null).dynamic
- Specifies if this workspace is dynamic or not.local
- Specifies if this workspace is local or not.
java.lang.IllegalArgumentException
- If the constructed sub-workspace is dynamic and the given
objects list is not.public LySubWorkSpace(LyDataSession session, LyObjectList objectList, LyClassInfo classInfo, LyFilter filter, boolean dynamic)
session
- Session in which the workspace is constructed.objectList
- Objects list that is filtered by this sub-workspace.classInfo
- Class info to which objects of this workspace have to belong (may be
null).filter
- Filter applied for objects loaded in this workspace (may be null).dynamic
- Specifies if this workspace is dynamic or not.
java.lang.IllegalArgumentException
- If the constructed sub-workspace is dynamic and the given
objects list is not.public LySubWorkSpace(LyDataSession session, LyObjectList objectList, LyClassInfo classInfo, boolean dynamic)
session
- Session in which the workspace is constructed.objectList
- Objects list that is filtered by this sub-workspace.classInfo
- Class info to which objects of this workspace have to belong (may be
null).dynamic
- Specifies if this workspace is dynamic or not.
java.lang.IllegalArgumentException
- If the constructed sub-workspace is dynamic and the given
objects list is not.public LySubWorkSpace(LyDataSession session, LyObjectList objectList, LyFilter filter, boolean dynamic)
session
- Session in which the workspace is constructed.objectList
- Objects list that is filtered by this sub-workspace.filter
- Filter applied for objects loaded in this workspace (may be null).dynamic
- Specifies if this workspace is dynamic or not.
java.lang.IllegalArgumentException
- If the constructed sub-workspace is dynamic and the given
objects list is not.Method Detail |
---|
public LyObjectList getParentList()
public LyClassInfo getClassInfo()
public LyFilter getFilter()
public LyInfoList<LyClassInfo> getClasses()
getClasses
in class LyObjectList
public void setFilter(LyFilter filter)
filter
- New filter specified for this sub-workspace.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 |