/// <summary> /// Constructor /// </summary> public Annotation(Peak peak, Compound compound, Adduct adduct, EAnnotation attributes) { this.Peak = peak; this.Compound = compound; this.Adduct = adduct; this.Status = attributes; }
public bool validateEAnnotation(EAnnotation obj, DiagnosticChain diagnostics, Dictionary <object, object> context) { if (!validate_NoCircularContainment(obj, diagnostics, context)) { return(false); } bool result = validate_EveryMultiplicityConforms(obj, diagnostics, context); if (result || diagnostics != null) { result &= validate_EveryDataValueConforms(obj, diagnostics, context); } if (result || diagnostics != null) { result &= validate_EveryReferenceIsContained(obj, diagnostics, context); } if (result || diagnostics != null) { result &= validate_EveryBidirectionalReferenceIsPaired(obj, diagnostics, context); } //if (result || diagnostics != null) result &= validate_EveryProxyResolves(obj, diagnostics, context); if (result || diagnostics != null) { result &= validate_UniqueID(obj, diagnostics, context); } if (result || diagnostics != null) { result &= validate_EveryKeyUnique(obj, diagnostics, context); } if (result || diagnostics != null) { result &= validate_EveryMapEntryUnique(obj, diagnostics, context); } return(result); }
public virtual T caseEAnnotation(EAnnotation theEObject) { return(default(T)); }