Class QueryOnMetadataImpl
java.lang.Object
com.kazurayam.materialstore.core.QueryOnMetadata
com.kazurayam.materialstore.core.metadata.QueryOnMetadataImpl
- All Implemented Interfaces:
Jsonifiable
,TemplateReady
-
Nested Class Summary
Nested classes/interfaces inherited from class com.kazurayam.materialstore.core.QueryOnMetadata
QueryOnMetadata.Builder
-
Field Summary
Fields inherited from class com.kazurayam.materialstore.core.QueryOnMetadata
ANY, NULL_OBJECT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsKey
(String key) entrySet()
getAsString
(String key) getQueryIdentification
(SortKeys sortKeys) boolean
isEmpty()
keySet()
boolean
Returns true if this QueryOnMetadata has one or more entries that matches with one or more entries in the given Metadata.int
size()
toJson()
toJson
(boolean prettyPrint) toString()
Methods inherited from class com.kazurayam.materialstore.core.QueryOnMetadata
builder, builder, builder, builder, builder
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.kazurayam.materialstore.core.TemplateReady
toTemplateModel, toTemplateModelAsJson, toTemplateModelAsJson
-
Constructor Details
-
QueryOnMetadataImpl
-
-
Method Details
-
containsKey
- Specified by:
containsKey
in classQueryOnMetadata
-
get
- Specified by:
get
in classQueryOnMetadata
-
getAsString
- Specified by:
getAsString
in classQueryOnMetadata
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in classQueryOnMetadata
-
keySet
- Specified by:
keySet
in classQueryOnMetadata
-
size
public int size()- Specified by:
size
in classQueryOnMetadata
-
entrySet
- Specified by:
entrySet
in classQueryOnMetadata
-
matches
Returns true if this QueryOnMetadata has one or more entries that matches with one or more entries in the given Metadata. Returns false if this QueryOnMetadata has no entry that matches with any of entries in the given Metadata.- Specified by:
matches
in classQueryOnMetadata
-
toJSONTextTokens
- Specified by:
toJSONTextTokens
in classQueryOnMetadata
-
toString
-
toJson
-
toJson
-
getQueryIdentification
- Specified by:
getQueryIdentification
in classQueryOnMetadata
-
getQueryIdentification
- Specified by:
getQueryIdentification
in classQueryOnMetadata
-