Class IncludeAllProperties<T extends Entity>
- java.lang.Object
-
- com.graphaware.common.policy.inclusion.all.IncludeAllProperties<T>
-
- All Implemented Interfaces:
InclusionPolicy
,PropertyInclusionPolicy<T>
- Direct Known Subclasses:
IncludeAllNodeProperties
,IncludeAllRelationshipProperties
public abstract class IncludeAllProperties<T extends Entity> extends Object implements PropertyInclusionPolicy<T>
Base-class forPropertyInclusionPolicy
s that includes all properties.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
IncludeAllProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
include(String key, T t)
Should a property with the given key of the given entity be included?
-
-
-
Method Detail
-
include
public boolean include(String key, T t)
Description copied from interface:PropertyInclusionPolicy
Should a property with the given key of the given entity be included?- Specified by:
include
in interfacePropertyInclusionPolicy<T extends Entity>
- Parameters:
key
- of the property.t
- containing the property.- Returns:
- true iff the property should be included.
-
-