This method can be rewritten to
<code>
return getEntityId(entityId.toString(), docType);
</code>
Since the int will be formatted as a string anyway to create the object, this is not even any extra work. If the code is restructured to split into getPropertyId and getItemId methods, this is still the same.