Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.txbridge.ba.id
Class RandomGetter

    java.lang.Object
      org.jboss.txbridge.ba.id.RandomGetter

All Implemented Interfaces:
  UniqueValueGetter

    public class RandomGetter

extends java.lang.Object
implements UniqueValueGetter

Returns a unique String object of a given precision.

Version:
  0.1
Author:
  Maciej P. Machulak (mmachulak@redhat.com)

Field Summary
`private byte[]` | `id`
`private static int` | `IDENTIFIER_PRECISION`
`private static java.util.Random` | `rg`

Constructor Summary
`RandomGetter()`

Method Summary
`java.lang.String` | `getUniqueValue()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### IDENTIFIER_PRECISION

    private static int IDENTIFIER_PRECISION

### rg

    private static java.util.Random rg

### id

    private byte[] id

Constructor Detail

### RandomGetter

    public RandomGetter()

Method Detail

### getUniqueValue

    public java.lang.String getUniqueValue()

  Specified by:
    `getUniqueValue` in interface `UniqueValueGetter`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD