@API(status=STABLE, since="6.0") public final class UUIDStringGenerator extends Object implements IdGenerator<String>
Constructor and Description |
---|
UUIDStringGenerator() |
Modifier and Type | Method and Description |
---|---|
String |
generateId(String primaryLabel,
Object entity)
Generates a new id for given entity.
|
public String generateId(String primaryLabel, Object entity)
IdGenerator
generateId
in interface IdGenerator<String>
entity
- the entity to be savedCopyright © 2019–2021 Neo4j, Neo4j Sweden AB. All rights reserved.