public class OutputFilter extends UC4Object implements Iterable<OutputFilter.Entry>
Modifier and Type | Class and Description |
---|---|
static class |
OutputFilter.Entry
This class represents a single filter definition in an
OutputFilter object. |
static class |
OutputFilter.Operator
Operator.
|
Constructor and Description |
---|
OutputFilter() |
Modifier and Type | Method and Description |
---|---|
void |
add(OutputFilter.Entry filterEntry)
Adds a new filter definition.
|
OutputFilter.Operator |
getOperator()
Returns the operator which is used to combine the filter in this object.
|
Header |
header()
Returns the header data of this object.
|
boolean |
isExecutable()
Returns
true if this Object can be executed. |
Iterator<OutputFilter.Entry> |
iterator()
Iterator which can be used to read the filter or remove them using Iterator.remove().
|
void |
removeAllFilters()
Removes all existing filters.
|
void |
setOperator(OutputFilter.Operator operator)
Sets the operator which is used to combine the filter in this object.
|
int |
size() |
docu, getAccess, getIdnr, getModCount, getName, getType, isOldVersion, load, store, validate
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public Header header()
public OutputFilter.Operator getOperator()
public int size()
public Iterator<OutputFilter.Entry> iterator()
iterator
in interface Iterable<OutputFilter.Entry>
OutputFilter.Entry
.public void add(OutputFilter.Entry filterEntry)
filterEntry
- Filterpublic void removeAllFilters()
public void setOperator(OutputFilter.Operator operator)
operator
- Enum "AND" or "OR"public boolean isExecutable()
UC4Object
true
if this Object can be executed.isExecutable
in class UC4Object
Copyright © 2021. All rights reserved.