Querying for entities by public ID

In the legacy Java API, there was an API to find entity instances by public ID:

myClaim = EntityFactory.getInstance().getEntityByRef(Claim.class, "cc:1234")

In the 8.0 Java API, use the standard query builder APIs. See Query builder APIs.

For minor differences in the Gosu and Java APIs for querying, see Querying for entity data from Java.