Skip to content
This repository has been archived by the owner on Jun 22, 2019. It is now read-only.

T_AML_ListAttribute_ListAttribute

AutomationML edited this page Feb 23, 2017 · 2 revisions

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

System.Object
  AML.ListAttribute.ListAttribute
Namespace: AML.ListAttribute
Assembly: AMLEngineExtensions (in AMLEngineExtensions.dll) Version: 3.5

Syntax

C#

public static class ListAttribute

C++

[ExtensionAttribute]
public ref class ListAttribute abstract sealed

The ListAttribute type exposes the following members.

Methods

 

Name Description
Public methodStatic member AddListItem 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 sopecified itemType is used as the attribute data type. If no itemType is defined, the default datatype for the list item is "xs:string". The Item name is automatically set to the Index if the List attribute is an orderd list, otherwise the defined itemName is used.
Public methodStatic member ConvertToListAttribute 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 methodStatic member CreateListAttribute Creates a new list attribute for an element which can have attributes.
Public methodStatic member IsListAttribute Determines whether the specified attribute is a list attribute.
Public methodStatic member IsOrderedListAttribute Determines whether the specified attribute is an ordered list attribute
Public methodStatic member MakeListAttribute 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.
Public methodStatic member Values Gets the values of all items in the list attribute
  Back to Top

Fields

 

Name Description
Public fieldStatic member ListTypeName The list type name used as a semantic ref type for list attributes
  Back to Top

See Also

Reference

AML.ListAttribute Namespace

  • Introduction
  • [Version History](Version history)
    • [Version 3.5](Version 3.4)
    • [Version 3.1](Version 3.0)
    • [Version 2.1](Version 2.1)
    • [Version 2.0](Version 2.0)
  • [Getting Started](Getting started)
  • Examples
  • AMLEngine API
BEST Practice Content

Extensions

CAEX Elements

AutomationML

Utilities

Interfaceclasses

Exceptions

Objecttables and Document validation

Clone this wiki locally