"class or interface in java.lang" class="external-link">Class</a>&lt;?&gt;&gt;</span>&nbsp;<span class="element-name">getGroups</span>()</div>
<div class="block">The set of groups the constraint is applied on.
 If the constraint declares no group, a set with only the <a href="../groups/Default.html" title="interface in jakarta.validation.groups"><code>Default</code></a>
 group is returned.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>the groups the constraint is applied on</dd>
</dl>
</section>
</li>
<li>