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