public < T > T get ( String attr , Object defaultValue ) { Object result = attrs . get ( attr ) ; return ( T ) ( result != null ? result : defaultValue ) ; }
Get attribute of any mysql type . Returns defaultValue if null .