I've thought of having this interface NOT inherit the existing one, but... these might look like constants defined in a specific place, but they are just String instances. So we can't tell if the user is using the constants from the right class. Does anyone have an idea of how we could make this typesafe, i.e. accept the right constant names only? Not that we ever did such a validation on wrong field names.. |