Class NameValueMap

java.lang.Object
org.ivoa.dm.executionbroker.NameValueMap
All Implemented Interfaces:
org.ivoa.vodml.jpa.JPAManipulations

@Embeddable @VoDml(id="execbroker:NameValueMap", role=dataType) public class NameValueMap extends Object implements org.ivoa.vodml.jpa.JPAManipulations
A map of name->value properties. See https://swagger.io/docs/specification/data-models/dictionaries/. dataType: NameValueMap
  • Constructor Details

    • NameValueMap

      public NameValueMap()
      Creates a new NameValueMap
    • NameValueMap

      public NameValueMap(NameValueMap other)
      Copy Constructor. Note that references will remain as is rather than be copied.
      Parameters:
      other - the object to be copied.
  • Method Details

    • updateUsing

      public void updateUsing(NameValueMap other)
      Update this object with the content of the given object. Note that references will remain as is rather than be copied.
      Parameters:
      other - the object to be copied.
    • createNameValueMap

      public static NameValueMap createNameValueMap(Consumer<NameValueMap.NameValueMapBuilder> f)
      create a NameValueMap in functional builder style.
      Parameters:
      f - the functional builder.
      Returns:
      an object initialized from the builder.
    • forceLoad

      public void forceLoad()
      Specified by:
      forceLoad in interface org.ivoa.vodml.jpa.JPAManipulations