/* $This file is distributed under the terms of the license in /doc/license.txt$ */

package edu.cornell.mannlib.vitro.webapp.web.templatemodels.searchresult;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import edu.cornell.mannlib.vitro.webapp.beans.Individual;
import edu.cornell.mannlib.vitro.webapp.controller.VitroRequest;

public class IndividualSearchResult extends BaseIndividualSearchResult {

    private static final Log log = LogFactory.getLog(IndividualSearchResult.class);

    private static final String CORE = "http://vivoweb.org/ontology/core#";
       
    public IndividualSearchResult(Individual individual, VitroRequest vreq) {
    	super(individual, vreq);
    	log.info("Called Individual Search Result");
    }
    
    /* Access methods for templates */
    
    public String getPreferredTitle() {
    	log.info("Called get Title");
        return individual.getDataValue(CORE + "preferredTitle");
    }
    
    public String getEmail() {
    	log.info("Called get Email");
    	return individual.getDataValue(CORE + "email");
    }

}
@@ -715,36 +715,37 @@
 vreq);%0A    %09log.
-info
+debug
 (%22Called Individ
@@ -861,36 +861,37 @@
 le() %7B%0A    %09log.
-info
+debug
 (%22Called get Tit
@@ -1016,12 +1016,13 @@
 log.
-info
+debug
 (%22Ca

Remove superfluous noise from the log.