fix #15, clarify javadoc for value and valueConstraint methods