예제 #1
0
 public bool Equals(OclCollectionType obj)
 {
     if (obj != null)
     {
         return(kind == obj.kind && elementType.Equals(obj.elementType));
     }
     else
     {
         return(false);
     }
 }
예제 #2
0
 public bool Equals(OclTuplePart other)
 {
     return(name.Equals(other.name) && type.Equals(other.type));
 }
예제 #3
0
 internal override bool ConformsToInternal(OclClassifier cls)
 {
     //Enums conform only to themselves and OclAny
     return(cls.Equals(this) || cls.Equals(OclAny.Type));
 }