|
Java SDK r12.5 SP 8 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.netegrity.llsdk6.imsapi.search.SearchExpression
public class SearchExpression
Defines a search expression. Each expression is made up of an attribute name, an operator, and a filter. For example, a search expression might be:
title EQUALS manager
This search expression matches objects whose title
attribute is an exact match of the string manager.
OperatorType,
and possible search expression conjunctions are defined by
ConjunctionType,
| Constructor Summary | |
|---|---|
SearchExpression(java.lang.String attribute,
OperatorType operator,
java.lang.String filter)
Creates a search expression. |
|
| Method Summary | |
|---|---|
java.lang.String |
encode()
Generates a machine-friendly, encoded String representation of this object. |
java.lang.String |
getAttribute()
Retrieves the name of the attribute for this SearchExpression. |
OperatorType |
getOperator()
Retrieves the operator for this SearchExpression. |
java.lang.String |
getSearchFilter()
Retrieves the filter string for this SearchExpression. |
void |
setAttribute(java.lang.String newAttribute)
Changes the attribute name for this SearchExpression. |
void |
setOperator(OperatorType newOperator)
Changes the operator for this SearchExpression. |
void |
setSearchFilter(java.lang.String newFilter)
Changes the filter string for this SearchExpression. |
java.lang.String |
toString()
Generates a human-readable String representation of this object. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SearchExpression(java.lang.String attribute,
OperatorType operator,
java.lang.String filter)
Creates a search expression.
The following example creates a search expression that searches theAccountName attribute for any account names
that begin with the string jen:
SearchExpression exp = new SearchExpression("AcountName",
OperatorType.EQUALS,
"jen*" );
attribute - The name of the attribute involved in the search.operator - The operator to use for the search.filter - The string to search for in the attribute.| Method Detail |
|---|
public java.lang.String getAttribute()
SearchExpression.
public void setAttribute(java.lang.String newAttribute)
SearchExpression.
newAttribute - The new attribute name to use in the search.public OperatorType getOperator()
SearchExpression.
public void setOperator(OperatorType newOperator)
SearchExpression.
newOperator - The new operator to use in the search.public java.lang.String getSearchFilter()
SearchExpression.
public void setSearchFilter(java.lang.String newFilter)
SearchExpression.
newFilter - The new filter string to use in the search.public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String encode()
|
Java SDK r12.5 SP 8 06/13/2011 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||