Namespace: Consultingwerk
Class 
OperatorEnum Copy to Clipboard
Parent classes:
Inherits: Consultingwerk.Enum

File:OperatorEnum
Purpose:Enumeration of Operators
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Wed Oct 10 11:58:06 CEST 2012



Top Method Summary
Options Name Purpose
+ LOGICAL Equals (Object) Compares this Enum member to another member of this Enum by Value
Inherited from Consultingwerk.Enum
+ Consultingwerk.OperatorEnum FromString (character) Returns the Enum member with the given name
+ Consultingwerk.Framework.Collections.CharacterList GetNames () Returns a CharacterList with the names of the Enum members
+ F INT64 GetValue () Returns the Value of the Enum Member
Inherited from Consultingwerk.Enum
+ CHARACTER ToString () Returns the Character expression of the Enum
Overrides Consultingwerk.Enum:ToString ()

Top Constructor Summary
Options Name Purpose
- OperatorEnum (integer, character) Constructor for the OperatorEnum members

Top Property Summary
Options Name Purpose
+ Consultingwerk.OperatorEnum And
+ Consultingwerk.OperatorEnum Begins
+ Consultingwerk.OperatorEnum Contains
+ Consultingwerk.OperatorEnum EQ
+ Consultingwerk.OperatorEnum GE
+ Consultingwerk.OperatorEnum GT
# CHARACTER Label Returns the character label associated with an enum member instance
Inherited from Consultingwerk.Enum
+ Consultingwerk.OperatorEnum LE
+ Consultingwerk.OperatorEnum LT
+ Consultingwerk.OperatorEnum Matches
+ Consultingwerk.OperatorEnum NE
+ Consultingwerk.OperatorEnum Or
+ INTEGER Value Returns the integer value associated with an enum member instance
Inherited from Consultingwerk.Enum


Method Detail
Top

PUBLIC LOGICAL Equals (Object)

Inherited from Consultingwerk.Enum
Purpose: Compares this Enum member to another member of this Enum by Value
Notes: Returns FALSE when the passed in object reference is not of this
Enum type

Parameters:
poParam Progress.Lang.Object
The object to compare by value and type with the current enum member
Returns LOGICAL
Logical value indicating if the two compared enum members are euqally
Top

PUBLIC Consultingwerk.OperatorEnum FromString (character)

Purpose: Returns the Enum member with the given name
Notes: Supports the Enum member names as well as =, <>, >=, >, <= and <
Method is duplicated on as Consultingwerk.QueryParser:OperatorFromString
as this method here is not supported anymore from OpenEdge 11.6 on
when using the native Enums

Parameters:
pcName CHARACTER
The Name of the Enum member
Returns Consultingwerk.OperatorEnum
The Enum member with the given name
Top

PUBLIC Consultingwerk.Framework.Collections.CharacterList GetNames ()

Purpose: Returns a CharacterList with the names of the Enum members
Notes:

Returns Consultingwerk.Framework.Collections.CharacterList
The CharacterList with the names of the Enum members
Top

PUBLIC INT64 GetValue ()

Inherited from Consultingwerk.Enum
Purpose: Returns the Value of the Enum Member
Notes: Introduced for compability with 11.6 native Enums

Returns INT64
The Enum Memeber value
Top

PUBLIC CHARACTER ToString ()

Overrides Consultingwerk.Enum:ToString ()
Purpose: Returns the Character expression of the Enum
Notes:

Returns CHARACTER
The Character representation of the Enum


Constructor Detail
Top

PRIVATE OperatorEnum (integer, character)

Purpose: Constructor for the OperatorEnum members
Notes:

Parameters:
piValue INTEGER
The internal (numeric) representation of the Enumeration member
pcLabel CHARACTER
The text label of the Enumaration member


Property Detail
Top

PUBLIC Consultingwerk.OperatorEnum And


Returns Consultingwerk.OperatorEnum
Top

PUBLIC Consultingwerk.OperatorEnum Begins


Returns Consultingwerk.OperatorEnum
Top

PUBLIC Consultingwerk.OperatorEnum Contains


Returns Consultingwerk.OperatorEnum
Top

PUBLIC Consultingwerk.OperatorEnum EQ


Returns Consultingwerk.OperatorEnum
Top

PUBLIC Consultingwerk.OperatorEnum GE


Returns Consultingwerk.OperatorEnum
Top

PUBLIC Consultingwerk.OperatorEnum GT


Returns Consultingwerk.OperatorEnum
Top

PROTECTED CHARACTER Label

Inherited from Consultingwerk.Enum
Purpose: Returns the character label associated with an enum member instance
Notes: Instance member

Returns CHARACTER
Top

PUBLIC Consultingwerk.OperatorEnum LE


Returns Consultingwerk.OperatorEnum
Top

PUBLIC Consultingwerk.OperatorEnum LT


Returns Consultingwerk.OperatorEnum
Top

PUBLIC Consultingwerk.OperatorEnum Matches


Returns Consultingwerk.OperatorEnum
Top

PUBLIC Consultingwerk.OperatorEnum NE


Returns Consultingwerk.OperatorEnum
Top

PUBLIC Consultingwerk.OperatorEnum Or


Returns Consultingwerk.OperatorEnum
Top

PUBLIC INTEGER Value

Inherited from Consultingwerk.Enum
Purpose: Returns the integer value associated with an enum member instance
Notes: Instance member

Returns INTEGER


©2006-2016 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       26.08.2016 08:30:38