@ SuppressWarnings ( "unchecked" ) public T getDefaultObject ( ) { if ( defaultValue instanceof IModel ) { return ( ( IModel < T > ) defaultValue ) . getObject ( ) ; } else { return ( T ) defaultValue ; } }
Returns default value