It's not a bad solution, although you only have to keep the true value first. With JNDI you'll get by default the first value(unless you call getAll()).
Keep in mind, however, that which value of a multi-valued attribute is considered the "first value" is not defined and you should not depend on it as it could change from release to release, or depending on the backend in use.
JZ