Interface AssetChangeValue


public interface AssetChangeValue
AssetChangeValue
Example to create an instance using the builder pattern

     AssetChangeValue assetChangeValue = AssetChangeValue.builder()
             .id("{id}")
             .name(nameBuilder -> nameBuilder)
             .build()
 
  • Method Details

    • getId

      @NotNull @NotNull String getId()

      id of the Asset.

      Returns:
      id
    • getName

      @NotNull @Valid @NotNull @Valid LocalizedString getName()

      Name of the Asset.

      Returns:
      name
    • setId

      void setId(String id)

      id of the Asset.

      Parameters:
      id - value to be set
    • setName

      void setName(LocalizedString name)

      Name of the Asset.

      Parameters:
      name - value to be set
    • of

      static AssetChangeValue of()
      factory method
      Returns:
      instance of AssetChangeValue
    • of

      static AssetChangeValue of(AssetChangeValue template)
      factory method to create a shallow copy AssetChangeValue
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • deepCopy

      factory method to create a deep copy of AssetChangeValue
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • builder

      static AssetChangeValueBuilder builder()
      builder factory method for AssetChangeValue
      Returns:
      builder
    • builder

      static AssetChangeValueBuilder builder(AssetChangeValue template)
      create builder for AssetChangeValue instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withAssetChangeValue

      default <T> T withAssetChangeValue(Function<AssetChangeValue,T> helper)
      accessor map function
      Type Parameters:
      T - mapped type
      Parameters:
      helper - function to map the object
      Returns:
      mapped value
    • typeReference

      static com.fasterxml.jackson.core.type.TypeReference<AssetChangeValue> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference