Class CreateResourceRequestContainedValueInner<T>

java.lang.Object
com.clinia.model.registry.CreateResourceRequestContainedValueInner<T>

public class CreateResourceRequestContainedValueInner<T> extends Object
CreateResourceRequestContainedValueInner
  • Constructor Details

    • CreateResourceRequestContainedValueInner

      public CreateResourceRequestContainedValueInner()
  • Method Details

    • setId

    • getId

      @Nullable public String getId()
      When provided, the id must follow the semantic of contained resource ids (e.g. `clinic/1/healthService/1`). The contained ids can be provided even if the top-level id is not provided (or equal to `@rootId`). In those cases, use the special `@rootId` token to refer to the top-level id (e.g. `clinic/@rootId/healthService/1`). If not provided, the id of the given contained will be generated sequentially per contained key, starting at 1. For instance, if there are 3 contained for the key `healthService`, they will be generated in order as such: [`clinic/1/healthService/1`, `clinic/1/healthService/2`, `clinic/1/healthService/3`] When some contained ids are provided and some are not, the generated ids will still be sequential starting from 1, ignoring collisions with provided ids. For instance, if you insert 5 contained resources under the same key `healthService` and only provide ids like such: [`clinic/1/healthService/3`, , `clinic/1/healthService/5`, `clinic/1/healthService/100`], the outcome will be [`clinic/1/healthService/3`, `clinic/1/healthService/1`, `clinic/1/healthService/2`, `clinic/1/healthService/5`, `clinic/1/healthService/100`].
    • setType

    • getType

      @Nonnull public String getType()
      Type of the resource.
    • setData

    • getData

      @Nonnull public T getData()
      Get data
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object