Spring Data Graph

org.springframework.data.graph.core
Interface GraphBacked<STATE>

All Known Subinterfaces:
NodeBacked, RelationshipBacked

public interface GraphBacked<STATE>

super interface denoting entities that are graph backed, the backing STATE can be a Node or a Relationship. Subclasses of this interface bind the type parameter to a concrete Node or Relationship state.

Since:
21.09.2010
Author:
Michael Hunger

Method Summary
 STATE getPersistentState()
           
 void setPersistentState(STATE state)
          internal setter used for initializing the graph-db state on existing or newly created entities
 

Method Detail

setPersistentState

void setPersistentState(STATE state)
internal setter used for initializing the graph-db state on existing or newly created entities

Parameters:
state - (Node or Relationship)

getPersistentState

STATE getPersistentState()
Returns:
the underlying graph-db state or null if the current entity is not related to the graph-store (possible with unsaved or partial entities)

Spring Data Graph

Copyright © 2011. All Rights Reserved.