|
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.misc.LyDependencies
public final class LyDependencies
This class is a utility class that manages dependencies between objects. An object may be associated with a list of objects. These dependencies could be represented by symmetrical links between these objects.
Field Summary | |
---|---|
static java.lang.String |
__VERSION
|
Constructor Summary | |
---|---|
LyDependencies()
Constructor with no parameter. |
Method Summary | |
---|---|
void |
addDepend(java.lang.Object object1,
java.lang.Object object2)
Adds a dependency between the two given objects. |
boolean |
contains(java.lang.Object object)
Checks if the given object is contained in the dependencies. |
java.util.Vector<java.lang.Object> |
getDepends(java.lang.Object object)
Gets objects linked to the given object. |
int |
getSize()
Gets the number of dependencies between objects contained in this instance of LyDependencies. |
java.util.Enumeration<java.lang.Object> |
keys()
Gets the keys list of dependencies defined in this object. |
void |
removeObject(java.lang.Object object)
Removes all occurences of the given object in the dependencies. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String __VERSION
Constructor Detail |
---|
public LyDependencies()
_depends
to null.
Method Detail |
---|
public boolean contains(java.lang.Object object)
object
- The object to find.
public void addDepend(java.lang.Object object1, java.lang.Object object2)
object1
- The first object of the dependency.object2
- The second object of the dependency.public void removeObject(java.lang.Object object)
object
- The object that must be removed.public java.util.Vector<java.lang.Object> getDepends(java.lang.Object object)
object
- The object whose dependencies must be retrieved.
public java.util.Enumeration<java.lang.Object> keys()
public int getSize()
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |