public class Attribute extends Object implements IFilterItem, Serializable
AND, APPROX_STARTSEQ, CLOSER, EQUAL, ESCAPE, GREATER_STARTSEQ, LESS_STARTSEQ, NOT, OPENER, OR| Constructor and Description |
|---|
Attribute()
constructor of ldap attribute
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
getter for name of ldap attribute
|
ComparativeOperator |
getOperator()
getter for ldap operator
|
AttributeLinker |
getParent()
getter for parent filter item
|
String |
getValue()
getter for value of ldap attribute
|
boolean |
isInvert()
getter for invert state
|
boolean |
matches(Map<String,IMatchable> properties)
check
properties match filter item |
Attribute |
setInvert(boolean invert)
setter for inverted state
|
Attribute |
setName(String name)
setter for name of ldap attribute
|
Attribute |
setOperator(ComparativeOperator operator)
setter for ldap operator
|
protected void |
setParent(AttributeLinker parent)
setter for parent
|
Attribute |
setValue(String value)
setter for value of ldap attribute
|
String |
toString() |
public String getName()
public Attribute setName(String name)
name - ldap attribute namepublic ComparativeOperator getOperator()
public Attribute setOperator(ComparativeOperator operator)
operator - ldap attribute operatorpublic String getValue()
public Attribute setValue(String value)
value - ldap attribute valuepublic boolean isInvert()
IFilterItemisInvert in interface IFilterItempublic Attribute setInvert(boolean invert)
IFilterItemsetInvert in interface IFilterIteminvert - invert statepublic AttributeLinker getParent()
IFilterItemgetParent in interface IFilterItemprotected void setParent(AttributeLinker parent)
parent - parent attribute linkerpublic boolean matches(Map<String,IMatchable> properties)
IFilterItemproperties match filter itemmatches in interface IFilterItemproperties match filter item, otherwise falseCopyright © 2020. All rights reserved.