ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
com.adobe.ep.taskmanagement.filter 

ComparisonOperator  - AS3 ADEP Task Management

Packagecom.adobe.ep.taskmanagement.filter
Classpublic class ComparisonOperator
InheritanceComparisonOperator Inheritance Object
Implements IComparisonOperator

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Task Management 10
Runtime Versions: AIR 2.6, Flash Player 10.2

Implementation class for filter comparison operators to be used in filter conditions. Use this class to specify how a task property is compared to its value in a filter condition. For example:
myTaskFilter.addCondition(new Property("MortgageValue"), ComparisonOperator.GREATER_THAN, 50000);



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
  name : String
[read-only] The name of the comparison operator.
ComparisonOperator
Public Methods
 MethodDefined By
  
Compares two operator objects.
ComparisonOperator
  
[static] Returns the IComparisonOperator for a given operator name
ComparisonOperator
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Public Constants
 ConstantDefined By
  BEGINS_WITH : IComparisonOperator
[static] The BEGINS_WITH constant that represents the Begins With operator.
ComparisonOperator
  CONTAINS : IComparisonOperator
[static] The CONTAINS constant that represents the Contains operator.
ComparisonOperator
  ENDS_WITH : IComparisonOperator
[static] The ENDS_WITH constant that represents the Ends With operator.
ComparisonOperator
  EQUALS : IComparisonOperator
[static] The EQUALS constant that represents the Equals operator.
ComparisonOperator
  GREATER_THAN : IComparisonOperator
[static] The GREATER_THAN constant that represents the Greater Than operator.
ComparisonOperator
  GREATER_THAN_EQUALS : IComparisonOperator
[static] The GREATER_THAN_EQUALS constant that represents the Greater Than Or Equals operator.
ComparisonOperator
  IN : IComparisonOperator
[static] The IN constant that represents the In list operator.
ComparisonOperator
  LESS_THAN : IComparisonOperator
[static] The LESS_THAN constant that represents the Less Than operator.
ComparisonOperator
  LESS_THAN_EQUALS : IComparisonOperator
[static] The LESS_THAN_EQUALS constant that represents the Less Than Or Equals operator.
ComparisonOperator
  LIKE : IComparisonOperator
[static] The LIKE constant that represents represents the Like operator.
ComparisonOperator
  NOT_EQUALS : IComparisonOperator
[static] The NOT_EQUALS constant that represents the Not Equals operator.
ComparisonOperator
Property Detail

name

property
name:String  [read-only]

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Task Management 10
Runtime Versions: AIR 2.6, Flash Player 10.2

The name of the comparison operator.



Implementation
    public function get name():String
Method Detail

equals

()method
public function equals(rhs:IComparisonOperator):Boolean

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Task Management 10
Runtime Versions: AIR 2.6, Flash Player 10.2

Compares two operator objects.

Parameters

rhs:IComparisonOperator — the IComparisonOperator to compare this to.

Returns
Boolean — A value of true is returned when the two objects are equal; otherwise a value of false is returned.

findOperator

()method 
public static function findOperator(aName:String):IComparisonOperator

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Task Management 10
Runtime Versions: AIR 2.6, Flash Player 10.2

Returns the IComparisonOperator for a given operator name

Parameters

aName:String — the name of a comparison operator.

Returns
IComparisonOperator — The IComparisonOperator for the give name, or null if there is no such comparison operator.
Constant Detail

BEGINS_WITH

Constant
public static const BEGINS_WITH:IComparisonOperator

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Task Management 10
Runtime Versions: AIR 2.6, Flash Player 10.2

The BEGINS_WITH constant that represents the Begins With operator.

CONTAINS

Constant 
public static const CONTAINS:IComparisonOperator

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Task Management 10
Runtime Versions: AIR 2.6, Flash Player 10.2

The CONTAINS constant that represents the Contains operator.

ENDS_WITH

Constant 
public static const ENDS_WITH:IComparisonOperator

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Task Management 10
Runtime Versions: AIR 2.6, Flash Player 10.2

The ENDS_WITH constant that represents the Ends With operator.

EQUALS

Constant 
public static const EQUALS:IComparisonOperator

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Task Management 10
Runtime Versions: AIR 2.6, Flash Player 10.2

The EQUALS constant that represents the Equals operator.

GREATER_THAN

Constant 
public static const GREATER_THAN:IComparisonOperator

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Task Management 10
Runtime Versions: AIR 2.6, Flash Player 10.2

The GREATER_THAN constant that represents the Greater Than operator.

GREATER_THAN_EQUALS

Constant 
public static const GREATER_THAN_EQUALS:IComparisonOperator

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Task Management 10
Runtime Versions: AIR 2.6, Flash Player 10.2

The GREATER_THAN_EQUALS constant that represents the Greater Than Or Equals operator.

IN

Constant 
public static const IN:IComparisonOperator

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Task Management 10
Runtime Versions: AIR 2.6, Flash Player 10.2

The IN constant that represents the In list operator.

LESS_THAN

Constant 
public static const LESS_THAN:IComparisonOperator

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Task Management 10
Runtime Versions: AIR 2.6, Flash Player 10.2

The LESS_THAN constant that represents the Less Than operator.

LESS_THAN_EQUALS

Constant 
public static const LESS_THAN_EQUALS:IComparisonOperator

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Task Management 10
Runtime Versions: AIR 2.6, Flash Player 10.2

The LESS_THAN_EQUALS constant that represents the Less Than Or Equals operator.

LIKE

Constant 
public static const LIKE:IComparisonOperator

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Task Management 10
Runtime Versions: AIR 2.6, Flash Player 10.2

The LIKE constant that represents represents the Like operator.

NOT_EQUALS

Constant 
public static const NOT_EQUALS:IComparisonOperator

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Task Management 10
Runtime Versions: AIR 2.6, Flash Player 10.2

The NOT_EQUALS constant that represents the Not Equals operator.