Namespace: Consultingwerk
Class 
Enum Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Inherited by: Consultingwerk.WeekDayEnum Consultingwerk.Framework.Enum.DialogResultEnum Consultingwerk.OERA.Enum.RowStateEnum
ABSTRACT

File:Enum
Purpose:Abstract base type for Enum classes
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Wed Aug 25 10:30:24 CEST 2010
Notes:http://blog.consultingwerk.de/consultingwerkblog/2010/08/a-pattern-for-enums
Purpose: Returns the character label associated with an enum member instance
Notes: Instance member



Top Method Summary
Options Name Purpose
+ LOGICAL Equals (Object) Compares this Enum member to another member of this Enum by Value
+ F INT64 GetValue () Returns the Value of the Enum Member
+ CHARACTER ToString () Returns a CHARACTER representation (human readable) of the Enum member

Top Property Summary
Options Name Purpose
# CHARACTER Label
+ INTEGER Value


Method Detail
Top

PUBLIC LOGICAL Equals (Object)

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 INT64 GetValue ()

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 ()

Purpose: Returns a CHARACTER representation (human readable) of the
Enum member
Notes:

Returns CHARACTER
The CHARACTER representation of the enum member, identically to the Label property


Property Detail
Top

PROTECTED CHARACTER Label


Returns CHARACTER
Top

PUBLIC INTEGER Value


Returns INTEGER


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       15.04.2024 05:51:08