I would rename uniqueName to name and add a javadoc explaining any additional constraint on the parameter value.