Interface DetachedPropertiesDescription
-
- All Superinterfaces:
MutuallyExclusive<PropertiesDescription>
,PartiallyComparable<PropertiesDescription>
,PropertiesDescription
- All Known Implementing Classes:
BaseDetachedPropertiesDescription
,LiteralPropertiesDescription
,WildcardPropertiesDescription
public interface DetachedPropertiesDescription extends PropertiesDescription
APropertiesDescription
that must be detached from the database, i.e. store its own data internally rather than referring to an underlyingEntity
. It is immutable; once instantiated, new instances with differentPredicate
s can be constructed using thewith(String, Predicate)
method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DetachedPropertiesDescription
with(String propertyKey, Predicate predicate)
Construct a new description from this description by adding/replacing a predicate with a new one.-
Methods inherited from interface com.graphaware.common.description.MutuallyExclusive
isMutuallyExclusive
-
Methods inherited from interface com.graphaware.common.description.PartiallyComparable
isMoreGeneralThan, isMoreSpecificThan
-
Methods inherited from interface com.graphaware.common.description.property.PropertiesDescription
get, getKeys
-
-
-
-
Method Detail
-
with
DetachedPropertiesDescription with(String propertyKey, Predicate predicate)
Construct a new description from this description by adding/replacing a predicate with a new one.- Parameters:
propertyKey
- key of the property the predicate is for.predicate
- the predicate.- Returns:
- a new instance of properties description.
-
-