org.limitless.nmc.Prototype1
Class ObjectToRelationMap
java.lang.Object
org.limitless.nmc.Prototype1.ObjectToRelationMap
public class ObjectToRelationMap
- extends java.lang.Object
This holds all the relations for a given VR Object. As new relations
are added and existing ones are destroyed, this needs to be kept
accurate.
This is the basis for determinig what relations are notified as
objects are destroyed.
See 4.4.1.3.2 for details.
- Version:
- 1.0
- Author:
- Brian Jones
|
Field Summary |
private java.util.Set |
relationObjects
This holds RelationObject objects, such that they refer
to the same object this was reached by traversing from. |
|
Method Summary |
(package private) java.util.Set |
getAllRelations()
Simple accessor to allow manual procesing of the set. |
boolean |
processRelationObject(RelationObject r)
RelationObjects are given to this anytime they get changed
so that this is updated (and if needed, eliminated). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
relationObjects
private java.util.Set relationObjects
- This holds RelationObject objects, such that they refer
to the same object this was reached by traversing from.
ObjectToRelationMap
public ObjectToRelationMap()
processRelationObject
public boolean processRelationObject(RelationObject r)
- RelationObjects are given to this anytime they get changed
so that this is updated (and if needed, eliminated).
- Parameters:
r - Relation object to examine
- Returns:
- TRUE if this is now ready for being removed
getAllRelations
java.util.Set getAllRelations()
- Simple accessor to allow manual procesing of the set.
- Returns:
Copyright © 1995, 2004 Limitless Knowledge Association, All Rights Reserved.