public final static boolean isEjbQlIdentifier ( String s ) { if ( s == null || s . length ( ) == 0 ) { return false ; } for ( int i = 0 ; i < ejbQlIdentifiers . length ; i ++ ) { if ( ejbQlIdentifiers [ i ] . equalsIgnoreCase ( s ) ) { return true ; } } return false ; }
Check whether the given String is an identifier according to the EJB - QL definition . See The EJB 2 . 0 Documentation Section 11 . 2 . 6 . 1 .