|
Oracle Virtual Directory Java API Reference 11g Release 1 (11.1.1) E56472-01 |
|||||||||
| 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_SELECTEDSelector for the variant and. |
static byte |
APPROXMATCH_SELECTEDSelector for the variant approxMatch. |
static byte |
EQUALITYMATCH_SELECTEDSelector for the variant equalityMatch. |
static byte |
EXTENSIBLEMATCH_SELECTEDSelector for the variant extensibleMatch. |
static byte |
GREATEROREQUAL_SELECTEDSelector for the variant greaterOrEqual. |
static byte |
LESSOREQUAL_SELECTEDSelector for the variant lessOrEqual. |
static byte |
NOT_SELECTEDSelector for the variant not. |
static byte |
OR_SELECTEDSelector for the variant or. |
static byte |
PRESENT_SELECTEDSelector for the variant present. |
static byte |
SUBSTRINGS_SELECTEDSelector 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. |
AttributeValueAssertion |
getApproxMatch()Gets the value of the approxMatch variant. |
java.lang.Object |
getContents() |
AttributeValueAssertion |
getEqualityMatch()Gets the value of the equalityMatch variant. |
MatchingRuleAssertion |
getExtensibleMatch()Gets the value of the extensibleMatch variant. |
AttributeValueAssertion |
getGreaterOrEqual()Gets the value of the greaterOrEqual variant. |
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(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(AttributeValueAssertion val)Sets the value for the equalityMatch variant. |
void |
setExtensibleMatch(MatchingRuleAssertion val)Sets the value for the extensibleMatch variant. |
void |
setFilter(Filter filter) |
void |
setGreaterOrEqual(AttributeValueAssertion val)Sets the value for the greaterOrEqual variant. |
void |
setLessOrEqual(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 AttributeValueAssertion getEqualityMatch()
public void setEqualityMatch(AttributeValueAssertion val)
val - The value of the variant.public SubstringFilter getSubstrings()
public void setSubstrings(SubstringFilter val)
val - The value of the variant.public AttributeValueAssertion getGreaterOrEqual()
public void setGreaterOrEqual(AttributeValueAssertion val)
val - The value of the variant.public AttributeValueAssertion getLessOrEqual()
public void setLessOrEqual(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 AttributeValueAssertion getApproxMatch()
public void setApproxMatch(AttributeValueAssertion val)
val - The value of the variant.public MatchingRuleAssertion getExtensibleMatch()
public void setExtensibleMatch(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.ASN1Objectout - 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 Filterpublic boolean isOr()
isOr in interface Filterpublic boolean isNot()
isNot in interface Filterpublic 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 FilterDirectoryExceptionpublic java.lang.String getTarget()
getTarget in interface Filterpublic void setContents(java.lang.Object filter)
setContents in interface Filterpublic Filter copy()
public Filter copyFilter()
copyFilter in interface Filterpublic java.lang.String filterToString()
filterToString in interface Filter
|
Oracle Virtual Directory Java API Reference 11g Release 1 (11.1.1) E56472-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||