if ( hasPsiXref( cvObject, CvComponentRole.BAIT_PSI_REF ) ) { newCvObject = cvObject; } else if ( hasPsiXref( cvObject, CvComponentRole.PREY_PSI_REF ) ) { newCvObject = cvObject; } else if ( hasPsiXref( cvObject, CvComponentRole.NEUTRAL_PSI_REF ) ) { newCvObject = cvObject; } else if ( hasPsiXref( cvObject, CvComponentRole.SELF_PSI_REF ) ) { newCvObject = cvObject; } else if ( hasPsiXref( cvObject, CvComponentRole.ENZYME_PSI_REF ) ) { newCvObject = IntactContext.getCurrentInstance().getCvContext().getNeutral(); } else if ( hasPsiXref( cvObject, CvComponentRole.ENZYME_TARGET_PSI_REF ) ) { newCvObject = IntactContext.getCurrentInstance().getCvContext().getNeutral(); } else if ( hasPsiXref( cvObject, CvComponentRole.UNSPECIFIED_PSI_REF ) ) { newCvObject = IntactContext.getCurrentInstance().getCvContext().getNeutral(); } else {
if ( hasPsiXref( cvObject, CvComponentRole.BAIT_PSI_REF ) ) { newCvObject = cvObject; } else if ( hasPsiXref( cvObject, CvComponentRole.PREY_PSI_REF ) ) { newCvObject = cvObject; } else if ( hasPsiXref( cvObject, CvComponentRole.NEUTRAL_PSI_REF ) ) { newCvObject = cvObject; } else if ( hasPsiXref( cvObject, CvComponentRole.SELF_PSI_REF ) ) { newCvObject = cvObject; } else if ( hasPsiXref( cvObject, CvComponentRole.ENZYME_PSI_REF ) ) { newCvObject = IntactContext.getCurrentInstance().getCvContext().getNeutral(); } else if ( hasPsiXref( cvObject, CvComponentRole.ENZYME_TARGET_PSI_REF ) ) { newCvObject = IntactContext.getCurrentInstance().getCvContext().getNeutral(); } else if ( hasPsiXref( cvObject, CvComponentRole.UNSPECIFIED_PSI_REF ) ) { newCvObject = IntactContext.getCurrentInstance().getCvContext().getNeutral(); } else {
if ( hasPsiXref( cvObject, CvComponentRole.BAIT_PSI_REF ) ) { newCvObject = IntactContext.getCurrentInstance().getCvContext().getUnspecified(); } else if ( hasPsiXref( cvObject, CvComponentRole.PREY_PSI_REF ) ) { newCvObject = IntactContext.getCurrentInstance().getCvContext().getUnspecified(); } else if ( hasPsiXref( cvObject, CvComponentRole.NEUTRAL_PSI_REF ) ) { newCvObject = IntactContext.getCurrentInstance().getCvContext().getUnspecified(); } else if ( hasPsiXref( cvObject, CvComponentRole.SELF_PSI_REF ) ) { newCvObject = cvObject; } else if ( hasPsiXref( cvObject, CvComponentRole.ENZYME_PSI_REF ) ) { newCvObject = cvObject; } else if ( hasPsiXref( cvObject, CvComponentRole.ENZYME_TARGET_PSI_REF ) ) { newCvObject = cvObject; } else if ( hasPsiXref( cvObject, CvComponentRole.UNSPECIFIED_PSI_REF ) ) { newCvObject = cvObject; } else {
if ( hasPsiXref( cvObject, CvComponentRole.BAIT_PSI_REF ) ) { newCvObject = IntactContext.getCurrentInstance().getCvContext().getUnspecified(); } else if ( hasPsiXref( cvObject, CvComponentRole.PREY_PSI_REF ) ) { newCvObject = IntactContext.getCurrentInstance().getCvContext().getUnspecified(); } else if ( hasPsiXref( cvObject, CvComponentRole.NEUTRAL_PSI_REF ) ) { newCvObject = IntactContext.getCurrentInstance().getCvContext().getUnspecified(); } else if ( hasPsiXref( cvObject, CvComponentRole.SELF_PSI_REF ) ) { newCvObject = cvObject; } else if ( hasPsiXref( cvObject, CvComponentRole.ENZYME_PSI_REF ) ) { newCvObject = cvObject; } else if ( hasPsiXref( cvObject, CvComponentRole.ENZYME_TARGET_PSI_REF ) ) { newCvObject = cvObject; } else if ( hasPsiXref( cvObject, CvComponentRole.UNSPECIFIED_PSI_REF ) ) { newCvObject = cvObject; } else {