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

T_CAEX_ClassModel_IObjectWithAttributes

AutomationML edited this page Feb 23, 2017 · 2 revisions

IObjectWithAttributes Interface

Interface that defines methods and properties that apply to all classes that are able to contain attributes.

Namespace: CAEX_ClassModel
Assembly: AMLEngine (in AMLEngine.dll) Version: 3.5

Syntax

C#

public interface IObjectWithAttributes

C++

public interface class IObjectWithAttributes

The IObjectWithAttributes type exposes the following members.

Properties

 

Name Description
Public property FrameAttribute Gets the Frame attribute
Public property RefURIAttribute Gets the REFURI attribute
  Back to Top

Methods

 

Name Description
Public method GetAttribute Gets the attribute with the specified name.
Public method getAttributeField Get the whole attribute field containing a collection of all attributes of this object.
Public method GetDerivedAttributes Obtain a list of attributes that are derived from base classes. The List will also contain the elements own attributes, if it is specified (default). ///
Public method Insert_Attribute Inserting an attribute element to this class
Public method New_Attribute Adding a new Attribute to this object.
  Back to Top

Extension Methods

 

Name Description
Public Extension Method All Returns a flat list of all attributes of an object, nested attributes inclusive. (Defined by BasicExtensions.)
Public Extension Method CreateListAttribute Creates a new list attribute for an element which can have attributes. (Defined by ListAttribute.)
Public Extension Method FindAttributeWithPath Tries to find an attribute among the attributes of the specified objectWithAttributes which is uniquely identified with the specified attribute path. The attribute path should be a concatenation of names of nested attributes - don't use the full node path to locate an attribute with this method AttributePath. (Defined by FacetType.)
Public Extension Method GetAttribute(String) Overloaded.
Finds an attribute with a given name. (Defined by BasicExtensions.)
Public Extension Method GetAttribute(String) Overloaded.
Gets the attribute with the specified name. (Defined by ObjectWithAttributes.)
Public Extension Method GetAttributeValue Returns an attribute value of a given attribute name. (Defined by BasicExtensions.)
Public Extension Method GetOwnAndDerivedAttributes Get all Attributes of the CAEXObjects, including all own and derived attributes (Defined by MappingExtension.)
Public Extension Method SetAttributeValue(String, String) Overloaded.
Sets an attribute value (creates attribute if it does not exist) as child of the parent object parameter. (Defined by ObjectWithAttributes.)
Public Extension Method SetAttributeValue(String, Double) Overloaded.
Sets an attribute value (creates attribute if it does not exist) as child of the parent object parameter. Sets the AttributeDataType to xs:double (Defined by ObjectWithAttributes.)
Public Extension Method SetAttributeValue(String, String, String, String) Overloaded.
Sets an attribute value (creates attribute if it does not exist). (Defined by ObjectWithAttributes.)
Public Extension Method SetAttributeValue(String, Double, Double, String, String) Overloaded.
Sets an attribute value (creates attribute if it does not exist). Sets the AttributeDataType to xs:double (Defined by ObjectWithAttributes.)
Public Extension Method SetAttributeValue(String, String, String, String, String, String) Overloaded.
Sets an attribute value (creates attribute if it does not exist). (Defined by ObjectWithAttributes.)
  Back to Top

See Also

Reference

CAEX_ClassModel 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