* @return lanname if it is found, else return empty string
*/
public static String getLanname(String lancode){
String lanname = "";
try{
Lan lan = (Lan)LanFinderBase.findByPrimaryKey(new LanKey(lancode));
if(lan != null && lan.getLannamn() != null){
lanname = lan.getLannamn();
}
}catch(SQLException sqle){
log.log(Level.ERROR, sqle);
}
return lanname;