@OpenApiAll
public final class UUIDRegistry
extends java.lang.Object
Constructor and Description |
---|
UUIDRegistry() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getUUID(Element element)
Get UUID of the given element.
|
static boolean |
hasUUIDInProject(Project project,
IAttachedProject attachedProject)
Checks if provided project has at least one element read with uuid.
|
static void |
setUUID(Element element,
java.lang.String uuid)
Assign new UUID.
|
public static java.lang.String getUUID(@Nonnull Element element)
element
- element to get UUID for.public static void setUUID(@Nonnull Element element, @Nonnull java.lang.String uuid)
element
- element assign UUID to.uuid
- new uuid for element.public static boolean hasUUIDInProject(Project project, @CheckForNull IAttachedProject attachedProject)
project
- MD projectattachedProject
- attached project.