public boolean isSimpleType ( ) { if ( // fieldType . equals ( Double . class . getCanonicalName ( ) ) || // fieldType . equals ( Float . class . getCanonicalName ( ) ) || // fieldType . equals ( Integer . class . getCanonicalName ( ) ) || // fieldType . equals ( double . class . getCanonicalName ( ) ) || // fieldType . equals ( float . class . getCanonicalName ( ) ) || // fieldType . equals ( int . class . getCanonicalName ( ) ) || // fieldType . equals ( Boolean . class . getCanonicalName ( ) ) || // fieldType . equals ( boolean . class . getCanonicalName ( ) ) || // fieldType . equals ( String . class . getCanonicalName ( ) ) // ) { return true ; } return false ; }
Checks if this field is a simple type .