@Test void testGetObjectIdentity() { assertEquals( new ObjectIdentityImpl("typeId", "identifier"), entityHelper.getObjectIdentity("typeId", "identifier")); }
public ObjectIdentity getObjectIdentity(String classId, String objectIdentifier) { return new ObjectIdentityImpl(classId, getTypedValue(objectIdentifier, classId)); }
EntityHelper { public ObjectIdentity getObjectIdentity(String classId, String objectIdentifier) { return new ObjectIdentityImpl(classId, getTypedValue(objectIdentifier, classId)); } }
EntityHelper { public ObjectIdentity getObjectIdentity(String classId, String objectIdentifier) { return new ObjectIdentityImpl(classId, getTypedValue(objectIdentifier, classId)); } EntityHelper(DataService dataService); }
EntityHelper { public ObjectIdentity getObjectIdentity(String classId, String objectIdentifier) { return new ObjectIdentityImpl(classId, getTypedValue(objectIdentifier, classId)); } EntityHelper(DataService dataService); ObjectIdentity getObjectIdentity(String classId, String objectIdentifier); String getLabel(String typeId, String untypedIdentifier); String getLabel(String typeId); LabelledObjectIdentity getLabelledObjectIdentity(ObjectIdentity objectIdentity); void checkEntityExists(ObjectIdentity objectIdentity); void checkEntityTypeExists(String typeId); void checkIsNotSystem(String typeId); }
EntityHelper { public ObjectIdentity getObjectIdentity(String classId, String objectIdentifier) { return new ObjectIdentityImpl(classId, getTypedValue(objectIdentifier, classId)); } EntityHelper(DataService dataService); ObjectIdentity getObjectIdentity(String classId, String objectIdentifier); String getLabel(String typeId, String untypedIdentifier); String getLabel(String typeId); LabelledObjectIdentity getLabelledObjectIdentity(ObjectIdentity objectIdentity); void checkEntityExists(ObjectIdentity objectIdentity); void checkEntityTypeExists(String typeId); void checkIsNotSystem(String typeId); static final String ENTITY_PREFIX; static final String PLUGIN; static final String SYS_PLUGIN; }