Class WhereProperty
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<WhereProperty.ClauseType,Collection<String>>
org.alfresco.rest.framework.resource.parameters.where.WhereProperty
- All Implemented Interfaces:
Serializable,Cloneable,Map<WhereProperty.ClauseType,Collection<String>>
Map composed of property comparison type and compared values.
Map key is clause (comparison) type.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic classstatic classNested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Constructor Summary
ConstructorsConstructorDescriptionWhereProperty(String name, WhereProperty.ClauseType clauseType, Collection<String> values) WhereProperty(String name, WhereProperty.ClauseType clauseType, Collection<String> values, boolean validateStrictly) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddValuesToType(WhereProperty.ClauseType clauseType, Collection<String> values) booleancontainsAllTypes(WhereProperty.ClauseType... clauseType) booleancontainsAnyOfTypes(WhereProperty.ClauseType... clauseType) booleancontainsType(int clauseType, boolean negated) booleancontainsType(WhereProperty.ClauseType clauseType) getExpectedValuesFor(int clauseType) getExpectedValuesFor(int clauseType, boolean negated) getExpectedValuesFor(WhereProperty.ClauseType clauseType) getExpectedValuesForAllOf(int... clauseTypes) getExpectedValuesForAllOf(WhereProperty.ClauseType... clauseTypes) getExpectedValuesForAnyOf(int... clauseTypes) getExpectedValuesForAnyOf(WhereProperty.ClauseType... clauseTypes) getName()Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesMethods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Constructor Details
-
WhereProperty
-
WhereProperty
public WhereProperty(String name, WhereProperty.ClauseType clauseType, Collection<String> values, boolean validateStrictly)
-
-
Method Details
-
getName
-
addValuesToType
-
containsType
-
containsType
public boolean containsType(int clauseType, boolean negated) -
containsAllTypes
-
containsAnyOfTypes
-
getExpectedValuesFor
-
getExpectedValuesForAllOf
public HashMap<WhereProperty.ClauseType,Collection<String>> getExpectedValuesForAllOf(WhereProperty.ClauseType... clauseTypes) -
getExpectedValuesForAnyOf
public HashMap<WhereProperty.ClauseType,Collection<String>> getExpectedValuesForAnyOf(WhereProperty.ClauseType... clauseTypes) -
getExpectedValuesFor
-
getExpectedValuesFor
-
getExpectedValuesForAllOf
-
getExpectedValuesForAnyOf
-