public static void SetBarkerErModel(ExclusiveArc element, BarkerErModel newBarkerErModel) { DslModeling::DomainRoleInfo.SetLinkedElement(element, ExclusiveArcDomainRoleId, newBarkerErModel); }
public static BarkerErModel GetBarkerErModel(ExclusiveArc element) { return DslModeling::DomainRoleInfo.GetLinkedElement(element, ExclusiveArcDomainRoleId) as BarkerErModel; }
/// <summary> /// Constructor /// Creates a BarkerErModelContainsExclusiveArc link in the same Partition as the given BarkerErModel /// </summary> /// <param name="source">BarkerErModel to use as the source of the relationship.</param> /// <param name="target">ExclusiveArc to use as the target of the relationship.</param> public BarkerErModelContainsExclusiveArc(BarkerErModel source, ExclusiveArc target) : base((source != null ? source.Partition : null), new DslModeling::RoleAssignment[]{new DslModeling::RoleAssignment(BarkerErModelContainsExclusiveArc.BarkerErModelDomainRoleId, source), new DslModeling::RoleAssignment(BarkerErModelContainsExclusiveArc.ExclusiveArcDomainRoleId, target)}, null) { }
public static DslModeling::LinkedElementCollection<Role> GetRoleCollection(ExclusiveArc element) { return new DslModeling::LinkedElementCollection<Role>(element, ExclusiveArcDomainRoleId); }
public static void SetExclusiveArc(Role element, ExclusiveArc newExclusiveArc) { DslModeling::DomainRoleInfo.SetLinkedElement(element, ConstrainedRoleDomainRoleId, newExclusiveArc); }
/// <summary> /// Constructor /// Creates a ExclusiveArcSpansOptionalRole link in the same Partition as the given ExclusiveArc /// </summary> /// <param name="source">ExclusiveArc to use as the source of the relationship.</param> /// <param name="target">Role to use as the target of the relationship.</param> public ExclusiveArcSpansOptionalRole(ExclusiveArc source, Role target) : base((source != null ? source.Partition : null), new DslModeling::RoleAssignment[]{new DslModeling::RoleAssignment(ExclusiveArcSpansOptionalRole.ExclusiveArcDomainRoleId, source), new DslModeling::RoleAssignment(ExclusiveArcSpansOptionalRole.ConstrainedRoleDomainRoleId, target)}, null) { }