/// <summary> /// Adds a new derived class to each of the given domain classes. /// </summary> /// <param name="sources">DomainClasses to add a derived from.</param> public static void AddNewInheritanceRelationshipNewDerivedClass(List <DomainClass> sources) { ModelTreeHelper.AddNewInheritanceRelationshipNewDerivedClass(sources); }
/// <summary> /// Adds a new referece relationship instance. /// </summary> /// <param name="source">Domain class representing the source.</param> /// <param name="target">Domain class representing the target.</param> public static void AddNewReferenceRelationship(List <DomainClass> sources, AttributedDomainElement target) { ModelTreeHelper.AddNewReferenceRelationship(sources, target); }
/// <summary> /// Adds a new inheritance relationship instance for each source. /// </summary> /// <param name="sources">DomainClass to be the derived classes.</param> /// <param name="target">DomainClass to act as the base class.</param> public static void AddNewInheritanceRelationship(List <DomainClass> sources, DomainClass target) { ModelTreeHelper.AddNewInheritanceRelationship(sources, target); }
/// <summary> /// Adds a new embedding relationship instance betweend the given domain class as source and a new domain class /// as target (target is created by this method). /// </summary> /// <param name="source">Domain class acting as parent in the embedding relationship.</param> public static void AddNewEmbeddingRelationship(List <DomainClass> sources) { ModelTreeHelper.AddNewEmbeddingRelationship(sources); }