Package | net.user1.reactor.filters |
Class | public class AttributeComparison |
Inheritance | AttributeComparison ![]() |
Implements | IComparable |
Since : | Reactor 1.0.0 |
Represents a single attribute comparison to be used in a filter. The comparison includes the name of the attribute, the value to be compared, and the type of comparison (e.g., equals, greater than, etc). For example, the following code shows an AttributeComparison for the attribute "level" that passes when the value is greater than or equal to 10.
new AttributeComparison("level", 10, CompareType.GREATER_THAN_OR_EQUAL);
See also
Method | Defined By | ||
---|---|---|---|
AttributeComparison(name:String, value:Object, compareType:String)
Constructor. | AttributeComparison | ||
toXMLString():String
Returns a string containing the XML representation of this AttributeComparison,
suitable for transmission to Union Server. | AttributeComparison |
AttributeComparison | () | Constructor |
public function AttributeComparison(name:String, value:Object, compareType:String)
Constructor.
Parametersname:String — The attribute name to compare.
| |
value:Object — The attribute value to compare.
| |
compareType:String — The comparison type. Must be one of the constants
defined by the CompareType class.
|
See also
toXMLString | () | method |
public function toXMLString():String
Since : | Reactor 1.0.0 |
Returns a string containing the XML representation of this AttributeComparison, suitable for transmission to Union Server.
ReturnsString |