public static void SetReferenzvariante(Variante element, Variante newVarianteTarget) { DslModeling::DomainRoleInfo.SetLinkedElement(element, VarianteSourceDomainRoleId, newVarianteTarget); }
public static Variante GetReferenzvariante(Variante element) { return DslModeling::DomainRoleInfo.GetLinkedElement(element, VarianteSourceDomainRoleId) as Variante; }
public static DslModeling::LinkedElementCollection<Variante> GetVarianteSource(Variante element) { return GetRoleCollection<DslModeling::LinkedElementCollection<Variante>, Variante>(element, VarianteTargetDomainRoleId); }
/// <summary> /// Constructor /// Creates a VarianteSourceReferencesVarianteTarget link in the same Partition as the given Variante /// </summary> /// <param name="source">Variante to use as the source of the relationship.</param> /// <param name="target">Variante to use as the target of the relationship.</param> public VarianteSourceReferencesVarianteTarget(Variante source, Variante target) : base((source != null ? source.Partition : null), new DslModeling::RoleAssignment[]{new DslModeling::RoleAssignment(VarianteSourceReferencesVarianteTarget.VarianteSourceDomainRoleId, source), new DslModeling::RoleAssignment(VarianteSourceReferencesVarianteTarget.VarianteTargetDomainRoleId, target)}, Tum.VModellXT.VModellXTDomainModelIdProvider.Instance.CreateId()) { }
public static void SetVarianten(Variante element, Varianten newVarianten) { DslModeling::DomainRoleInfo.SetLinkedElement(element, VarianteDomainRoleId, newVarianten); }
public static Varianten GetVarianten(Variante element) { return DslModeling::DomainRoleInfo.GetLinkedElement(element, VarianteDomainRoleId) as Varianten; }