public static DslModeling::LinkedElementCollection <Test> GetTest(DomainModel element)
 {
     return(GetRoleCollection <DslModeling::LinkedElementCollection <Test>, Test>(element, DomainModelDomainRoleId));
 }
 /// <summary>
 /// Constructor
 /// Creates a DomainModelHasTest link in the same Partition as the given DomainModel
 /// </summary>
 /// <param name="source">DomainModel to use as the source of the relationship.</param>
 /// <param name="target">Test to use as the target of the relationship.</param>
 public DomainModelHasTest(DomainModel source, Test target)
     : base((source != null ? source.Partition : null), new DslModeling::RoleAssignment[] { new DslModeling::RoleAssignment(DomainModelHasTest.DomainModelDomainRoleId, source), new DslModeling::RoleAssignment(DomainModelHasTest.TestDomainRoleId, target) }, Tum.TestLanguage.TestLanguageDomainModelIdProvider.Instance.CreateId())
 {
 }
 public static void SetDomainModel(Test element, DomainModel newDomainModel)
 {
     DslModeling::DomainRoleInfo.SetLinkedElement(element, TestDomainRoleId, newDomainModel);
 }