public class Relationship extends Object implements Serializable, IRelationship
| Constructor and Description |
|---|
Relationship(IDBContainer db,
Document doc,
Date when) |
| Modifier and Type | Method and Description |
|---|---|
INode |
getEndNode() |
String |
getId() |
List<INode> |
getNodes() |
INode |
getOtherNode(INode node) |
Document |
getProperties() |
String |
getType() |
void |
setLastUpdate(Date date) |
void |
setProperties(Document values) |
public Relationship(IDBContainer db, Document doc, Date when) throws Exception
Exceptionpublic String getId()
getId in interface IRelationshippublic List<INode> getNodes()
getNodes in interface IRelationshippublic INode getOtherNode(INode node)
getOtherNode in interface IRelationshippublic void setLastUpdate(Date date)
setLastUpdate in interface IRelationshippublic String getType() throws Exception
getType in interface IRelationshipExceptionpublic Document getProperties()
getProperties in interface IRelationshippublic INode getEndNode()
getEndNode in interface IRelationshippublic void setProperties(Document values)
setProperties in interface IRelationshipCopyright © 2021. All rights reserved.