Class PrismIdentifierGenerator<O extends ObjectType>
- java.lang.Object
-
- com.evolveum.midpoint.repo.sql.util.PrismIdentifierGenerator<O>
-
- All Implemented Interfaces:
DebugDumpable
public class PrismIdentifierGenerator<O extends ObjectType> extends Object implements DebugDumpable
- Author:
- lazyman
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PrismIdentifierGenerator.Operation
-
Field Summary
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description PrismIdentifierGenerator(@NotNull PrismIdentifierGenerator.Operation operation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
collectUsedIds(@NotNull PrismObject<O> object)
String
debugDump(int indent)
IdGeneratorResult
generate(@NotNull PrismObject<O> object)
Method inserts id for prism container values, which didn't have ids, also returns all container values which has generated idIdGeneratorResult
generate(Containerable containerable)
long
nextId()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
-
-
-
Constructor Detail
-
PrismIdentifierGenerator
public PrismIdentifierGenerator(@NotNull @NotNull PrismIdentifierGenerator.Operation operation)
-
-
Method Detail
-
generate
public IdGeneratorResult generate(@NotNull @NotNull PrismObject<O> object)
Method inserts id for prism container values, which didn't have ids, also returns all container values which has generated id
-
generate
public IdGeneratorResult generate(Containerable containerable)
-
collectUsedIds
public void collectUsedIds(@NotNull @NotNull PrismObject<O> object)
-
nextId
public long nextId()
-
debugDump
public String debugDump(int indent)
- Specified by:
debugDump
in interfaceDebugDumpable
-
-