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