|
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.policy.rule.constraints.AttributeExpression
public class AttributeExpression
Indicates one or more managed object attributes to use as search criteria.
This object is used in filters such asUserFilter
and constraints such as OrgMembershipConstraint.
| Constructor Summary | |
|---|---|
AttributeExpression(java.lang.String attribute,
OperatorType operator,
java.lang.String filter)
Creates a new attribute expression. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
|
java.lang.String |
getAttribute()
Retrieves the name of this attribute expression. |
OperatorType |
getOperator()
Retrieves the operator used in the attribute expression, such as equal to or greater than the filter to search for. |
java.lang.String |
getSearchFilter()
Retrieves the string value to search for. |
AttributeExpressionType |
getType()
Retrieves the type of this attribute expression. |
java.lang.String |
marshall()
Generates a machine-friendly encoded string representation of this object. |
void |
setAttribute(java.lang.String newAttribute)
Renames the attribute expression. |
void |
setOperator(OperatorType newOperator)
Assigns a different operator to the attribute expression. |
void |
setSearchFilter(java.lang.String newFilter)
Changes the search filter used in the attribute expression. |
java.lang.String |
toString()
Generates a human-friendly string representation of this object. |
boolean |
wouldMatch(TSContext ctx,
ManagedObject obj,
java.lang.StringBuffer message)
Specifies whether the current form of this managed object matches the attribute expression. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AttributeExpression(java.lang.String attribute,
OperatorType operator,
java.lang.String filter)
Creates a new attribute expression.
attribute - The name of this attribute expression.operator - The search operator, such as equal to or
greater than the filter value.filter - The string value to search for.| Method Detail |
|---|
public java.lang.String getAttribute()
Retrieves the name of this attribute expression.
public void setAttribute(java.lang.String newAttribute)
Renames the attribute expression.
newAttribute - The new name for the attribute expression.public OperatorType getOperator()
Retrieves the operator used in the attribute expression, such as equal to or greater than the filter to search for.
public void setOperator(OperatorType newOperator)
Assigns a different operator to the attribute expression.
newOperator - The new operator to use in the expression.public java.lang.String getSearchFilter()
Retrieves the string value to search for.
public void setSearchFilter(java.lang.String newFilter)
Changes the search filter used in the attribute expression.
newFilter - The new search filter.public java.lang.String toString()
Generates a human-friendly string representation of this object.
toString in class java.lang.Objectpublic java.lang.String marshall()
Generates a machine-friendly encoded string representation of this object.
public AttributeExpressionType getType()
Retrieves the type of this attribute expression.
AttributeExpression objects are of type
BASIC.
public boolean wouldMatch(TSContext ctx,
ManagedObject obj,
java.lang.StringBuffer message)
throws SmApiException
Specifies whether the current form of this managed object matches the attribute expression.
ctx - The context in which the attribute expression is evaluated.obj - The managed object to check.message - Output parameter for an exception message.
true if the managed object matches the search expression.
SmApiExceptionpublic java.lang.Object clone()
clone in class java.lang.Object
|
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 | ||||||||