Interface IRelationshipType
-
- All Known Implementing Classes:
RelationshipType
public interface IRelationshipType
RelationshipType is a kind of relationship between two nodes.- Since:
- 7.0.0
- Version:
- $Revision: 15056 $ $Date: 2012-11-29 18:51:41 -0200 (Thu, 29 Nov 2012) $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getId()
Gets the IRelationshipType identifier.String
getName()
Gets the display name to source.String
getReverseName()
Gets the display name to target.Collection<String>
getSourceTypes()
Gets all sources type.Collection<String>
getTargetTypes()
Gets all targets type.Boolean
isBidirectional()
Gets if the relationship is bidirectional.
-
-
-
Method Detail
-
getId
String getId()
Gets the IRelationshipType identifier.- Returns:
- string
- Since:
- 7.0.0
-
getName
String getName()
Gets the display name to source.- Returns:
- string
- Since:
- 7.0.0
-
getReverseName
String getReverseName()
Gets the display name to target.- Returns:
- string
- Since:
- 7.0.0
-
isBidirectional
Boolean isBidirectional()
Gets if the relationship is bidirectional.- Returns:
- true or false.
- Since:
- 7.0.0
-
getSourceTypes
Collection<String> getSourceTypes()
Gets all sources type.- Returns:
- set of string.
- Since:
- 7.0.0
-
getTargetTypes
Collection<String> getTargetTypes()
Gets all targets type.- Returns:
- set of string.
- Since:
- 7.0.0
-
-