Class IdUid


  • public final class IdUid
    extends Struct
    ID tuple: besides the main ID there is also a UID for verification
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  IdUid.Vector  
    • Field Summary

    • Constructor Summary

      Constructors 
      Constructor Description
      IdUid()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      IdUid __assign​(int _i, java.nio.ByteBuffer _bb)  
      void __init​(int _i, java.nio.ByteBuffer _bb)  
      static int createIdUid​(FlatBufferBuilder builder, long id, long uid)  
      long id()  
      long uid()
      Unique ID (within the model) used to verify external managed IDs.
      • Methods inherited from class java.lang.Object

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

      • IdUid

        public IdUid()
    • Method Detail

      • __init

        public void __init​(int _i,
                           java.nio.ByteBuffer _bb)
      • __assign

        public IdUid __assign​(int _i,
                              java.nio.ByteBuffer _bb)
      • id

        public long id()
      • uid

        public long uid()
        Unique ID (within the model) used to verify external managed IDs. UIDs are also used within the model to make stable references (IDs might conflict during code merges).
      • createIdUid

        public static int createIdUid​(FlatBufferBuilder builder,
                                      long id,
                                      long uid)