Class Definition Reference
Describes the structure of a property definition. Note that a relationship is a property.
A property contains information relevant to an instance of a class. You can add property definitions to object classes. They are not meaningful in other kinds of classes.
A property definition has the following structure:
Property name As classname (parameter_list) [ keyword_list ] ;
Or (for a list property):
Property name As List Of classname (parameter_list) [ keyword_list ] ;
Or (for an array property):
Property name As Array Of classname (parameter_list) [ keyword_list ] ;
Or (for a relationship property):
Relationship name As classname [ keyword_list ] ;
(required) is the name of the property. This must be a valid class member name
, and must not conflict with any other class member names.
(optional) is the name of the class on which this property is based.
(optional) is a comma-separated list of parameters and their values. If specified, these should be either parameters used by classname
or parameters that are available to all properties.
If this list is omitted, also omit the parentheses.
(required for a relationship property but otherwise optional ) is a comma-separated list of keywords that further define the property.
If this list is omitted, also omit the square brackets.
/// Person's Social Security number.
Property SSN As %String(PATTERN = "3N1""-""2N1""-""4N") [ Required ];
Content Date/Time: 2019-04-23 13:43:22