Namespace: Consultingwerk
Class 
Sequence Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.ISequence

File:Sequence
Purpose:Default ISequence implementation
Description:Provides simple counter functionality with ability to
increment and return a value in a single method call
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Mon Jun 30 23:38:10 CEST 2014
Purpose: Returns the current sequence value
Notes:



Top Method Summary
Options Name Purpose
+ INT64 NextValue () Increments or decrements the sequence and returns the next value
+ Reset () Resets the sequence to its initial value

Top Constructor Summary
Options Name Purpose
+ Sequence () Constructor for the Sequence class
+ Sequence (int64) Constructor for the Sequence class
+ Sequence (int64, integer) Constructor for the Sequence class

Top Property Summary
Options Name Purpose
+ INT64 CurrentValue
+ INTEGER Increment
+ INT64 Initial


Method Detail
Top

PUBLIC INT64 NextValue ()

Purpose: Increments or decrements the sequence and returns the next value
Notes:

Returns INT64
The new sequence value
Top

PUBLIC Reset ()

Purpose: Resets the sequence to its initial value
Notes:



Constructor Detail
Top

PUBLIC Sequence ()

Purpose: Constructor for the Sequence class
Notes:

Top

PUBLIC Sequence (int64)

Purpose: Constructor for the Sequence class
Notes:

Parameters:
piInitialValue INT64
The initial value to use for the sequence
Top

PUBLIC Sequence (int64, integer)

Purpose: Constructor for the Sequence class
Notes:

Parameters:
piInitialValue INT64
The initial value to use for the sequence
piIncrement INTEGER
The increment to use for the sequence (positive, negative)


Property Detail
Top

PUBLIC INT64 CurrentValue


Returns INT64
Top

PUBLIC INTEGER Increment


Returns INTEGER
Top

PUBLIC INT64 Initial


Returns INT64


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