2022 April Release

Software Component NUMERATOR@1.1001 Permanent link for this heading

Many solutions need the possibility to assign serial numbers to objects. These numbers can simply refer to an area of numbers for certain objects (customer number = serial number of customer objects). But there is also a need for managing different number areas for similar objects depending on property values (invoice number = serial number of invoice objects of one year). The software component Numerator provides the functionality for both cases by defining the new properties Numerator and Key Numerator.
The numerator property itself stores the numerator value for the object, i.e. the serial number of the object. This number is generated by methods and stored in the property. Numerator objects store the current value of the counter, that is used to generate the next number.
Use the ACL NumACL for the property to be numbered to guarantee that it may be set by the numerator.

Classes Permanent link for this heading

Component

Reference

Description

NUMERATOR@1.1001

BaseNumeratorObject

Base Numerator Object

NUMERATOR@1.1001

KeyNumerator

Key Numerator

NUMERATOR@1.1001

KeyNumeratorObject

Key Numerator Object

NUMERATOR@1.1001

Numerator

Numerator

NUMERATOR@1.1001

NumeratorObject

Numerator Object

NUMERATOR@1.1001

NumeratorValueObject

Numerator Value Object

Properties Permanent link for this heading

Type

Property

Name

boolean

alloc

Reserve Addresses

integer

allocamount

Number of Addresses to Reserve

integer

allocstart

Start of Numeration

COOStore

allocstore

Store for Saving Numeration Objects

Numerator

attrdef

Numeration Property

integer

basecntinit

Counter Default

CounterInit[]

cntinit

Counter Initialization

string

cntinitkey

Key

integer

cntinitvalue

Initial Value

integer

counter

Counter

CounterEntry[]

counters

Numeration Entries

NumeratorObjectCacheEntry[]

domainnumobjs

Numeration Objects

Object

domnumact

Action for Retrieving Numeration Domain

Object

domnumdomain

Domain

Object

domnumnumobj

Numeration Object

DomainNumerator[]

domnumobjs

Numeration Objects

boolean

global

Global

Action

keyattract

Evaluate Key Properties With

AttributeDefinition[]

keyattrlist

Key Properties

Object

keycomp

Software Component

KeyEntry[]

KeyEntryList

Keys

string

keystr

Keys

Object

ncattrdef

Numerator

BaseNumeratorObject

ncnumobj

Numeration Object

Object[]

numctorobjlist

Objects to Be Numerated

CollisionHandling

numhashcoll

Collision Handling

Action

numinitact

Initialize With

Action

nummaxact

Maximum Value

BaseNumeratorObject

numobj

Numeration Object

NumeratorValueObject

numvalobj

Numeration Value Object

Object

objclass

Object Class

boolean

reuse

Object Released for Reuse

integer(4)

timeout

Timeout

Actions Permanent link for this heading

Return Type

Signature

void

AttrGet(
  AttributeDefinition attrdef,
  ref any value,
  out optional boolean volatile,
  out optional boolean volatiletx)

void

AttrSet(
  AttributeDefinition attrdef,
  ref optional any value,
  any oldvalue)

void

Install(
  string instdir)

any

KeyCtor(
  AttributeDefinition attrdef,
  out retval any value)

any

KeyNumeratorCopy(
  AttributeDefinition attrdef,
  object sourceobj,
  out retval any value)

any

NumeratorConstructor(
  AttributeDefinition attrdef,
  out retval any value)

any

NumeratorCopy(
  AttributeDefinition attrdef,
  object sourceobj,
  out retval any value)

void

ObjectDelete()

void

SetName(
  integer act_value)

void

UnInstall()

void

UpdateValue(
  object attrdef,
  integer value,
  optional boolean query)

void

UpgradeObject(
  optional integer unused1,
  optional integer unused2)

void

UpgradeSelectedObjects(
  optional integer unused1,
  optional integer unused2)

Types Permanent link for this heading

Component

Reference

Description

NUMERATOR@1.1001

CounterEntry

NUMERATOR@1.1001

CounterInit

NUMERATOR@1.1001

DomainNumerator

NUMERATOR@1.1001

KeyEntry

NUMERATOR@1.1001

NumeratorObjectCacheEntry

Defines the numerator objects of a domain

Prototypes Permanent link for this heading

Component

Reference

Description

NUMERATOR@1.1001

ProtoGetInitValue

NUMERATOR@1.1001

ProtoGetKeyProperties

NUMERATOR@1.1001

ProtoGetMaxValue

NUMERATOR@1.1001

ProtoGetNumerationDomain

AccessControlLists Permanent link for this heading

Component

Reference

Description

NUMERATOR@1.1001

NumACL

Numerator ACL

AccessTypes Permanent link for this heading

Component

Reference

Description

NUMERATOR@1.1001

AccTypeChangeAdmin

Change Administrative Properties

NUMERATOR@1.1001

AccTypeReadAdmin

Read Administrative Properties

ErrorMessages Permanent link for this heading

Component

Reference

Description

NUMERATOR@1.1001

ALLOC_ALLOC_INCORRECT

Store for numeration objects invalid

NUMERATOR@1.1001

ALLOC_OutOfAllocSpace

No more addresses available

NUMERATOR@1.1001

NoMoreValues

No more values

NUMERATOR@1.1001

NUMERR_OBJEXISTS

"%s" already exists

NUMERATOR@1.1001

NUMERR_VALOBJQUERY

Could not execute query for numerator value object: %s

NUMERATOR@1.1001

NumObjNotAvailable

Numeration object is currently not available

FormPages Permanent link for this heading

Component

Reference

Description

NUMERATOR@1.1001

PageNumerator

Menus Permanent link for this heading

Component

Reference

Description

NUMERATOR@1.1001

MenuRootKeyNumeratorContext

NUMERATOR@1.1001

MenuUpgrade

Upgrade

Positions Permanent link for this heading

Component

Reference

Description

NUMERATOR@1.1001

NumeratorAdmin

Numerations Administrator

ServiceTableDefinitions Permanent link for this heading

Component

Reference

Description

NUMERATOR@1.1001

NumeratorValueObjectTableDef

Numerator Value Objects

Strings Permanent link for this heading

Component

Reference

Description

NUMERATOR@1.1001

CAPTION_UPGRADE_PROGRESS

Converting "%s"

NUMERATOR@1.1001

NUMSTR_DEFNAME

# %ld