org.modeshape.connector.store.jpa.model.simple
Class SubgraphNodeEntity
java.lang.Object
org.modeshape.connector.store.jpa.model.simple.SubgraphNodeEntity
public class SubgraphNodeEntity
- extends Object
Represents a single node that appears in a subgraph.
- See Also:
SubgraphQueryEntity
SubgraphNodeEntity
public SubgraphNodeEntity()
SubgraphNodeEntity
public SubgraphNodeEntity(Long queryId,
String nodeUuid,
int depth)
getId
public Long getId()
- Returns:
- id
getDepth
public int getDepth()
- Returns:
- depth
getNodeUuid
public String getNodeUuid()
- Returns:
- nodeUuid
getQueryId
public Long getQueryId()
- Returns:
- queryId
getIndexInParent
public int getIndexInParent()
- Returns:
- indexInParent
getParentIndexInParent
public int getParentIndexInParent()
- Returns:
- parentIndexInParent
hashCode
public int hashCode()
-
- Overrides:
hashCode
in class Object
- See Also:
Object.hashCode()
equals
public boolean equals(Object obj)
-
- Overrides:
equals
in class Object
- See Also:
Object.equals(java.lang.Object)
toString
public String toString()
-
- Overrides:
toString
in class Object
- See Also:
Object.toString()
Copyright © 2008-2010 JBoss, a division of Red Hat. All Rights Reserved.