src/main/java/org/vivoweb/harvester/ingest/AcademicFetchFromED.java
/**
		 * This function determine the vivo rdf:types for all the person types coming from ED
		 * @param type the list of person types from ED
		 * @return The list of vivo equivalent rdf:types 
		 */
This function determine the vivo rdf:types for all the person types coming from ED
@param type the list of person types from ED
@return The list of vivo equivalent rdf:types
This function determine the vivo rdf : types for all the person types coming from ED @param type the list of person types from ED @return The list of vivo equivalent rdf : types
private ArrayList<String> determineNsType(List<String> type) {
			ArrayList<String> ptype = new ArrayList<String>();
			if(type != null && type.contains("academic-faculty-weillfulltime")) {
				ptype.add("wcmc:FullTimeWCMCFaculty");
	       }
	        if(type != null && type.contains("academic-faculty-weillparttime")) {
				ptype.add("wcmc:PartTimeWCMCFaculty");
			}
	        if(type != null && type.contains("academic-faculty-voluntary")) {
				ptype.add("wcmc:VoluntaryFaculty");
			}
	        if(type != null && type.contains("academic-faculty-adjunct")) {
				ptype.add("wcmc:AdjunctFaculty");
			}
	        if(type != null && type.contains("academic-faculty-courtesy")) {
				ptype.add("wcmc:CourtesyFaculty");
			}
	        if(type != null && type.contains("academic-faculty-emeritus")) {
				ptype.add("core:EmeritusFaculty");
			}
	        if(type != null && type.contains("academic-faculty-instructor")) {
				ptype.add("wcmc:Instructor");
			}
	        if(type != null && type.contains("academic-faculty-lecturer")) {
				ptype.add("wcmc:Lecturer");
			}
	        if(type != null && type.contains("academic-nonfaculty-fellow")) {
				ptype.add("wcmc:Fellow");
			}
	        if(type != null && type.contains("academic-nonfaculty-postdoc")) {
				ptype.add("core:Postdoc");
			}
	        if(type != null && type.contains("academic-faculty")) {
				ptype.add("vivo:FacultyMember");
			}
			 if(type != null && type.contains("academic-nonfaculty")) {
				ptype.add("core:NonAcademic");
			}
			return ptype;
		}
private ArrayList < String > determineNsType ( List < String > type ) { ArrayList < String > ptype = new ArrayList < String > ( ) ; if ( type != null && type . contains ( "academic-faculty-weillfulltime" ) ) { ptype . add ( "wcmc:FullTimeWCMCFaculty" ) ; } if ( type != null && type . contains ( "academic-faculty-weillparttime" ) ) { ptype . add ( "wcmc:PartTimeWCMCFaculty" ) ; } if ( type != null && type . contains ( "academic-faculty-voluntary" ) ) { ptype . add ( "wcmc:VoluntaryFaculty" ) ; } if ( type != null && type . contains ( "academic-faculty-adjunct" ) ) { ptype . add ( "wcmc:AdjunctFaculty" ) ; } if ( type != null && type . contains ( "academic-faculty-courtesy" ) ) { ptype . add ( "wcmc:CourtesyFaculty" ) ; } if ( type != null && type . contains ( "academic-faculty-emeritus" ) ) { ptype . add ( "core:EmeritusFaculty" ) ; } if ( type != null && type . contains ( "academic-faculty-instructor" ) ) { ptype . add ( "wcmc:Instructor" ) ; } if ( type != null && type . contains ( "academic-faculty-lecturer" ) ) { ptype . add ( "wcmc:Lecturer" ) ; } if ( type != null && type . contains ( "academic-nonfaculty-fellow" ) ) { ptype . add ( "wcmc:Fellow" ) ; } if ( type != null && type . contains ( "academic-nonfaculty-postdoc" ) ) { ptype . add ( "core:Postdoc" ) ; } if ( type != null && type . contains ( "academic-faculty" ) ) { ptype . add ( "vivo:FacultyMember" ) ; } if ( type != null && type . contains ( "academic-nonfaculty" ) ) { ptype . add ( "core:NonAcademic" ) ; } return ptype ; }
This function determine the vivo rdf:types for all the person types coming from ED
 @param type the list of person types from ED
 @return The list of vivo equivalent rdf:types
This function determine the vivo rdf : types for all the person types coming from ED @param type the list of person types from ED @return The list of vivo equivalent rdf : types
//ptype.remove(mostSpecificType);