Using the same structure for java interface verification as for database.