1 package org.melati.admin;
2
3 public class PoemGvisTypeConverter {
4
5 public static String convert(int poemType){
6 if (PoemGvisType.from(poemType) == null) // eg table types
7 return "string";
8 else
9 return PoemGvisType.from(poemType).gvisJsonTypeName();
10 }
11
12 }