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

Methods_T_CAEX_ClassModel_IClassWithBaseClassReference

AutomationML edited this page Feb 22, 2017 · 1 revision

IClassWithBaseClassReference Methods

The IClassWithBaseClassReference type exposes the following members.

Methods

 

Name Description
Public method GetAttribute Gets the attribute with the specified name. (Inherited from IObjectWithAttributes.)
Public method getAttributeField Get the whole attribute field containing a collection of all attributes of this object. (Inherited from IObjectWithAttributes.)
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). /// (Inherited from IObjectWithAttributes.)
Public method GetReferenceHierarchy(T) Gets the reference (Inheritance) hierarchy including the actual class
Public method Insert_Attribute Inserting an attribute element to this class (Inherited from IObjectWithAttributes.)
Public method New_Attribute Adding a new Attribute to this object. (Inherited from IObjectWithAttributes.)
  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 ClassIsDerivedFrom(String) Overloaded.
Determines, if the specified class is directly or indirectly (across multiple generations) a descendant of the class, which is uniquely identified wird the specified baseClass path. The base class path or the referenced class path may contain alias identifiers. If alias identifiers are present, the method tries to load the externaly referenced document. If a referenced document is loaded, it is visible in the ReferencedDocuments enumeration. This method uses the document tables for a fast identification of classes using the caex path (Defined by ExternalReferenceDocumentExtensions.)
Public Extension Method ClassIsDerivedFrom(CAEXObject) Overloaded.
Determines, if the specified class is directly or indirectly (across multiple generations) a descendant of the specified base class. This method can be used, if the classes are distributed over different caex documents, the documents should be referenced by external references and alias references. If a referenced document needs to be loaded, it is visible in the ReferencedDocuments enumeration. This method uses the document tables for a fast identification of classes using the caex path. (Defined by ExternalReferenceDocumentExtensions.)
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

IClassWithBaseClassReference Interface
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