Consultor Eletrônico



Kbase P136595: Error 14593 occurs when trying to implement a Property defined in Interface using the STATIC option
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   11/11/2008
Status: Unverified

SYMPTOM(s):

Error 14593 occurs when trying to implement a Property defined in Interface using the STATIC option

STATIC qualifier only valid in a class file. (14593)

Attempting to add the STATIC option when implementing a Property defined in Interface

Cannot define a Property prototype as STATIC; as per the documentation:

These property prototypes cannot specify the STATIC option.

FACT(s) (Environment):

OpenEdge 10.2A1P
Windows

CAUSE:

This is expected behaviour. An Interface is a way of guaranteeing that the elements defined in the Interface are available through a reference to any class instance that implements the Interface. It is not possible to refer to a STATIC member through an object reference.

FIX:

A Property that is prototyped in an Interface cannot be implemented as STATIC