Interface RelationshipInclusionPolicy
-
- All Superinterfaces:
EntityInclusionPolicy<Relationship>
,InclusionPolicy
,ObjectInclusionPolicy<Relationship>
- All Known Implementing Classes:
BaseIncludeRelationships
,BaseRelationshipInclusionPolicy
,CompositeRelationshipInclusionPolicy
,IncludeAllRelationships
,IncludeNoRelationships
,IncludeRelationships
,RelationshipInclusionPolicy.Adapter
,SpelRelationshipInclusionPolicy
public interface RelationshipInclusionPolicy extends EntityInclusionPolicy<Relationship>
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
RelationshipInclusionPolicy.Adapter
Adapter for implementations that don't care about which node is looking at the relationship.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
include(Relationship relationship, Node pointOfView)
Include the given relationships from the given node's point of view?-
Methods inherited from interface com.graphaware.common.policy.inclusion.EntityInclusionPolicy
getAll
-
Methods inherited from interface com.graphaware.common.policy.inclusion.ObjectInclusionPolicy
include
-
-
-
-
Method Detail
-
include
boolean include(Relationship relationship, Node pointOfView)
Include the given relationships from the given node's point of view?- Parameters:
relationship
- to make a decision on.pointOfView
- node looking at the relationship. Must be one of the relationship's nodes.- Returns:
- true to include, false to exclude.
-
-