./../jakarta/persistence/metamodel/IdentifiableType.html" title="type parameter in IdentifiableType">X</a>,Y&gt;&nbsp;getVersion(<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 the version 
  attribute of the entity or mapped superclass.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>type</code> - the type