This repository has been archived by the owner on Jun 22, 2019. It is now read-only.
T_CAEX_ClassModel_SystemUnitClassType
AutomationML edited this page Feb 23, 2017
·
2 revisions
Class SystemUnitClassType.
User extensions to the automatic generated class SystemUnitClassType
System.Object
TypeBase
CAEX_ClassModel.CAEXBasicObject
CAEX_ClassModel.CAEXObject
CAEX_ClassModel.SystemUnitClassType
CAEX_ClassModel.InternalElementType
CAEX_ClassModel.SystemUnitFamilyType
Namespace: CAEX_ClassModel
Assembly: AMLEngine (in AMLEngine.dll) Version: 3.5
C#
public class SystemUnitClassType : CAEXObject,
IObjectWithAttributes, IObjectWithExternalInterface
C++
public ref class SystemUnitClassType : public CAEXObject,
IObjectWithAttributes, IObjectWithExternalInterface
The SystemUnitClassType type exposes the following members.
Name | Description | |
---|---|---|
SystemUnitClassType | Initializes a new instance of the SystemUnitClassType class. |
Name | Description | |
---|---|---|
Copyright | Get the CopyrightType of this header object. (Inherited from CAEXBasicObject.) | |
Description | Get the description of this object. The returned object is null when no description element is found! (Inherited from CAEXBasicObject.) | |
FrameAttribute | Get and set the Frame attribute | |
RefURIAttribute | Gets and sets the GeometryReference defined for this object. | |
StaticInfo | Gets the static information. | |
Version | Get the VersionType of this header object. (Inherited from CAEXBasicObject.) |
Name | Description | |
---|---|---|
Ancestors | Returns all SystemUnit Classes which are ancestors of this. This SystemUnit Class is included in the enumeration as the first Element, The farthest is the last Element in the enumeration. | |
Append_InternalElement | Inserts the internal element after the defined Predecessor. If the Predecessor is null, the InternalElement is inserted at the first position of any other InternalElements | |
AssignNewGUIDsAndRedirectExistingInternalLinks | **Obsolete. ** Assigns the new GUIds and redirect existing internal links. | |
AssignNewGUIDsAndRedirectExistingInternalLinksAndMirrorObjects | This Method assigns new GUIds to the SystemUnitClass and its subordinate Children, which have an ID. The References to the old IDs in Mirrors and InternalLinks are redirected to the new ID. If a Reference is not found in any of the subordinate Elements, the Reference will not be changed. This Method shall be called, if a Copy of the SystemUnitClass is done or the SystemUnitClass is Copied for Instantiation. When the Class is instantiated, other subordinate Child-SystemUnitClasses should be omitted from the Redirection. This is the default behavior, indicated with the Parameter 'includeSystemUnitClasses'. | |
Attributes | Enumeration Method for direct Children of Type AttributeType | |
CAEXPath | Get the path to this in the object tree. For all objects, it returns the XML full Node Path except for Interface instances, then it returns GUID:InterfaceName. (Inherited from CAEXBasicObject.) | |
Children(Type) | Gets all Children of this instance which are of the specified childrenType. This returns only the direct Children. (Inherited from CAEXBasicObject.) | |
Children(Type, Func(XmlNode, CAEXBasicObject)) | Gets all Children of this instance which are of the specified childrenType. This returns only the direct Children. (Inherited from CAEXBasicObject.) | |
Children(T)() | Gets all Children of this instance which are of Type T. This returns only the direct Children. (Inherited from CAEXBasicObject.) | |
Children(T)(Func(XmlNode, T)) | Gets all Children of this instance which are of Type T. This returns only the direct Children. (Inherited from CAEXBasicObject.) | |
clone | Create a clone of this object via reflection. The underlying XMLNode is normally cloned and a new instance of this class is created via Activator.CreateInstance with the cloned xml node. If an object of type InternalElement should be cloned, the method create_unique copy is called instead of using reflection to automatically get new GUIDs assigned. (Inherited from CAEXBasicObject.) | |
CloneNode(Boolean) | Clones the node. (Inherited from CAEXBasicObject.) | |
CloneNode(Boolean, Boolean) | Clones the node. (Inherited from CAEXBasicObject.) | |
ConsistencyCheck_ClassReference | Check if the given classPath is a valid path to an existent class in the AML file. (Inherited from CAEXBasicObject.) | |
Descendants(Type) | Gets all Descendants of this instance which are of the specified descendantType. This returns all subordinate Children and their Descendants. (Inherited from CAEXBasicObject.) | |
Descendants(Type, Func(XmlNode, CAEXBasicObject)) | Gets all Descendants of this instance which are of the specified descendantType. This returns all subordinate Children and their Descendants. (Inherited from CAEXBasicObject.) | |
Descendants(T)() | Gets all Descendants of this instance which are of Type T. This returns all subordinate Children and their Descendants. (Inherited from CAEXBasicObject.) | |
Descendants(T)(Func(XmlNode, T)) | Gets all Descendants of this instance which are of Type T. This returns all subordinate Children and their Descendants. (Inherited from CAEXBasicObject.) | |
Equals | Determines, if the specified Object and the current Object are equal. (Inherited from CAEXBasicObject.) | |
ExternalInterfaces | Enumeration Method for direct Children of Type InterfaceClassType | |
findExternalInterface | Searches for an ExternalInterface in this InternalElement | |
findInternalElement | Resolve a reference to an InternalElement and return the referenced element if found. Use FindFastByID for speed optimizations. (Inherited from CAEXBasicObject.) | |
FirstAncestor(T) | Gets the first ancestor of the specified type for this CaexObject (Inherited from CAEXBasicObject.) | |
GetAttribute | Gets the attribute with the specified name. | |
getAttributeField | Get the whole attribute field containing a collection of all attributes of this object. | |
GetDerivedAttributes | Obtain a list of attributes that are derived from base classes. The List will also contain the elements own attributes. | |
GetDerivedInterfaces | Gets the derived interfaces, which include the | |
GetExternalInterfaces | Gets the external interfaces. | |
getFullNodePath | Getting the full path from document root to the specified XmlNode. As name of an XmlNode is the value of the contained attribute "name" taken. Hierarchies are separated via the path separator (slash '/'). The name of the document root element CAEXFile is not contained in the path. (Inherited from CAEXBasicObject.) | |
GetHashCode | Returns a hash code for this instance. (Inherited from CAEXBasicObject.) | |
getLastAttributeNode | **Obsolete. ** Gets the last attribute node. (Inherited from CAEXBasicObject.) | |
getLastHeaderNode | This methods returns the last XmlNode of this CAEX basic object according to the element order given by the CAEX schema. In this context "last" describes the element that is at the end of this header elements. (Inherited from CAEXBasicObject.) | |
getLinkedObjects | Getting a List of LinkedObjects object of this SystemUnitClass containing references to the concrete referenced InternalElements via an InternalLink. | |
GetParent | This method returns the parent CAEXBasicObject of the current CAEXBasicObject. (Inherited from CAEXBasicObject.) | |
getReferencedClass | Getting the XmlNode for a class path. Use FindFastByPath for speed optimizations. (Inherited from CAEXBasicObject.) | |
getReferencedGUID | Parsing a string of form GUID:Interface and returning the GUID (Inherited from CAEXBasicObject.) | |
getReferencedInterfaceClass | Getting a referenced InterfaceClass. Use FindFastByPath for speed optimizations. (Inherited from CAEXBasicObject.) | |
getReferencedInterfaceName | Getting the name of the referenced Interface. Use FindFastByPath for speed optimizations. (Inherited from CAEXBasicObject.) | |
getReferencedRoleClass | Getting a referenced RoleClass. Use FindFastByPath for speed optimizations. (Inherited from CAEXBasicObject.) | |
getReferencedSystemUnitClass | Getting a referenced SystemUnitClass. Use FindFastByPath for speed optimizations. (Inherited from CAEXBasicObject.) | |
GetReferenceHierarchy(T) | Getting the reference hierarchy. hierarchy is build up as a queue. the most specialized class is first one in queue (Inherited from CAEXBasicObject.) | |
Insert_Attribute | Inserting an attribute element to this class | |
Insert_ExternalInterface | Inserting an ExternalInterface to this class. The Element is inserted at the first Element of any existing ExternalInterfaces if nothing else is explicit defined | |
Insert_InternalElement | Adding an InternalElement to this object. Remark: When inserting the same object at different positions, it is only inserted at the last desired position. If you want to insert the same element more than once, you have to create a clone copy of the object. | |
Insert_InternalLink | Inserts the specified InternalLink as the first InternalLink if nothing else if explicit defined. | |
Insert_NewInstance | Inserting a new class instance to this object. This method can be overridden in derived classes. The Instance is inserted as the first instance of any other element with the same type if nothing else is explicit defined. | |
Insert_SupportedRoleClass | Inserts the SupportedRoleClass as the first SupportedRoleClass if nothing else if explicit defined. | |
Insert_TypeBaseElement | Generic method to insert an element of type TypeBase in this object. This method could be declared as abstract, but then all inherited classes have to implement this method but not all inherited classes use this method. (Inherited from CAEXBasicObject.) | |
InternalElementChildren | Enumeration Method for direct Children of Type InternalElementType | |
LinkedObjects | Getting an Enumerable of LinkedObjects object of this SystemUnitClass containing references to the concrete referenced InternalElements via an InternalLink. | |
New_AdditionalInformation | Adding a new AdditionalInformation node to this basic object. It is allowed to insert more than one AdditionalInformation node (Inherited from CAEXBasicObject.) | |
New_Attribute | A new attribute is added to this object | |
New_Copyright | Adding an new Copyright node to this object. If a Copyright node is already existent when calling this method an exception is thrown. (Inherited from CAEXBasicObject.) | |
New_Description | Creating a new description element. An exception is thrown when a description element is already present. (Inherited from CAEXBasicObject.) | |
New_ExternalInterface | Adding a new ExternalInterface instance to this object. The New External Interface is inserted as the first ExternalInterface of any existing Interfaces if nothing else is explicit defined. | |
New_FrameAttribute | Creates a new frame attribute for this object. Position information is internally stored in more than one CAEX attribute. | |
New_InternalElement | Adding a new InternalElement to this object. If not explicit defined, the InternalElement is added as first InternalElement. | |
New_InternalLink | Inserts a new InternalLink as the first InternalLink if nothing else if explicit defined. | |
New_Revision | Creating a new revision element. According to CAEX schema each revision element must contain at least the two sub elements "RevisionDate" and "AuthorName". They are created with this revision object. The sibling order according to the CAEX Schema is preserved in that way, that revision nodes are always inserted nodes of type VersionType (Inherited from CAEXBasicObject.) | |
New_SupportedRoleClass | Inserts a new SupportedRoleClass as the first SupportedRoleClass if nothing else if explicit defined. | |
New_Version | Creating a new version element. An exception is thrown when a version element is already present. The sibling order according to the CAEX Schema is preserved in that way, that version nodes are always inserted after nodes of type DescriptionType (Inherited from CAEXBasicObject.) | |
RemoveHeader | Removing all header elements from this basic object (Inherited from CAEXBasicObject.) | |
SetDescription | This method sets a description. If no description exists, it is created. (Inherited from CAEXObject.) | |
ToString | Returning the name attribute of this element as string representation of the object (Inherited from CAEXObject.) |
Name | Description | |
---|---|---|
AdditionalInformation | The additional information (Inherited from CAEXBasicObject.) | |
Attribute | The attribute | |
ChangeMode | The change mode (Inherited from CAEXBasicObject.) | |
ExternalInterface | The external interface | |
ID | The identifier (Inherited from CAEXObject.) | |
InternalElement | The internal element | |
InternalLink | The internal link | |
Name | The name (Inherited from CAEXObject.) | |
Revision | The revision (Inherited from CAEXBasicObject.) | |
SupportedRoleClass | The supported role class |
Name | Description | |
---|---|---|
AddDocumentElement | Adds a document element to the defined internalElement. A Document Element is semanticaly described with an attached role defined withe the base role class ExternalDataRoleClassPath or a derived role class. If no roleclass path is given as a parameter the default is used. If the specified role class path can not be identified as a dreived role from the ExternalDataRoleClassPath no document element is added (returns null). (Defined by ExternalDataReference.) | |
AddNewInternalElement | Creates a new InternalElement and inserts it after the last InternalElement of the parent if the elementName is unique among the childs. The ChangeMode is set to the Value 'Create' (Defined by BasicExtensions.) | |
All | Returns a flat list of all attributes of an object, nested attributes inclusive. (Defined by BasicExtensions.) | |
AttributesEquals | Compare all Attributes of two Objects with Attributes (Defined by CaexObjectComparer.) | |
CaexEquals | Compare the CAEXPath of two CaexBasicObjects. (Defined by CaexObjectComparer.) | |
Clone_Save(T) | Clones a CAEX Object. (Defined by BasicExtensions.) | |
CopyAttributesFrom | copies all attribute including nested attributes of a given SystemUnitClass to the calling SystemUnitClass to another object (Defined by ExternalizationExtensions.) | |
CopyToClipboard | Copies the XML node's outer xml text to the clipboard. The Data format string is set to "CAEX". (Defined by AutomationMLClipboard.) | |
CreateListAttribute | Creates a new list attribute for an element which can have attributes. (Defined by ListAttribute.) | |
DocumentElements | Gets all Internal Element Children from the specified internal element which are document elements. (Defined by ExternalDataReference.) | |
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.) | |
FindByID(String) | Overloaded. Searches an object starting from the given CAEXBasicObject that has the given ID, the expected type must be casted in the source code. This search bases on XPath and is slow. (Defined by NavigationExtensions.) |
|
FindByID(T)(String) | Overloaded. Searches an object starting from the given CAEXBasicObject that has the given ID, the expected type must be given in angle brackets. (Defined by NavigationExtensions.) |
|
FindByXPath(String) | Overloaded. Searches a CAEXBasicObject from the given xPath, you must cast the returned CAEXBasicObject into the type you expect. The search bases on XPath and is slow. For speed optimization, use FindFastByPath instead. If your CAEX file has changed, update the hash tables before using this function using updateCAEXObjectHashLists before. (Defined by NavigationExtensions.) |
|
FindByXPath(T)(String) | Overloaded. Searches a CAEXBasicObject from the given xPath, the type must be given in angle brackets. The search bases on XPath and is slow. For speed optimization, use FindFastByPath instead. If your CAEX file has changed, update the hash tables before using this function using updateCAEXObjectHashLists before. (Defined by NavigationExtensions.) |
|
FindFastByPath | Performs a document wide fast search and returns a CAEXObject given by its ID. It is fast due to hash table support. If your CAEX file has changed, update the hash tables before using this function using updateCAEXObjectHashLists before. (Defined by NavigationExtensions.) | |
ForEachExternalInterface | perform an action on each External Interface in the systemunitClass (Defined by ActionExtensions.) | |
ForEachInternalElement | perform an action on each InternalElement Child in the systemunitClass (Defined by ActionExtensions.) | |
ForEachSupportedRoleClass | perform an action on each supported RoleClass in the systemUnitClass (Defined by ActionExtensions.) | |
GetAllInternalElementIDs | Returns a list of all internal element IDs from all child internal elements (recursive) (Defined by ExternalizationExtensions.) | |
GetAllInternalElements | Returns an Enumerable of all internal elements below a given system Unit Class element (recursive) (Defined by ExternalizationExtensions.) | |
GetAllInternalElementsDeep | Gets all Internal Elements of a SystemUnitClass and its SubElements (Defined by MappingExtension.) | |
GetAllInternalLinks | Get all internal links from an internal element and all child internal elements (recursive) (Defined by ExternalizationExtensions.) | |
GetAllLibraryClasses | Get all library classes withing a given Library object or CAEX-Class Object (Defined by NavigationExtensions.) | |
GetAllParentInternalElements | Gets all parents in correct order from root parent element to obj excluding the element itself. (Defined by NavigationExtensions.) | |
GetAllPropertySetElementsDeep | Get all InternalElements of the SystemUnitClass, which are PropertySets, regardless of there nesting level (Defined by MappingExtension.) | |
GetAncestors(T) | Gets all Ancestors in the Hierarchy of the specified Caex-Object, which are of Type T (Defined by NavigationExtensions.) | |
GetAttribute(String) | Overloaded. Finds an attribute with a given name. (Defined by BasicExtensions.) |
|
GetAttribute(String) | Overloaded. Gets the attribute with the specified name. (Defined by ObjectWithAttributes.) |
|
GetAttributeValue | Returns an attribute value of a given attribute name. (Defined by BasicExtensions.) | |
GetChangeMode | Returns the change mode out of the given CAEXBasicObject. (Defined by BasicExtensions.) | |
GetClassLibrary(T) | Enables every CAEXBasicObject, to get its class Library. You must specify the type of the ClassLibrary-Type that you expect. (Defined by NavigationExtensions.) | |
GetInternalElementsAndExternalInterfaces | Get all internal elements and interfaces of the given CAEXObject as flat list (Defined by NavigationExtensions.) | |
GetLibraryOfCaexObject | Gets the library of any caex object. (Defined by NavigationExtensions.) | |
GetMetaObjectInformation() | Overloaded. this methods returns the meta information out of an existing AutomationML file for an AutomationML Object (Defined by BasicExtensions.) |
|
GetMetaObjectInformation(String) | Overloaded. this methods returns the meta information out of an existing AutomationML file for an AutomationML Object and a specific Writer-ID (Defined by BasicExtensions.) |
|
GetOwnAndDerivedAttributes | Get all Attributes of the CAEXObjects, including all own and derived attributes (Defined by MappingExtension.) | |
GetParent() | Overloaded. Enables every CAEXBasicObject to get its parent object as a CAEX_ClassModel class. You must cast the result in your own code. (Defined by BasicExtensions.) |
|
GetParent(T)() | Overloaded. Enables every CAEXBasicObject to get its parent object as a CAEX_ClassModel class. You must specify the type of the CAEX_ClassModel type that you exspect. (Defined by NavigationExtensions.) |
|
GetParentNodeName | Returns the AML node name of the parent (Defined by NavigationExtensions.) | |
GetRefBaseClassPath | Get the ClassPath of a SystemUnitClassType (Inheritance Relation) (Defined by BasicExtensions.) | |
HasColladaInterface | Determines whether the specified systemUnitClass has a collada interface. (Defined by BasicExtensions.) | |
HasPLCOpenInterface | Determines whether the specified systemUnitClass has a PLCOpen interface. (Defined by BasicExtensions.) | |
HasRoleReference(String) | Overloaded. Checks, if a role reference is present in the SupportedRoleClasses of the given systemUnitClass. (Defined by BasicExtensions.) |
|
HasRoleReference(RoleClassType) | Overloaded. Checks, if a role reference to the RoleClass is present in the SupportedRoleClasses of the given systemUnitClass. (Defined by BasicExtensions.) |
|
Name | Get the Name of the specified object. (Defined by BasicExtensions.) | |
New_Revision | Creates a new Revision object including dataTime and AuthorName (Defined by SpecificExtensions.) | |
OwnerDocument | returns a CAEXDocument of an XML node (Defined by NavigationExtensions.) | |
PropertySetAttributeMapping | This Extension Methods performs a search on the systemUnitClass and its elements for any InternalElement with an assigned PropertySet and an assigned MappingObject and AttributeNameMapping, which has a SystemUnitAttributeName, which maps to the Name of the input attribute. It returns the InternalElement Object, if it is found, otherwise the result is null (Defined by MappingExtension.) | |
Remove | Deletes the object from the AML document. (Defined by BasicExtensions.) | |
RemoveSplitPoint | Remove a split point defined for this object. (Defined by ExternalizationExtensions.) | |
RemoveSubElements(T) | Removes all InternalElement and ExternalInterface Elements from a SystemUnit Class. (Defined by BasicExtensions.) | |
Replace(T) | Replaces a CaexObject by another CaexObject (Defined by BasicExtensions.) | |
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.) |
|
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.) |
|
SetAttributeValue(String, String, String, String) | Overloaded. Sets an attribute value (creates attribute if it does not exist). (Defined by ObjectWithAttributes.) |
|
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.) |
|
SetAttributeValue(String, String, String, String, String, String) | Overloaded. Sets an attribute value (creates attribute if it does not exist). (Defined by ObjectWithAttributes.) |
|
SetChangeMode | Sets or removes the change mode of the given CAEXBasicObject. (Defined by BasicExtensions.) | |
SetMetaObjectInformation(MetaObjectInformation) | Overloaded. this method is a short version of the setMetaInformation for any caex object (Defined by BasicExtensions.) |
|
SetMetaObjectInformation(String, String, String) | Overloaded. this function sets the meta information to store tool specific object-IDs (Defined by BasicExtensions.) |
|
SetSplitPointIfPossible | Record a split point for this object. Returns true if succeeded. Only allowed for objects of type InstanceHierarchy, InternalElement, SystemUnitClassLib, InterfaceClassLib, RoleClassLib. Will be split off and written to file only by SaveSplitModelParts(). (Defined by ExternalizationExtensions.) |
AMLEngine Documentation
Send comments on this topic to [AutomationML office](mailto:office%40automationml.org?Subject=AMLEngine Documentation)- 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
- AttributeType
- AttributeValueRequirementType
- CAEXBasicObject
- CAEXDocument
- CAEXFileType
- CAEXObject
- ChangeModeStates
- CopyrightType
- DescriptionType
- ExternalInterfaceType
- ExternalReferenceType
- InstanceHierarchyType
- InterfaceClassLibType
- InterfaceClassType
- InterfaceFamilyType
- InterfaceNameMappingType
- InternalElementType
- InternalLinkType
- MappingType
- NominalScaledTypeType
- ObjectWithAttributes
- OrdinalScaledTypeType
- RefSemanticType
- RevisionType
- RoleClassLibType
- RoleClassType
- RoleFamilyType
- RoleRequirementsType
- SupportedRoleClassType
- SystemUnitClassLibType
- SystemUnitClassType
- SystemUnitFamilyType
- UnknownTypeType
- VersionType
- IClassWithBaseClassReference
- IInstantiable
- IObjectWithAttributes
- IObjectWithExternalInterface
- IObjectWithRoleReference
- CAEXPathReferenceTable Class
- CAEXTable(T) Class
- CAEXTables Class
- ElementCollection(T) Class
- PathReferenceElement Class
- ReferenceElement Class
- RepairTypeEnum Enumeration
- UpdateActionEnum Enumeration
- UpdateEventArgs Class
- ValidationElement Class
- ValidationKey Class
- ValidationTypeEnum Enumeration
- CAEX_ClassModel.XmlExtension Namespace