internal static void SetOwner(Property element, ProductElement newProductElement) { DslModeling::DomainRoleInfo.SetLinkedElement(element, PropertyDomainRoleId, newProductElement); }
/// <summary> /// Constructor /// Creates a ProductElementHasProperties link in the same Partition as the given ProductElement /// </summary> /// <param name="source">ProductElement to use as the source of the relationship.</param> /// <param name="target">Property to use as the target of the relationship.</param> internal ProductElementHasProperties(ProductElement source, Property target) : base((source != null ? source.Partition : null), new DslModeling::RoleAssignment[]{new DslModeling::RoleAssignment(ProductElementHasProperties.ProductElementDomainRoleId, source), new DslModeling::RoleAssignment(ProductElementHasProperties.PropertyDomainRoleId, target)}, null) { }
internal static ProductElement GetOwner(Property element) { return DslModeling::DomainRoleInfo.GetLinkedElement(element, PropertyDomainRoleId) as ProductElement; }