Something is wrong with the way I am using Enumerations
<pre><code>public enum RelationType { Subclass, HasArm, HasLeg };
public RelationType RelationShipType { get; set; }

public static IOwlRelation AddSubClassRelation(IOwlClass parent, IOwlClass child)
{
    return new OwlRelation
    {
        Parent = parent,
        Child = child,
        RelationShipType = RelationType.Subclass
    };
}
</code></pre>

<p>So let's say this was in a <strong>OwlRelation</strong> class and now in the consumer class first I create a OwlRelation object by saying like </p>

<pre><code>OwlRelation r1 = OwlRelation.AddSubClassRelation( someParent, someChild);
</code></pre>

<p>and also have a method like <strong>AddRelation(OwlRelation)</strong>  that I can pass that <strong>r1</strong> object to it, now in the body of this method I can check and see what was the value of the enumeration on this object and some stuff based on that value. </p>

<p><strong>So</strong> that's the reason I have defined that Enumeration type in the OwlRelation class. BUT I think this is not the correct way of axchieving this and prob I just don't have enough expertise to figure it out. So what do you think is the correct way of doing this?</p>
