private static void checkForKeyword ( String name ) { if ( KEYWORDS . contains ( name ) || KEYWORDS . contains ( name . toUpperCase ( ) ) ) { throw new MolgenisDataException ( "Name [" + name + "] is not allowed because it is a reserved keyword." ) ; } }
Checks if a name is a reserved keyword .