Attributes are the most important properties of classes.
They are defined by four aspects (plus an optional
Description used to document the attribute):
Type, which can be Single (where the attribute
has once value), or Set (where the attribute can have any
number of values).
Syntax, which determines the acceptable values for an
attribute. The syntax of values is not checked by the framework,
but it is important in defining the class. The syntax can take
there are no restrictions on the value of the attribute.
the value can either be "true" or "false".
the value can take one of a number of specified values.
which determine the object operations that can
be performed on a per-attribute basis.
For single-valued attributes, possible operations are the following:
return the value of the attribute.
replace the value with a provided attribute.
replace with default
replace the current value with a default value.
For set-valued attributes, the following are also possible:
add a value to the set of values for the attribute.
remove a value from the set.
Object operations have the option to filter the set of objects on
which they operate by comparing their attributes with given values. Each
attribute can specify the filters that can be applied to it.
For single-valued attributes, the possible filters are:
the value is equal to a given value.
the value is greater than a given value.
the value is less than a given value.
Set-valued attributes have the following possible filters:
a given value is present in the attribute's value set.
a given set is a superset of the attribute's value set.
a given set is a subset of the attribute's value set.
a given set has a non-empty intersection with the
attribute's value set.
Step 3: Define containment (relationships to other classes)
Edit Class dialog
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 03 June 2005