main
public static void main(java.lang.String[] args)
The main program. Example set the enumeration definition of an
attribute. Get the enumeration definition with the name "Company"
and set this definition at the attribute 'enumVal' of the element
derived from "AoTest". The datatype of the attribute must be
DT_ENUM otherwise and exception will be thrown. The attribute 'enumVal'
will be created in this example.
When the attribute exist and the datatype is given and the are instances
at the element you can not change the datatype of the attribute.
In the test data storage is an attribute with the given name at the
element and the enumeration exists. When this attribute or the instance
not exist and AoException will be thrown.
- Parameters:
args
- not used.