Learning
Documentation
Community
Open Exchange
Global Masters
Home / Class Reference / %SYS namespace / %Compiler.Type.Literal
Private  Storage   

%Compiler.Type.Literal


class %Compiler.Type.Literal

Property class for literal values, for internal use only.

The property interface consists of several accessor methods. For literals, the following methods are defined: Get Set IsValid

For complex types, the following methods are defined in subclasses of this class. Refer to %Compiler.Type.Object for object types.

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
5 6


Summary


Methods
Get IsValid Set

Subclasses
%Compiler.Type.Object %Compiler.Type.RegisteredObject

Parameters


• parameter CALCSELECTIVITY = 1;
This parameter controls whether the SELECTIVITY of this property is calculated during TuneTable 1 means TuneTable will calculate the SELECTIVITY of the property/field. 0 means it will be skipped by TuneTable.
• parameter CAPTION;
A caption for the property usually used by client applications.
• parameter EXTERNALSQLNAME;
The name of the column in an external SQL table (gateway) to which this property is linked.
• parameter EXTERNALSQLTYPE;
The original type of the column in an external SQL table (gateway) to which this property is linked.
• parameter JAVATYPE;
The Java type to be used when exported.

Methods


• method Get() as %RawString
• classmethod IsValid(value As %RawString) as %Status
• method Set(newvalue As %RawString) as %Status
Set the property to newvalue if is different from the current value.