i3.dragos.gm.core.proxy
Class NodeProxy

java.lang.Object
  extended by i3.dragos.gm.core.proxy.GraphEntityProxy
      extended by i3.dragos.gm.core.proxy.NodeProxy
All Implemented Interfaces:
GraphEntity, Node, ExistenceCheckable, MetaAttributable

public class NodeProxy
extends GraphEntityProxy
implements Node

A NodeProxy delegates all method calls to the underlying node except for those that access fields which are used after a node has been deleted.

Author:
Boris Boehlen <boehlen@cs.rwth-aachen.de>

Field Summary
 
Fields inherited from class i3.dragos.gm.core.proxy.GraphEntityProxy
proxiedEntity
 
Constructor Summary
NodeProxy(Node n)
          Constructs a new wrapper for a node.
 
Method Summary
 NodeClass getNodeClass()
          Returns the NodeClass.
 
Methods inherited from class i3.dragos.gm.core.proxy.GraphEntityProxy
checkExistence, checkExistenceOptional, equals, getAdjacentGraphEntities, getAdjacentRelations, getAdjacentRelations, getAllMetaAttributes, getAllValidAttributeValues, getAttributeValue, getDataSourceURL, getEdges, getEdges, getGraphEntityClass, getInternalIdentifier, getMetaAttribute, getParent, getProxyGraphEntity, getRelationEnds, getRelationEnds, getRelationEnds, getWrappedGraphEntity, hashCode, isAttributeValid, isIncident, isIncident, isMetaAttributeKeyReserved, isMetaAttributeSet, putAttributeValue, setAttributeInvalid, setMetaAttribute, toString, unsetMetaAttribute
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface i3.dragos.gm.core.GraphEntity
equals, getAdjacentGraphEntities, getAdjacentRelations, getAdjacentRelations, getAllValidAttributeValues, getAttributeValue, getDataSourceURL, getEdges, getEdges, getGraphEntityClass, getInternalIdentifier, getParent, getRelationEnds, getRelationEnds, getRelationEnds, getWrappedGraphEntity, hashCode, isAttributeValid, isIncident, isIncident, putAttributeValue, setAttributeInvalid
 
Methods inherited from interface i3.dragos.gm.core.schema.MetaAttributable
getAllMetaAttributes, getMetaAttribute, isMetaAttributeKeyReserved, isMetaAttributeSet, setMetaAttribute, unsetMetaAttribute
 
Methods inherited from interface i3.dragos.gm.core.schema.ExistenceCheckable
checkExistence, checkExistenceOptional
 

Constructor Detail

NodeProxy

public NodeProxy(Node n)
Constructs a new wrapper for a node.

Parameters:
n - The wrapped node.
Method Detail

getNodeClass

public NodeClass getNodeClass()
                       throws DragosException
Returns the NodeClass.

Specified by:
getNodeClass in interface Node
Returns:
the node class.
Throws:
DragosException - if something went wrong.


Copyright © 2002-2008 RWTH Aachen, Department of Computer Science 3 (Software Engineering). All Rights Reserved.