java.lang.Object
de.grogra.imp.GraphDescriptor
- All Implemented Interfaces:
Manageable
- Direct Known Subclasses:
CustomGraphDescriptor
,FilterDescriptor
,GraphObjectDescriptor
,MetaGraphDescriptor
,ProjectGraphDescriptor
A
GraphDescriptor
represents the persistent information
which is needed to obtain a specific Graph
in the context of a View
.- Author:
- Ole Kniemeyer
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
fieldModified
(PersistenceField field, int[] indices, Transaction t) abstract Graph
Returns the graph described by this descriptor, given the contextview
.getPathFor
(View view, GraphState gs, Object obj, boolean node) int
getStamp()
Returns a stamp for this object.void
substituteSelection
(GraphState[] gs, Object[] object, boolean[] asNode, int index) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface de.grogra.persistence.Manageable
getManageableType
-
Field Details
-
$TYPE
-
-
Constructor Details
-
GraphDescriptor
public GraphDescriptor()
-
-
Method Details
-
fieldModified
- Specified by:
fieldModified
in interfaceManageable
-
getStamp
public int getStamp()Description copied from interface:Manageable
Returns a stamp for this object. Each modification to this object increments the stamp. The initial stamp is non-negative.- Specified by:
getStamp
in interfaceManageable
- Returns:
- a stamp
-
manageableReadResolve
- Specified by:
manageableReadResolve
in interfaceManageable
-
manageableWriteReplace
- Specified by:
manageableWriteReplace
in interfaceManageable
-
getGraph
Returns the graph described by this descriptor, given the contextview
.- Parameters:
view
- the context for the graph- Returns:
- graph corresponding to this descriptor
-
substituteSelection
-
getPathFor
-