@Test public final void testNewGUID() { assertEquals(0, GUIDFactory.newGUID().getObjectId()); assertEquals(GUIDObjectType.OBJECTGROUP_TYPE, GUIDFactory.newChildrenGUID(GUIDFactory.newUnitGUID(1)).getObjectId()); final GUID unit = GUIDFactory.newUnitGUID(0); assertEquals(GUIDObjectType.UNIT_TYPE, unit.getObjectId()); final GUID og = GUIDFactory.newObjectGroupGUID(0); assertEquals(GUIDObjectType.OBJECTGROUP_TYPE, og.getObjectId()); assertEquals(GUIDObjectType.OBJECTGROUP_TYPE, GUIDFactory.newObjectGroupGUID(unit).getObjectId()); assertEquals(GUIDObjectType.OBJECT_TYPE, GUIDFactory.newObjectGUID(0).getObjectId()); assertEquals(GUIDObjectType.OBJECT_TYPE, GUIDFactory.newObjectGUID(og).getObjectId()); assertEquals(GUIDObjectType.OPERATION_LOGBOOK_TYPE, GUIDFactory.newOperationLogbookGUID(0).getObjectId()); assertEquals(GUIDObjectType.WRITE_LOGBOOK_TYPE, GUIDFactory.newWriteLogbookGUID(0).getObjectId()); assertEquals(GUIDObjectType.STORAGE_OPERATION_TYPE, GUIDFactory.newStorageOperationGUID(0, true).getObjectId()); assertEquals(GUIDObjectType.EVENT_TYPE, GUIDFactory.newEventGUID(0).getObjectId()); assertEquals(GUIDObjectType.REQUESTID_TYPE, GUIDFactory.newRequestIdGUID(0).getObjectId()); assertEquals(GUIDObjectType.MANIFEST_TYPE, GUIDFactory.newManifestGUID(0).getObjectId()); assertEquals(GUIDObjectType.EVENT_TYPE, GUIDFactory.newEventGUID(0).getObjectId()); assertEquals(GUIDObjectType.ACCESSION_REGISTER_SUMMARY_TYPE, GUIDFactory.newAccessionRegisterSummaryGUID(0).getObjectId()); assertEquals(true, GUIDFactory.isWorm(GUIDFactory.newStorageOperationGUID(0, true))); assertEquals(GUIDImpl.getKeySize(), GUIDFactory.getKeysize()); assertEquals(GUIDImpl.KEYB32SIZE, GUIDFactory.getKeysizeBase32()); }
public static final GUID newGUID() { return new GUIDImplPrivate(0, 0, serverIdentity.getGlobalPlatformId(), false); }
GUIDFactory { public static final GUID newGUID() { return new GUIDImplPrivate(0, 0, serverIdentity.getGlobalPlatformId(), false); } }
GUIDFactory { public static final GUID newGUID() { return new GUIDImplPrivate(0, 0, serverIdentity.getGlobalPlatformId(), false); } private  GUIDFactory(); }
GUIDFactory { public static final GUID newGUID() { return new GUIDImplPrivate(0, 0, serverIdentity.getGlobalPlatformId(), false); } private  GUIDFactory(); static final GUID newGUID(); static final GUID newUnitGUID(final int tenantId); static final GUID newObjectGroupGUID(final int tenantId); static final GUID newObjectGroupGUID(final GUID unitParentGUID); static final GUID newObjectGUID(final int tenantId); static final GUID newObjectGUID(final GUID objectGroupParentGUID); static final GUID newOperationLogbookGUID(final int tenantId); static final GUID newWriteLogbookGUID(final int tenantId); static final GUID newStorageOperationGUID(final int tenantId, final boolean worm); static final GUID newEventGUID(final int tenantId); static final GUID newEventGUID(final GUID logbookGUID); static final GUID newRequestIdGUID(final int tenantId); static final GUID newManifestGUID(final int tenantId); static final GUID newAccessionRegisterSummaryGUID(final int tenantId); static final GUID newAccessionRegisterSymbolicGUID(final int tenantId); static final GUID newContractGUID(final int tenantId); static final GUID newProfileGUID(final int tenantId); static final GUID newOntologyGUID(final int tenantId); static final GUID newContextGUID(); static final GUID newAgencyGUID(final int tenantId); static final GUID newAccessionRegisterDetailGUID( int tenantId); static final boolean isWorm(final GUID uuid); static final int getKeysize(); static final int getKeysizeBase32(); }
GUIDFactory { public static final GUID newGUID() { return new GUIDImplPrivate(0, 0, serverIdentity.getGlobalPlatformId(), false); } private  GUIDFactory(); static final GUID newGUID(); static final GUID newUnitGUID(final int tenantId); static final GUID newObjectGroupGUID(final int tenantId); static final GUID newObjectGroupGUID(final GUID unitParentGUID); static final GUID newObjectGUID(final int tenantId); static final GUID newObjectGUID(final GUID objectGroupParentGUID); static final GUID newOperationLogbookGUID(final int tenantId); static final GUID newWriteLogbookGUID(final int tenantId); static final GUID newStorageOperationGUID(final int tenantId, final boolean worm); static final GUID newEventGUID(final int tenantId); static final GUID newEventGUID(final GUID logbookGUID); static final GUID newRequestIdGUID(final int tenantId); static final GUID newManifestGUID(final int tenantId); static final GUID newAccessionRegisterSummaryGUID(final int tenantId); static final GUID newAccessionRegisterSymbolicGUID(final int tenantId); static final GUID newContractGUID(final int tenantId); static final GUID newProfileGUID(final int tenantId); static final GUID newOntologyGUID(final int tenantId); static final GUID newContextGUID(); static final GUID newAgencyGUID(final int tenantId); static final GUID newAccessionRegisterDetailGUID( int tenantId); static final boolean isWorm(final GUID uuid); static final int getKeysize(); static final int getKeysizeBase32();  }