public class AttributeFilterChain extends Object
| Constructor and Description |
|---|
AttributeFilterChain()
Create an empty
AttributeFilterChain. |
AttributeFilterChain(AttributeFilter filter)
Create an
AttributeFilterChain with filter added to it. |
AttributeFilterChain(List<AttributeFilter> filters)
Create an
AttributeFilterChain with filters added to it. |
| Modifier and Type | Method and Description |
|---|---|
AttributeFilterChain |
addFirst(AttributeFilter... attributeFilters)
Add
attributeFilters (sequentially) to the front of this filter chain. |
AttributeFilterChain |
addFirst(AttributeFilter attributeFilter)
Add
attributeFilter to the front of this filter chain. |
AttributeFilterChain |
addFirst(Collection<AttributeFilter> attributeFilters)
Add
attributeFilters (sequentially) to the front of this filter chain. |
AttributeFilterChain |
addLast(AttributeFilter... attributeFilters)
Add
attributeFilters (sequentially) to the end of this filter chain. |
AttributeFilterChain |
addLast(AttributeFilter attributeFilter)
Add
attributeFilter to the end of this filter chain. |
AttributeFilterChain |
addLast(Collection<AttributeFilter> attributeFilters)
Add
attributeFilters (sequentially) to the end of this filter chain. |
Object |
getAttribute(@Nullable Session session,
UaNode node,
AttributeId attributeId)
Get the value for the attribute identified by
attributeId from node. |
Object |
getAttribute(UaNode node,
AttributeId attributeId)
Get the value for the attribute identified by
attributeId from node. |
List<AttributeFilter> |
getFilters()
Get a List containing all the
AttributeFilters belonging to this chain. |
void |
setAttribute(@Nullable Session session,
UaNode node,
AttributeId attributeId,
Object value)
Set the value for the attribute identified by
attributeId. |
void |
setAttribute(UaNode node,
AttributeId attributeId,
Object value)
Set the value for the attribute identified by
attributeId. |
public AttributeFilterChain()
AttributeFilterChain.public AttributeFilterChain(AttributeFilter filter)
AttributeFilterChain with filter added to it.filter - the filter to add.public AttributeFilterChain(List<AttributeFilter> filters)
AttributeFilterChain with filters added to it.filters - the filters to add.public Object getAttribute(UaNode node, AttributeId attributeId)
attributeId from node.node - the UaNode to get the attribute value from.attributeId - the AttributeId of the attribute to get the value of.attributeId from node.public Object getAttribute(@Nullable @Nullable Session session, UaNode node, AttributeId attributeId)
attributeId from node.session - the Session the attribute request is originating from, if there is one.node - the UaNode to get the attribute value from.attributeId - the AttributeId of the attribute to get the value of.attributeId from node.public void setAttribute(UaNode node, AttributeId attributeId, Object value)
attributeId.node - the UaNode to set the attribute value on.attributeId - the AttributeId of the attribute to set the value of.value - the value to set.public void setAttribute(@Nullable
@Nullable Session session,
UaNode node,
AttributeId attributeId,
Object value)
attributeId.session - the Session the attribute request is originating from, if there is one.node - the UaNode to set the attribute value on.attributeId - the AttributeId of the attribute to set the value of.value - the value to set.public AttributeFilterChain addFirst(AttributeFilter attributeFilter)
attributeFilter to the front of this filter chain.attributeFilter - the AttributeFilter to add.AttributeFilterChain.public AttributeFilterChain addFirst(AttributeFilter... attributeFilters)
attributeFilters (sequentially) to the front of this filter chain.attributeFilters - the AttributeFilters to add.AttributeFilterChain.public AttributeFilterChain addFirst(Collection<AttributeFilter> attributeFilters)
attributeFilters (sequentially) to the front of this filter chain.attributeFilters - the AttributeFilters to add.AttributeFilterChain.public AttributeFilterChain addLast(AttributeFilter attributeFilter)
attributeFilter to the end of this filter chain.attributeFilter - the AttributeFilter to add.AttributeFilterChain.public AttributeFilterChain addLast(AttributeFilter... attributeFilters)
attributeFilters (sequentially) to the end of this filter chain.attributeFilters - the AttributeFilters to add.AttributeFilterChain.public AttributeFilterChain addLast(Collection<AttributeFilter> attributeFilters)
attributeFilters (sequentially) to the end of this filter chain.attributeFilters - the AttributeFilters to add.AttributeFilterChain.public List<AttributeFilter> getFilters()
AttributeFilters belonging to this chain.AttributeFilters belonging to this chain.Copyright © 2021. All rights reserved.