Namespace: Consultingwerk.Framework
Class 
StaticProperties Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

/*&GLOBAL-DEFINE SmartLockGlobalSharedVariables SmartLockGlobalSharedVariables



Top Method Summary
Options Name Purpose
AddStaticPropertyValue (JsonObject, character) Adds the value of a static property to the JsonObject
Assign (JsonObject) Assign the static property value at runtime
Progress.Reflect.Property GetStaticProperty (character) Returns the reflection information of a static property
Progress.Json.ObjectModel.JsonObject Read (character[]) Returns a JsonObject based on the read properties


Method Detail
Top

AddStaticPropertyValue (JsonObject, character)

Purpose: Adds the value of a static property to the JsonObject
Notes: Reads the value into a variable of the reflected data type of the
property, so the overload of JsonObject:Add is resolved at compile
time

Parameters:
poProperties Progress.Json.ObjectModel.JsonObject
The JsonObject to add the property value to
pcStaticProperty CHARACTER
The name of the static property (Class:Property)
Top

Assign (JsonObject)

Purpose: Assign the static property value at runtime
Notes: Supports integer, character and logical properties

Parameters:
poJson Progress.Json.ObjectModel.JsonObject
The JsonObject with the configuration data
Top

Progress.Reflect.Property GetStaticProperty (character)

Purpose: Returns the reflection information of a static property
Notes: Raises an InvalidParameterValueException for an invalid entry, an
unknown class, an unknown or non-public static property, a property
that cannot be read and a property with an EXTENT

Parameters:
pcStaticProperty CHARACTER
The name of the static property (Class:Property)
Returns Progress.Reflect.Property
The Progress.Reflect.Property instance of the static property
Top

Progress.Json.ObjectModel.JsonObject Read (character[])

Purpose: Returns a JsonObject based on the read properties
Notes: SCL-6296: The data type of every property is determined through
reflection, the value is read into a variable of that data type.
Character, longchar, date, datetime and datetime-tz values are
returned as JSON strings, integer, int64 and decimal values as
JSON numbers, logical values as JSON booleans. Enum values are
returned as the member name (the format Assign reads back),
other objects as the result of ToString (). The unknown value
(and an invalid object reference) is returned as JSON null

Parameters:
pcStaticProperties CHARACTER
An extent character variable that holds the property names (Class:Property)
Returns Progress.Json.ObjectModel.JsonObject
s JsonObject


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       24.11.2026 09:59:53