java.lang.Object
io.dialob.session.engine.session.model.IdUtils

public class IdUtils extends Object
  • Field Details

    • QUESTIONNAIRE_ID

      public static final ItemId QUESTIONNAIRE_ID
  • Constructor Details

    • IdUtils

      public IdUtils()
  • Method Details

    • toString

      public static String toString(ValueSetId valueSetId)
    • toString

      public static String toString(ItemId itemId)
    • toIdNullable

      @Nullable public static ItemId toIdNullable(@Nullable String itemId)
    • toId

      @NonNull public static ItemId toId(@Nullable String scopeId, @NonNull String itemId)
    • toId

      @NonNull public static ItemId toId(@NonNull String itemId)
    • withIndex

      public static ItemId withIndex(ItemId itemId, int index)
    • matches

      public static boolean matches(@NonNull Optional<ItemId> itemIdLh, @NonNull Optional<ItemId> itemIdRh)
    • matches

      public static boolean matches(@NonNull ItemId itemIdLh, @NonNull ItemId itemIdRh)
    • writeIdTo

      public static void writeIdTo(@Nullable ItemId id, com.google.protobuf.CodedOutputStream output) throws IOException
      Throws:
      IOException
    • readIdFrom

      @Nullable public static ItemId readIdFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException