Click or drag to resize

ListAttribute Class

Class ListAttribute supports List Attributes as it is defined in the BPR 'Modelling of List Attributes in AutomationML' from January 2016 Version 1.0.0
Inheritance Hierarchy
SystemObject
  Aml.Engine.AmlObjectsListAttribute

Namespace: Aml.Engine.AmlObjects
Assembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax
public static class ListAttribute

The ListAttribute type exposes the following members.

Methods
 NameDescription
Public Extension MethodAddListItem Adds an additional list item attribute to the list attribute. If the List attribute already contains some items, the new item will have the same item type as the already existing items. If this is the first item, the specified itemType is used as the attribute data type. If no itemType is defined, the default data type for the list item is "xs:string". The Item name is automatically set to the Index if the List attribute is an ordered list, otherwise the defined itemName is used.
Public Extension MethodConvertToListAttribute Changes the semantic of the specified attribute and converts to a list attribute. A first item is added to the List attribute which is initialized with valued from the converted attribute. If the Attribute is already a list attribute or the attribute contains child attributes it will not be converted.
Public Extension MethodCreateListAttribute Creates a new list attribute for an element which can have attributes.
Public Extension MethodIsListAttribute Determines whether the specified attribute is a list attribute. This can be ordered or unordered.
Public Extension MethodIsOrderedListAttribute Determines whether the specified attribute is an ordered list attribute.
Public Extension MethodIsUnOrderedListAttribute Determines whether the specified attribute is an unordered list attribute.
Public Extension MethodListItems Gets the values of all items in the list attribute
Public Extension MethodListItemValues Gets the values of all items in the list attribute
Public Extension MethodMakeListAttribute Changes the semantic of the specified attribute and converts it to a list attribute. If the Attribute is already a list attribute or the attribute contains child attributes it will not be converted.
Top
Fields
 NameDescription
Public fieldStatic memberListTypeName The list type name used as a semantic ref type for unordered list attributes
Public fieldStatic memberOrderedListTypeName The list type name used as a semantic ref type for ordered list attributes
Top
See Also