|
OracleVirtual Directory Java API Reference 11g Release 1 (11.1.1) E10688-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<Filter>
com.octetstring.ldapv3.Filter_or
public class Filter_or
Implementation of the ASN.1 type com.octetstring.ldapv3.Filter_or.
Constructor Summary | |
---|---|
Filter_or() Constructor for creating an empty list. |
|
Filter_or(java.util.Collection<Filter> value) Constructor for creating a list from a collection. |
|
Filter_or(Filter[] value) Constructor for creating a list from an array. |
Method Summary | |
---|---|
void |
addElement(Filter item) Appends an element to the end of the list. |
void |
addElement(int index, Filter item) Inserts an element at a specified position into the list. |
boolean |
containsElement(Filter element) Checks weather an element is in the list. |
Filter |
copyFilter() |
java.lang.String |
filterToString() |
java.lang.Object |
getContents() |
Filter |
getElement(int index) Get an element at a specified position from the list. |
java.lang.String |
getTarget() |
int |
indexOfElement(Filter element) Searches for the first occurence of an element in the list. |
boolean |
isAnd() |
boolean |
isNot() |
boolean |
isOr() |
int |
lastIndexOfElement(Filter element) Searches for the last occurence of an element in the list. |
void |
print(java.io.PrintWriter out, java.lang.String indent, java.lang.String prefix, java.lang.String suffix, int flags) Print a value in a formatted manner. |
void |
setContents(java.lang.Object filter) |
void |
setContents(java.lang.String name, java.lang.String op, java.lang.String val) |
Filter |
setElement(int index, Filter element) Replaces an element at a specified position in the list. |
java.lang.String |
toString() Convert the value into a java.lang.String. |
Methods inherited from class java.util.ArrayList |
---|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, set, size, toArray, toArray, trimToSize |
Methods inherited from class java.util.AbstractList |
---|
equals, hashCode, iterator, listIterator, listIterator, subList |
Methods inherited from class java.util.AbstractCollection |
---|
containsAll, removeAll, retainAll |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList |
Constructor Detail |
---|
public Filter_or()
public Filter_or(java.util.Collection<Filter> value)
value
- The collection which values are copied.public Filter_or(Filter[] value)
value
- The array which values are copied.Method Detail |
---|
public void addElement(Filter item)
item
- The element to add.public void addElement(int index, Filter item)
index
- The position where to insert the element.item
- The element to insert.public Filter getElement(int index)
index
- The position of the element to retrieve.public boolean containsElement(Filter element)
element
- The element to search in the list.public int indexOfElement(Filter element)
element
- The element to search in the list.public int lastIndexOfElement(Filter element)
element
- The element to search in the list.public Filter setElement(int index, Filter element)
index
- The index of the element to be replaced.element
- The element to put in the list.public java.lang.String toString()
toString
in class java.util.AbstractCollection<Filter>
public void print(java.io.PrintWriter out, java.lang.String indent, java.lang.String prefix, java.lang.String suffix, int flags)
out
- Where to send the output to.indent
- A string which is printed on every output line.prefix
- A string which is printed (behind the indent) on the first output line.suffix
- A string which is printed at the end of the last output line.flags
- Flags for output, reserved for future use.public boolean isAnd()
isAnd
in interface Filter
public boolean isOr()
isOr
in interface Filter
public boolean isNot()
isNot
in interface Filter
public java.lang.Object getContents()
getContents
in interface Filter
public void setContents(java.lang.String name, java.lang.String op, java.lang.String val) throws DirectoryException
setContents
in interface Filter
DirectoryException
public java.lang.String getTarget()
getTarget
in interface Filter
public void setContents(java.lang.Object filter)
setContents
in interface Filter
public Filter copyFilter()
copyFilter
in interface Filter
public java.lang.String filterToString()
filterToString
in interface Filter
|
OracleVirtual Directory Java API Reference 11g Release 1 (11.1.1) E10688-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |