Using the attribute access facility, you can:
conclude action to change user-defined attributes. In most cases, attribute access supersedes the use of change the text of statements. Examples are presented throughout this chapter.
The attribute access facility lets you conclude new values into system-defined attributes directly, using standard G2 expressions such as this
conclude action:
![]() |
where the
class-of-procedure-invocation refers to a system-defined attribute. You can access most system-defined attributes.
Note: The permanent/transient status of an item is not currently available through attribute access. Instead, you can obtain this information through the use of the g2-system-predicate system procedure.
Attribute Access Terminology
The attribute access facility introduces several terms:
Note: Do not confuse composite attributes with composite types. Composite attributes are those that consist of more than one subattribute, while composite types are those whose values can consist of any G2 type, such as structures and sequences described next.
Structures and Sequences
Part of using the attribute access facility involves the use and manipulation of structures and sequences. These composite value types, described in detail in Chapter 9, Values and Types, provide a flexible, efficient, and convenient way of providing sets of subattributes and ordered lists.