Class Metadata

java.lang.Object
csw.location.api.models.Metadata
All Implemented Interfaces:
Serializable, scala.Equals, scala.Product

public class Metadata extends Object implements scala.Product, Serializable
metadata represents any additional information (metadata) associated with location For example, "agentId": "ESW.agent1" this can be metadata information for sequence component location

param: value represents additional information associated with location

See Also:
  • Constructor Details

  • Method Details

    • empty

      public static Metadata empty()
    • apply

      public static Metadata apply()
    • value

      public scala.collection.immutable.Map<String,String> value()
    • jValue

      public Map<String,String> jValue()
    • add

      public Metadata add(String key, String value)
    • withCSWVersion

      public Metadata withCSWVersion(String version)
    • withPid

      public Metadata withPid(long pid)
    • withAgentPrefix

      public Metadata withAgentPrefix(Prefix agentPrefix)
    • withSequenceComponentPrefix

      public Metadata withSequenceComponentPrefix(Prefix sequenceComponentPrefix)
    • getCSWVersion

      public scala.Option<String> getCSWVersion()
    • get

      public scala.Option<String> get(String key)
    • getPid

      public scala.Option<Object> getPid()
    • getAgentPrefix

      public scala.Option<Prefix> getAgentPrefix()
    • getSequenceComponentPrefix

      public scala.Option<Prefix> getSequenceComponentPrefix()
    • jGet

      public Optional<String> jGet(String key)
    • jGetPid

      public Optional<Object> jGetPid()
    • jGetAgentPrefix

      public Optional<Prefix> jGetAgentPrefix()
    • jGetSequenceComponentPrefix

      public Optional<Prefix> jGetSequenceComponentPrefix()