CrossCheckErrorType.java
package uk.ac.ebi.pride.jmztab2.utils.errors;
import java.util.Arrays;
/**
* Provide crosscheck service, that is parse the consistent between current mztab file and
* some other resource (eg, database, xml file and so on).
*
*
* @author qingwei
* @author nilshoffmann
* @since 29/01/13
*
*/
public final class CrossCheckErrorType extends MZTabErrorType {
private CrossCheckErrorType() {
}
/** Constant <code>Species</code> */
public static final MZTabErrorType Species = createWarn(Category.CrossCheck, "Species");
/** Constant <code>CvTermNotAllowed</code> */
public static final MZTabErrorType CvTermNotAllowed = createWarn(Category.CrossCheck, "CvTermNotAllowed");
/** Constant <code>CvTermRequired</code> */
public static final MZTabErrorType CvTermRequired = createError(Category.CrossCheck, "CvTermRequired");
/** Constant <code>CvTermRecommended</code> */
public static final MZTabErrorType CvTermRecommended = createWarn(Category.CrossCheck, "CvTermRecommended");
/** Constant <code>CvTermOptional</code> */
public static final MZTabErrorType CvTermOptional = createInfo(Category.CrossCheck, "CvTermOptional");
/** Constant <code>CvTermNotInRule</code> */
public static final MZTabErrorType CvTermNotInRule = createWarn(Category.CrossCheck, "CvTermNotInRule");
/** * Constant <code>RulePointerObjectNullRequired</code> */
public static final MZTabErrorType RulePointerObjectNullRequired = createError(Category.CrossCheck, "RulePointerObjectNull");
/** * Constant <code>RulePointerObjectNullRecommended</code> */
public static final MZTabErrorType RulePointerObjectNullRecommended = createWarn(Category.CrossCheck, "RulePointerObjectNull");
/** * Constant <code>RulePointerObjectNullOptional</code> */
public static final MZTabErrorType RulePointerObjectNullOptional = createInfo(Category.CrossCheck, "RulePointerObjectNull");
/** Constant <code>CvTermXor</code> */
public static final MZTabErrorType CvTermXor = createError(Category.CrossCheck, "CvTermXor");
/** Constant <code>CvTermMalformed</code> */
public static final MZTabErrorType CvTermMalformed = createError(Category.CrossCheck, "CvTermMalformed");
/** Constant <code>CvUndefinedInMetadata</code> */
public static final MZTabErrorType CvUndefinedInMetadata = createError(Category.CrossCheck, "CvUndefinedInMetadata");
/** Constant <code>CvUnused</code> */
public static final MZTabErrorType CvUnused = createWarn(Category.CrossCheck, "CvUnused");
/** Constant <code>SemanticValidationException</code> */
public static final MZTabErrorType SemanticValidationException = createError(Category.CrossCheck, "SemanticValidationException");
private static final MZTabErrorType[] VALUES = {
Species, CvTermNotAllowed, CvTermRequired, CvTermRecommended, CvTermOptional, CvTermNotInRule, RulePointerObjectNullRequired, RulePointerObjectNullRecommended, RulePointerObjectNullOptional,
CvTermXor, CvTermMalformed, CvUndefinedInMetadata, CvUnused, SemanticValidationException
};
public static MZTabErrorType[] getValues() {
return Arrays.copyOf(VALUES, VALUES.length);
}
}