org.infinispan.schematic.document

## Class ObjectId

- java.lang.Object
- - org.infinispan.schematic.document.ObjectId

-     @Immutable
      @SerializeWith(value=ObjectId.Externalizer.class)
      public final class ObjectId
      extends Object

  A `ObjectId` value for use within a `BSON object`, and are 12-byte binary values designed to have a reasonably high probability of being unique when allocated.
  Since:
    5.1

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `ObjectId.Externalizer`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ObjectId(int time, int machine, int process, int inc)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(Object obj)`
    `byte[]` | `getBytes()`
    `String` | `getBytesInBase16()`
    `String` | `getBytesInBase64()`
    `int` | `getInc()`
    `int` | `getMachine()`
    `int` | `getProcess()`
    `int` | `getTime()`
    `int` | `hashCode()`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### ObjectId

          public ObjectId(int time,
                  int machine,
                  int process,
                  int inc)

  - ### Method Detail

    - #### getTime

          public int getTime()

    - #### getMachine

          public int getMachine()

    - #### getProcess

          public int getProcess()

    - #### getInc

          public int getInc()

    - #### getBytes

          public byte[] getBytes()

    - #### getBytesInBase64

          public String getBytesInBase64()

    - #### getBytesInBase16

          public String getBytesInBase16()

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### equals

          public boolean equals(Object obj)

      Overrides:
        `equals` in class `Object`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.