"../../../jakarta/persistence/metamodel/SingularAttribute.html" title="interface in jakarta.persistence.metamodel">SingularAttribute</a>&lt;<a href="../../../jakarta/persistence/metamodel/IdentifiableType.html" title="type parameter in IdentifiableType">X</a>,Y&gt;&nbsp;getDeclaredId(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;Y&gt;&nbsp;type)</pre>
<div class="block">Return the attribute that corresponds to t