Package 

Object IDManager


  • 
    public class IDManager
    
                        

    Manages IDs that are created locally. Has the ability to generate globally unique identifiers and detect whether a provided ID was generated locally.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final static IDManager INSTANCE
    • Method Summary

      Modifier and Type Method Description
      final String createLocalId() Create a new local ID to be used temporarily prior to backend generation.
      final Boolean isLocalId(String id) Determine whether the ID provided is locally generated.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • createLocalId

         final String createLocalId()

        Create a new local ID to be used temporarily prior to backend generation.

      • isLocalId

         final Boolean isLocalId(String id)

        Determine whether the ID provided is locally generated.

        Parameters:
        id - The ID to test.