>
<pre class="methodSignature">public&nbsp;void&nbsp;setPrimaryType&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;primaryType)</pre>
<div class="block">Set the primary type. Overrides existing primary type.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>primaryType</code> - primary type</dd>
</dl>
</li>
</ul>
<a id="setSubType(java.lan