Jump to: navigation, search

Difference between revisions of "HowTo:Change Inheritance of a MetaClass"


 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
[[File:UI_HowTo_ChangeInheritanceMetaClass_01.png|220px|thumb|border|alt=Inheritance|Inheritance reference]]
 
The inheritance of a [[MetaClass]] can easily be changed by setting the [[Inheritance_reference|Inheritance reference]] to a new parent.
 
The inheritance of a [[MetaClass]] can easily be changed by setting the [[Inheritance_reference|Inheritance reference]] to a new parent.
The [[MetaClass]] will derive it's data (like [[MetaProperty|Metaproperties]] from the new parent now.
+
The MetaClass will derive its structural definitions, for examples [[MetaProperty|MetaProperties]], Classifications, from the new parent now.
  
The inheritance of a [[MetaClass]] may be changed as all of the follwing conditions are fullfilled:
+
The inheritance of a MetaClass may only be changed if all of the following conditions are fulfilled:
* The [[MetaClass]] may not have any [[instance|instances]]
+
* The MetaClass may not have any [[instance|instances]] yet
* Every single [[MetaProperty]] of the new inherit owner must be a valid new MetaProperty for the [[MetaClass]]
+
* Every single MetaProperty of the new inherit owner must be a valid new MetaProperty for the MetaClass
  
  
 
==See also==
 
==See also==
* [[Requirements_for_a_MetaProperty|Requirements for adding a MetaProperty]]
+
* [[Requirements_for_a_Metaproperty|Requirements for adding a MetaProperty]]
  
[[Category:How-To]]
+
[[Category:How-To|Change Inheritance of a MetaClass]]

Latest revision as of 08:06, 10 November 2015

Inheritance
Inheritance reference

The inheritance of a MetaClass can easily be changed by setting the Inheritance reference to a new parent. The MetaClass will derive its structural definitions, for examples MetaProperties, Classifications, from the new parent now.

The inheritance of a MetaClass may only be changed if all of the following conditions are fulfilled:

  • The MetaClass may not have any instances yet
  • Every single MetaProperty of the new inherit owner must be a valid new MetaProperty for the MetaClass


See also