getType method
Implementation
String getType(GrowlyticDatatype value){
switch(value){
case GrowlyticDatatype.double:
return "double";
case GrowlyticDatatype.date:
return "date";
case GrowlyticDatatype.boolean:
return "boolean";
case GrowlyticDatatype.float:
return "float";
case GrowlyticDatatype.integer:
return "integer";
case GrowlyticDatatype.string:
return "string";
default:
return "string";
}
}