de.grogra.imp
public abstract class GraphDescriptor extends java.lang.Object implements Manageable
GraphDescriptor represents the persistent information
which is needed to obtain a specific Graph
in the context of a View.| Modifier and Type | Class and Description |
|---|---|
static class |
GraphDescriptor.Type |
| Modifier and Type | Field and Description |
|---|---|
static GraphDescriptor.Type |
$TYPE |
| Constructor and Description |
|---|
GraphDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
fieldModified(PersistenceField field,
int[] indices,
Transaction t) |
abstract Graph |
getGraph(View view)
Returns the graph described by this descriptor, given the context
view. |
Path |
getPathFor(View view,
GraphState gs,
java.lang.Object obj,
boolean node) |
int |
getStamp()
Returns a stamp for this object.
|
Manageable |
manageableReadResolve() |
java.lang.Object |
manageableWriteReplace() |
void |
substituteSelection(GraphState[] gs,
java.lang.Object[] object,
boolean[] asNode,
int index) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetManageableTypepublic static final GraphDescriptor.Type $TYPE
public void fieldModified(PersistenceField field, int[] indices, Transaction t)
fieldModified in interface Manageablepublic abstract Graph getGraph(View view)
view.view - the context for the graphpublic Path getPathFor(View view, GraphState gs, java.lang.Object obj, boolean node)
public int getStamp()
ManageablegetStamp in interface Manageablepublic Manageable manageableReadResolve()
manageableReadResolve in interface Manageablepublic java.lang.Object manageableWriteReplace()
manageableWriteReplace in interface Manageablepublic void substituteSelection(GraphState[] gs, java.lang.Object[] object, boolean[] asNode, int index)