The access class of an object attribute is defined using the GN4-specific extension attribute ‘access’ which applies to the ‘attribute’ and ‘element’ elements in the schema defining the object attribute. The possible values for this ‘access’ attribute are the four pre-defined strings ‘normal’, ‘protected’, ‘special’ and ‘content’ – corresponding to the four access classes.
<xs:element name="test">
<xs:complexType>
<xs:complexContent>
<xs:extension base="object">
<xs:sequence>
<xs:element
name="description"
type="xs:string"
gs:access="protected"/>
</xs:sequence>
<xs:attribute
name="location"
type="xs:string"
gs:access="special"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
The example above defines an object type ‘test’ with an attribute ‘description’ belonging to the protected access class and an attribute ‘location’ belonging to the special access class.
Note that each object attribute belongs to an access class regardless if it is explicitly specified or not. Each object attribute has a default access class depending on its.
See also
For a complete description of all attribute types and their default access class:
http://tech.teradp.com/tech/html/gn4/docs/VSdoc/frlrfTeraDPGN4SchemaAttributeType.html