Id.Companion
Keywords: net.corda.core.utilities.Id.Companion class
Date: 2023-09-18

net.corda.core.utilities

## Class Id.Companion

- net.corda.core.utilities.Id.Companion

- Enclosing class:
    Id<VALUE>

      public static class Id.Companion

- - ### Method Detail

    - #### newInstance

          @JvmStatic
           @NotNull
          public <V> Id<V> newInstance(@NotNull
                                                            V value,
                                                            @Nullable
                                                            java.lang.String entityType,
                                                            @NotNull
                                                            java.time.Instant timestamp)

      Creates an id using Instant.now as timestamp.

      See Also:
        Instant.now