Click or drag to resize

ObjectWithBaseClass Methods

The ObjectWithBaseClass type exposes the following members.

Methods
 NameDescription
Public Extension MethodAddChildWithReferenceT Appends a new element of the same type as a child element and adds a reference from the child to this element.
Public Extension MethodDeleteInheritedElement Deletes the inherited element. According to CAEX [DIN EN 62424:2008-08 A.2.4.1 (pp.48-49)], deleting of inherited properties is possible by redefinition of the corresponding data again in the child object with the ChangeMode attribute set to "deleted".
Public Extension MethodGetDerivedAttributes Gets a list of Attribute objects that are inherited from base classes. The List will also contain the elements own Attribute objects, if the parameter is set (default). If an Attribute is overwritten, only the last defined is contained.
Public Extension MethodGetDerivedInterfaces Gets a list of ExternalInterface objects that are inherited from base classes. The List will also contain the elements own ExternalInterface objects, if the parameter is set (default). If an ExternalInterface is overwritten, only the last defined is contained.
Public Extension MethodGetInheritedAttributes Gets a collection of Attribute objects that are inherited from base classes. The own attributes are included in the enumeration.
Public Extension MethodGetInheritedAttributesAndDescendants Gets a list of Attribute objects that are inherited from base classes. The List will also contain the elements own Attribute objects, if the parameter is set (default). If an Attribute is overwritten, only the last defined is contained.
Public Extension MethodGetInheritedElements Gets a collection of InternalElement objects that are inherited from base classes. As default, the own InternalElements are included in the enumeration.
Public Extension MethodGetInheritedInterfaces Gets a collection of ExternalInterface objects that are inherited from base classes.
Public Extension MethodGetInheritedInterfacesAndDescendants Gets a list of ExternalInterface objects that are inherited from base classes. The List will also contain the elements own ExternalInterface objects, if the parameter is set (default). If an ExternalInterface is overridden, only the last defined is contained. The result also contains the nested interface descendants of an external interface.
Public Extension MethodInheritedElementsTInheritedElement Gets a collection of objects of the defined InheritedElement-Type that are inherited from base classes.
Public Extension MethodIsInherited Determines, if the specified element is an inherited element. To be an inherited element, it has to be an AttributeType, ExternalInterfaceType or InternalElementType element.
Public Extension MethodIsOverridden Determines, if an element of a class with an inheritance relation to a base class is an overridden element, what means a base class contains an element which is considered as equal to the provided element. In most cases, equality is defined by equality of the element names.
Public Extension MethodOverriddenElement Determines, if an element of a class with an inheritance relation to a base class has an overridden element with the specified name and type, what means a base class contains an element which name is equal to the provided elementName.
Public Extension MethodReferencedClassName(IClassWithBaseClassReference) Name of the referenced Class without path information.
Public Extension MethodReferencedClassName(InterfaceClassType) Name of the referenced InterfaceClass without path information.
Public Extension MethodReferencedClassName(InternalElementType) Name of the referenced SystemUnitClass without path information.
Top
See Also