|
Oracle Virtual Directory Java API Reference 11g Release 1 (11.1.1) E10688-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.octetstring.ldapv3.Filter
public class Filter
Implementation of the ASN.1 type com.octetstring.ldapv3.Filter.
Field Summary | |
---|---|
static byte |
AND_SELECTED Selector for the variant and. |
static byte |
APPROXMATCH_SELECTED Selector for the variant approxMatch. |
static byte |
EQUALITYMATCH_SELECTED Selector for the variant equalityMatch. |
static byte |
EXTENSIBLEMATCH_SELECTED Selector for the variant extensibleMatch. |
static byte |
GREATEROREQUAL_SELECTED Selector for the variant greaterOrEqual. |
static byte |
LESSOREQUAL_SELECTED Selector for the variant lessOrEqual. |
static byte |
NOT_SELECTED Selector for the variant not. |
static byte |
OR_SELECTED Selector for the variant or. |
static byte |
PRESENT_SELECTED Selector for the variant present. |
static byte |
SUBSTRINGS_SELECTED Selector for the variant substrings. |
Constructor Summary | |
---|---|
Filter() |
|
Filter(byte selector, com.asn1c.core.ASN1Object value) Constructor. |
|
Filter(Filter value) Copy constructor. |
Method Summary | |
---|---|
Filter |
copy() |
Filter |
copyFilter() |
java.lang.String |
filterToString() |
Filter_and |
getAnd() Gets the value of the and variant. |
com.octetstring.ldapv3.AttributeValueAssertion |
getApproxMatch() Gets the value of the approxMatch variant. |
java.lang.Object |
getContents() |
com.octetstring.ldapv3.AttributeValueAssertion |
getEqualityMatch() Gets the value of the equalityMatch variant. |
com.octetstring.ldapv3.MatchingRuleAssertion |
getExtensibleMatch() Gets the value of the extensibleMatch variant. |
com.octetstring.ldapv3.AttributeValueAssertion |
getGreaterOrEqual() Gets the value of the greaterOrEqual variant. |
com.octetstring.ldapv3.AttributeValueAssertion |
getLessOrEqual() Gets the value of the lessOrEqual variant. |
Filter |
getNot() Gets the value of the not variant. |
Filter_or |
getOr() Gets the value of the or variant. |
com.asn1c.core.OctetString |
getPresent() Gets the value of the present variant. |
byte |
getSelector() Gets the variant's selector. |
SubstringFilter |
getSubstrings() Gets the value of the substrings variant. |
java.lang.String |
getTarget() |
com.asn1c.core.ASN1Object |
getValue() Gets the variant's value. |
boolean |
isAnd() |
boolean |
isNot() |
boolean |
isOr() |
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 |
readFromFilter(Filter f) Allows the current filter to absorb a new filter |
void |
setAnd(Filter_and val) Sets the value for the and variant. |
void |
setApproxMatch(com.octetstring.ldapv3.AttributeValueAssertion val) Sets the value for the approxMatch variant. |
void |
setContents(java.lang.Object filter) |
void |
setContents(java.lang.String name, java.lang.String op, java.lang.String val) |
void |
setEqualityMatch(com.octetstring.ldapv3.AttributeValueAssertion val) Sets the value for the equalityMatch variant. |
void |
setExtensibleMatch(com.octetstring.ldapv3.MatchingRuleAssertion val) Sets the value for the extensibleMatch variant. |
void |
setFilter(Filter filter) |
void |
setGreaterOrEqual(com.octetstring.ldapv3.AttributeValueAssertion val) Sets the value for the greaterOrEqual variant. |
void |
setLessOrEqual(com.octetstring.ldapv3.AttributeValueAssertion val) Sets the value for the lessOrEqual variant. |
void |
setNot(Filter val) Sets the value for the not variant. |
void |
setOr(Filter_or val) Sets the value for the or variant. |
void |
setPresent(com.asn1c.core.OctetString val) Sets the value for the present variant. |
void |
setSubstrings(SubstringFilter val) Sets the value for the substrings variant. |
java.lang.String |
toString() Convert the value into a java.lang.String. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final byte AND_SELECTED
public static final byte OR_SELECTED
public static final byte NOT_SELECTED
public static final byte EQUALITYMATCH_SELECTED
public static final byte SUBSTRINGS_SELECTED
public static final byte GREATEROREQUAL_SELECTED
public static final byte LESSOREQUAL_SELECTED
public static final byte PRESENT_SELECTED
public static final byte APPROXMATCH_SELECTED
public static final byte EXTENSIBLEMATCH_SELECTED
Constructor Detail |
---|
public Filter()
public Filter(byte selector, com.asn1c.core.ASN1Object value)
selector
- The selected variant.value
- The value of the variant.public Filter(Filter value)
value
- The value for the constructed value.Method Detail |
---|
public byte getSelector()
public com.asn1c.core.ASN1Object getValue()
public Filter_and getAnd()
public void setAnd(Filter_and val)
val
- The value of the variant.public Filter_or getOr()
public void setOr(Filter_or val)
val
- The value of the variant.public Filter getNot()
public void setNot(Filter val)
val
- The value of the variant.public com.octetstring.ldapv3.AttributeValueAssertion getEqualityMatch()
public void setEqualityMatch(com.octetstring.ldapv3.AttributeValueAssertion val)
val
- The value of the variant.public SubstringFilter getSubstrings()
public void setSubstrings(SubstringFilter val)
val
- The value of the variant.public com.octetstring.ldapv3.AttributeValueAssertion getGreaterOrEqual()
public void setGreaterOrEqual(com.octetstring.ldapv3.AttributeValueAssertion val)
val
- The value of the variant.public com.octetstring.ldapv3.AttributeValueAssertion getLessOrEqual()
public void setLessOrEqual(com.octetstring.ldapv3.AttributeValueAssertion val)
val
- The value of the variant.public com.asn1c.core.OctetString getPresent()
public void setPresent(com.asn1c.core.OctetString val)
val
- The value of the variant.public com.octetstring.ldapv3.AttributeValueAssertion getApproxMatch()
public void setApproxMatch(com.octetstring.ldapv3.AttributeValueAssertion val)
val
- The value of the variant.public com.octetstring.ldapv3.MatchingRuleAssertion getExtensibleMatch()
public void setExtensibleMatch(com.octetstring.ldapv3.MatchingRuleAssertion val)
val
- The value of the variant.public void setFilter(Filter filter)
public java.lang.String toString()
toString
in class java.lang.Object
public void print(java.io.PrintWriter out, java.lang.String indent, java.lang.String prefix, java.lang.String suffix, int flags)
print
in interface com.asn1c.core.ASN1Object
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 void readFromFilter(Filter f)
f
- the new filter to absorbpublic 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 copy()
public Filter copyFilter()
copyFilter
in interface Filter
public java.lang.String filterToString()
filterToString
in interface Filter
|
Oracle Virtual Directory Java API Reference 11g Release 1 (11.1.1) E10688-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |