private Object mapToId ( Object tmp ) { if ( tmp instanceof Double ) { return new Integer ( ( ( Double ) tmp ) . intValue ( ) ) ; } else { return Context . toString ( tmp ) ; } }
map a property id . Property id can only be an Integer or String