public static void SetVModell(Referenzmodell element, VModell newVModell) { DslModeling::DomainRoleInfo.SetLinkedElement(element, ReferenzmodellDomainRoleId, newVModell); }
/// <summary> /// Constructor /// Creates a ReferenzmodellHasVModell link in the same Partition as the given Referenzmodell /// </summary> /// <param name="source">Referenzmodell to use as the source of the relationship.</param> /// <param name="target">VModell to use as the target of the relationship.</param> public ReferenzmodellHasVModell(Referenzmodell source, VModell target) : base((source != null ? source.Partition : null), new DslModeling::RoleAssignment[]{new DslModeling::RoleAssignment(ReferenzmodellHasVModell.ReferenzmodellDomainRoleId, source), new DslModeling::RoleAssignment(ReferenzmodellHasVModell.VModellDomainRoleId, target)}, Tum.VModellXT.VModellXTDomainModelIdProvider.Instance.CreateId()) { }
public static Referenzmodell GetReferenzmodell(VModell element) { return DslModeling::DomainRoleInfo.GetLinkedElement(element, VModellDomainRoleId) as Referenzmodell; }
public static DslModeling::LinkedElementCollection<VModellvariante> GetVModellvariante(VModell element) { return GetRoleCollection<DslModeling::LinkedElementCollection<VModellvariante>, VModellvariante>(element, VModellDomainRoleId); }
/// <summary> /// Constructor /// Creates a VModellHasVModellvariante link in the same Partition as the given VModell /// </summary> /// <param name="source">VModell to use as the source of the relationship.</param> /// <param name="target">VModellvariante to use as the target of the relationship.</param> public VModellHasVModellvariante(VModell source, VModellvariante target) : base((source != null ? source.Partition : null), new DslModeling::RoleAssignment[]{new DslModeling::RoleAssignment(VModellHasVModellvariante.VModellDomainRoleId, source), new DslModeling::RoleAssignment(VModellHasVModellvariante.VModellvarianteDomainRoleId, target)}, Tum.VModellXT.VModellXTDomainModelIdProvider.Instance.CreateId()) { }
public static void SetVModell(VModellvariante element, VModell newVModell) { DslModeling::DomainRoleInfo.SetLinkedElement(element, VModellvarianteDomainRoleId, newVModell); }
public static void SetVModell(Musterbibliothek element, VModell newVModell) { DslModeling::DomainRoleInfo.SetLinkedElement(element, MusterbibliothekDomainRoleId, newVModell); }
public static void SetMusterbibliothek(VModell element, Musterbibliothek newMusterbibliothek) { DslModeling::DomainRoleInfo.SetLinkedElement(element, VModellDomainRoleId, newMusterbibliothek); }
public static Musterbibliothek GetMusterbibliothek(VModell element) { return DslModeling::DomainRoleInfo.GetLinkedElement(element, VModellDomainRoleId) as Musterbibliothek; }
/// <summary> /// Constructor /// Creates a MusterbibliothekHasVModell link in the same Partition as the given Musterbibliothek /// </summary> /// <param name="source">Musterbibliothek to use as the source of the relationship.</param> /// <param name="target">VModell to use as the target of the relationship.</param> public MusterbibliothekHasVModell(Musterbibliothek source, VModell target) : base((source != null ? source.Partition : null), new DslModeling::RoleAssignment[]{new DslModeling::RoleAssignment(MusterbibliothekHasVModell.MusterbibliothekDomainRoleId, source), new DslModeling::RoleAssignment(MusterbibliothekHasVModell.VModellDomainRoleId, target)}, Tum.VModellXT.VModellXTDomainModelIdProvider.Instance.CreateId()) { }