Class IncludeNoProperties<T extends Entity>
- java.lang.Object
-
- com.graphaware.common.policy.inclusion.none.IncludeNoProperties<T>
-
- All Implemented Interfaces:
InclusionPolicy
,PropertyInclusionPolicy<T>
- Direct Known Subclasses:
IncludeNoNodeProperties
,IncludeNoRelationshipProperties
public abstract class IncludeNoProperties<T extends Entity> extends Object implements PropertyInclusionPolicy<T>
PropertyInclusionPolicy
that excludes all properties.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
IncludeNoProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
include(String key, T entity)
Should a property with the given key of the given entity be included?
-
-
-
Method Detail
-
include
public final boolean include(String key, T entity)
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.entity
- containing the property.- Returns:
- true iff the property should be included.
-
-