id |
Identifies the context instance. This attribute provides access to
the data. This is a linkable tag. |
type |
Identifies the class used to represent the context. The type attribute
allows several contexts of the same type to be part of the contexts structure.
For example, there can be two operational mode contexts: one for real operations
and the other for operator training. This is a linkable tag. |
parent |
Identifies the parent context. The system uses this attribute to build
the chain of contexts and allow the application to have access to the resources
available in the whole assigned chain inside the context tree. The parent
attribute is not related to the qualified name used by the application to
search for resources in a specific context.. This is a linkable tag. |
addToDynamicKColl |
Determines what happens when the context's keyed collection is dynamic
and the toolkit needs to add a data element to the keyed collection.
When
this attribute is false (the default value), the setValueAt method, when invoked,
searches the context tree for the first element that matches the key. If the
method finds the element, it modifies the value. If it does not find the element,
it dynamically creates the element in the current context.
When this
attribute is true, one of the following happens: - If the element does not exist in the keyed collection of the context,
the toolkit adds a DataField to the keyed collection. The toolkit obtains
the DataField's name from the key parameter of the setValueAt method. The
toolkit obtains the DataField's value from the value parameter of same method.
- If the element already exists in the keyed collection of the context,
the toolkit overwrites its value without checking whether the element exists
in contexts higher in the context tree.
|