public static Interactor createInteractor(String primaryId, String dbMi, InteractorType interactorType, Organism organism) { Interactor interactor = new Interactor(); assignNextId(interactor); interactor.setNames(createNames(primaryId, null)); interactor.setInteractorType(interactorType); interactor.setOrganism(organism); interactor.setXref(createXrefIdentity(primaryId, dbMi, dbMi)); return interactor; }
mInteractor.setInteractorType( cvTypeConverter.fromJaxb( jInteractor.getInteractorType(), InteractorType.class ) );
xmlInteractor.setInteractorType(interactorType); xmlInteractor.setInteractorType(interactorType);
mInteractor.setInteractorType( cvTypeConverter.fromJaxb( jInteractor.getInteractorType(), InteractorType.class ) );
interactor.setInteractorType( interactorType );