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

## be.ehealth.business.kmehrcommons.util
Class KmehrIdGenerator

    java.lang.Object
      be.ehealth.business.kmehrcommons.util.KmehrIdGenerator

All Implemented Interfaces:
  IdGenerator

    public class KmehrIdGenerator

extends Object
implements IdGenerator

generates kmehr id suffix which is compatible with mycarenet rules. its a timestamp , with length 14. Implementation of `IdGenerator`

Field Summary
`static String` | `KMEHR_ID_GENERATOR_TAG` tag to be used to get id generator for kmehr ids with IdGeneratorFactory.getIdGenerator(KMEHR_ID_GENERATOR_TAG).

Constructor Summary
`KmehrIdGenerator()`

Method Summary
`String` | `generateId()` generates unique String .

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

Field Detail

### KMEHR_ID_GENERATOR_TAG

    public static final String KMEHR_ID_GENERATOR_TAG

  tag to be used to get id generator for kmehr ids with IdGeneratorFactory.getIdGenerator(KMEHR_ID_GENERATOR_TAG).

  See Also:
    Constant Field Values

Constructor Detail

### KmehrIdGenerator

    public KmehrIdGenerator()

Method Detail

### generateId

    public String generateId()

  Description copied from interface: `IdGenerator`
  generates unique String .

  Specified by:
    `generateId` in interface `IdGenerator`
  Returns:
    unique identifier for a
  See Also:
    `IdGenerator.generateId()`

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

Connector Package PERSMIDWIFE 3.16.1 API
Copyright © {inceptionYear}-2018 eHealth. All Rights Reserved.