Click or drag to resize

ObjectType

Home
ObjectType

ObjectTypes provide definitions for Objects. ObjectTypes are defined using the ObjectType node class. The ObjectType inherits the base Attributes from the Base.

The ObjectType node class uses the HasComponent references to define the data variables, objects, and methods for it.

ObjectType properties
Object Type Property Grid
Figure 1: Object type property grid

Object Type properties:

  1. Browse Name - the name used in the information model. The validator will create the BrowseName automatically from the SymbolicName. The BrowseName is qualified by the namespace used for the SymbolicName.

  2. Description – optionally, a vendor specific description is provided. The validator automatically creates a generic Description from the BrowseName and NodeClass.

  3. Key – an optional key that can be used to look up the Description for other locales in a resource DB.

  4. Value – the value of the Description attribute for the Node.

  5. Display Name – a human readable name for the Node. The validator automatically creates the DisplayName from the BrowseName.

  6. Key – an optional key that can be used to look up the display name for other locales in a resource DB.

  7. Value – the value of the Display Name.

  8. IsDeclaration - this flag indicates that the Node is defined elsewhere and no code will be generated. Nodes that are declarations do not need to be completely defined. They only need to have the information required to generate code for nodes that reference it (e.g. the BaseType).

  9. StringId - an alternate unique identifier for the node. It is used instead of the NumericId if it is specified in the CSV input file.

  10. Symbolic Name - identifies the Node within the ModelDesign or within the containing Node. The SymbolicName should always be specified. It is used to create the BrowseName and SymbolicId if they are not specified.

  11. Is Empty - indicates whether the Symbolic Name is empty.

  12. Name – a name, which is a part of the Symbolic Name.

  13. Namespace – a namespace, which qualifies the Name from the Symbolic Name.

  14. Write access - a bit mask that indicates, which attributes are writeable. Optionally the WriteMask Attribute can be provided. If the WriteMask Attribute is provided, it shall set all Attributes to not writeable that are not said to be vendor-specific. For example, the Description Attribute may be set to writeable since a Server may provide a server-specific description for the Node. The NodeId shall not be writeable, because it is defined for each Node in specification.

  15. Supports events - the value indicating whether the Object class node supports events.

  16. Base Type - the name of the base type pointed out by the HasSubtype reference. The semantic of the HasSubtype type is to express a subtype relationship of types.

  17. Default value – a default BaseType.

  18. Is Empty - indicates if there is no Base Type.

  19. Name - BaseType name.

  20. Namespace – a namespace that qualifies the BaseType name.

  21. Class name - a name for the instance of the type. If not specified, the validator creates it by removing the 'Type' suffix from the SymbolicName for the Node.

  22. Is Abstract - indicates whether this type is abstract.

  23. No Class Generation - indicates whether to suppress class generation for the type.