public class FilterEntry extends GroupEntity
Filter
that is saved in the database for later useModifier and Type | Class and Description |
---|---|
static class |
FilterEntry.Builder<T extends FilterEntry.Builder<T>> |
Jsonifiable.JsonMapper
name
attributes, remote
Modifier and Type | Method and Description |
---|---|
Optional<?> |
attribute(String attributePath)
Returns the value of the attribute with the specified attribute path.
|
PageIterator<Device> |
devices(int pageSize) |
boolean |
equals(Object obj) |
Filter |
filter()
Returns the actual filter.
|
PageIterator<Gateway> |
gateways(int pageSize) |
int |
hashCode() |
static FilterEntry.Builder<?> |
newBuilder(DeviceInventoryRemote remote) |
CompletionStage<Void> |
setFilter(Filter filter)
Change the filter entry search query.
|
CompletionStage<Void> |
setName(String name)
Change the name of this filter entry.
|
String |
toString() |
name
attributes, canonize, created, definition, deleteAttribute, deleteAttributes, identifier, modified, revision, setAttribute, setAttributes
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
toJsonString
public Optional<?> attribute(String attributePath)
Entity
map
value,
you can invoke this method with the argument "example/key" and receive the value associated with the "key" directly.attribute
in class GroupEntity
attributePath
- the attribute pathOptional
containing the value of the attribute with the specified attribute pathpublic static FilterEntry.Builder<?> newBuilder(DeviceInventoryRemote remote)
public Filter filter()
public PageIterator<Device> devices(int pageSize)
public PageIterator<Gateway> gateways(int pageSize)
public CompletionStage<Void> setName(String name)
name
- the new name for the tagCompletionStage
providing the result of the operationpublic CompletionStage<Void> setFilter(Filter filter)
filter
- the new search queryCompletionStage
providing the result of the operationpublic int hashCode()
hashCode
in class GroupEntity
public boolean equals(Object obj)
equals
in class GroupEntity
Copyright © 2022 Bosch.IO GmbH. All rights reserved.