Package cern.nxcals.api.domain
Class EntityQuery
- java.lang.Object
-
- cern.nxcals.api.domain.EntityQuery
-
public class EntityQuery extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description EntityQuery(@NonNull java.util.Map<java.lang.String,java.lang.Object> keyValues)
EntityQuery(@NonNull java.util.Map<java.lang.String,java.lang.Object> keyValues, @NonNull java.util.Map<java.lang.String,java.lang.Object> keyValuesLike)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NonNull java.util.Map<java.lang.String,java.lang.Object>
getKeyValues()
@NonNull java.util.Map<java.lang.String,java.lang.Object>
getKeyValuesLike()
boolean
hasPatterns()
java.util.Map<java.lang.String,java.lang.Object>
toMap()
Return key values and key values patterns as one map.
-
-
-
Constructor Detail
-
EntityQuery
public EntityQuery(@NonNull @NonNull java.util.Map<java.lang.String,java.lang.Object> keyValues)
-
EntityQuery
public EntityQuery(@NonNull @NonNull java.util.Map<java.lang.String,java.lang.Object> keyValues, @NonNull @NonNull java.util.Map<java.lang.String,java.lang.Object> keyValuesLike)
-
-
Method Detail
-
toMap
public java.util.Map<java.lang.String,java.lang.Object> toMap()
Return key values and key values patterns as one map. Values from keyValues have escaped wildcard characters if are String- Returns:
- map with key-values and patterns
-
hasPatterns
public boolean hasPatterns()
-
getKeyValues
@NonNull public @NonNull java.util.Map<java.lang.String,java.lang.Object> getKeyValues()
-
getKeyValuesLike
@NonNull public @NonNull java.util.Map<java.lang.String,java.lang.Object> getKeyValuesLike()
-
-