public static InteractionType createInteractionType(String mi, String name) { return createCvType(InteractionType.class, mi, name); }
public static ExperimentalRole createExperimentalRole(String mi, String name) { return createCvType(ExperimentalRole.class, mi, name); }
public static ParticipantIdentificationMethod createParticipantIdentificationMethod(String mi, String name) { return createCvType(ParticipantIdentificationMethod.class, mi, name); }
public static InteractionDetectionMethod createInteractionDetectionMethod(String mi, String label) { return createCvType(InteractionDetectionMethod.class, mi, label); }
public static FeatureType createFeatureType(String mi, String label) { return createCvType(FeatureType.class, mi, label); }
public static FeatureType createFeatureTypeSufficientBinding() { return createCvType(FeatureType.class, "MI:0442", "sufficient for binding"); }
public static BiologicalRole createBiologicalRole(String mi, String name) { return createCvType(BiologicalRole.class, mi, name); }
public static FeatureType createFeatureTypeMutation() { return createCvType(FeatureType.class, "MI:0118", "mutation"); }
public static RangeStatus createRangeStatus(String mi, String label) { return createCvType(RangeStatus.class, mi, label); }
public static Confidence createConfidence(String value, String unitMi, String unitName){ Unit unit = createCvType( Unit.class, unitMi, unitName); return new Confidence(unit, value); }
public static InteractorType createInteractorType(String mi, String name) { InteractorType intType = createCvType(InteractorType.class, name); intType.setXref(createXrefPsiMi(mi)); return intType; }
public static <C extends CvType> C createCvType(Class<C> cvTypeClass, String miRef, String label) { C cv = createCvType(cvTypeClass, label); cv.setXref(createXrefPsiMi(miRef)); return cv; }