public void SetValue(GKOComponent componentVal, GKOAttribute attributeVal)
        {
            if (componentVal == null)
            {
                throw new NullReferenceException("The component must be specified!");
            }
            else if (attributeVal == null)
            {
                throw new NullReferenceException("The attribute must be specified!");
            }
            else if (!componentVal.AttributeValues.ContainsKey(attributeVal))
            {
                throw new NullReferenceException("This attribute is not available for the component!");
            }

            this.Component = componentVal;
            this.Attribute = attributeVal;
        }
 public AttributeRelationPart(GKOComponent componentVal, GKOAttribute attributeVal)
 {
     this.SetValue(componentVal, attributeVal);
 }