|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectmascoptLib.util.ObservableObject
mascoptLib.abstractGraph.MascoptObject
mascoptLib.abstractGraph.MascoptFixedSet
mascoptLib.abstractGraph.MascoptSet
mascoptLib.abstractGraph.AbstractGraphSet
mascoptLib.graphs.GraphSet
The GraphSet class is derivated from MascoptSet. It allow to group Node objects in a set.
| Field Summary |
| Fields inherited from class mascoptLib.abstractGraph.MascoptFixedSet |
initialCapacity, loadFactor |
| Fields inherited from class mascoptLib.util.ObservableObject |
stopNotifyValueMechanism |
| Constructor Summary | |
GraphSet()
Default Constructor. |
|
GraphSet(GraphSet superSet)
Constructor creating a sub set of the GraphSet. |
|
GraphSet(GraphSet originalSet,
boolean copyElements)
Constructor for copy sets. |
|
| Method Summary | |
boolean |
add(Graph o)
Add a graph in the set. |
String |
getDOMTagHierarchy()
Returns the XML hierarchy tag names. |
String |
getDOMTagName()
Returns the XML tag name for this object. |
AbstractGraphFactory |
getFactory()
Give the factory creating objects not abstract. |
boolean |
remove(Graph o)
Remove a graph in the set. |
| Methods inherited from class mascoptLib.abstractGraph.AbstractGraphSet |
add, countAllAbstractGraphSets, remove, update |
| Methods inherited from class mascoptLib.abstractGraph.MascoptSet |
add, add, addAll, clear, remove, remove, removeAll, removeAllValuesOnElementsOfset, retainAll, setValueForAllElements, setValueForAllElements |
| Methods inherited from class mascoptLib.abstractGraph.MascoptFixedSet |
contains, containsAll, countAllSets, equals, free, getSuperSet, hashCode, isEmpty, isSubSet, iterator, setSuperSet, size, toArray, toArray, toArray, toDOMTree, toString |
| Methods inherited from class mascoptLib.abstractGraph.MascoptObject |
copyValues, countAllObjects, deleteValue, deleteValue, existValue, existValue, getDoubleValue, getDoubleValue, getDouValue, getDouValue, getId, getIntegerValue, getIntegerValue, getIntValue, getIntValue, getName, getValue, getValue, getValueContexts, getValueDataType, getValueDataType, getValueEntries, notifyOnValueChange, removeAllValues, setDoubleValue, setDoubleValue, setDouValue, setDouValue, setIntegerValue, setIntegerValue, setIntValue, setIntValue, setName, setValue, setValue, setValue, setValue, setValue, setValue, toDOMTreeAsRef |
| Methods inherited from class mascoptLib.util.ObservableObject |
addAddObserver, addRemoveObserver, addValueObserver, countAddObservers, countRemoveObservers, countValueObservers, deleteAddObserver, deleteAddObserver, deleteRemoveObserver, deleteRemoveObserver, deleteValueObserver, deleteValueObserver |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Set |
contains, containsAll, equals, hashCode, isEmpty, iterator, size, toArray, toArray |
| Constructor Detail |
public GraphSet()
public GraphSet(GraphSet superSet)
add or
addAll.
superSet - the set of graphs on which is based the graph set
created.
public GraphSet(GraphSet originalSet,
boolean copyElements)
GraphSet similar to originalSet.
If copyElements is set to true then all the elements of originalSet are duplicated (and of course their id is changed)
and the structure of the set is preserved (there exists an isomorphism between originalSet and the new set).
In that case, the simple values are also copied, but those depending on a context are dropped.
If copyElements is set to false, then the new set's elements point to those of originalSet but the set is not a subset of originalSet.
originalSet - - the set to be copied.copyElements - - indicates if the elements of the set have to be duplicated| Method Detail |
public AbstractGraphFactory getFactory()
getFactory in class AbstractGraphSetpublic boolean add(Graph o)
o - the graph that must be added in the set.
public boolean remove(Graph o)
o - the graph that must be removed in the set.
public String getDOMTagHierarchy()
getDOMTagHierarchy in interface MascoptWritableInterfacegetDOMTagHierarchy in class MascoptFixedSetpublic String getDOMTagName()
getDOMTagName in interface MascoptWritableInterfacegetDOMTagName in class MascoptFixedSet
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||