Class ComponentMetadata.ComponentMetadataBuilder

java.lang.Object
org.ivoa.dm.executionbroker.ComponentMetadata.ComponentMetadataBuilder
Enclosing class:
ComponentMetadata

public static class ComponentMetadata.ComponentMetadataBuilder extends Object
A builder class for ComponentMetadata, mainly for use in the functional builder pattern.
  • Field Details

    • uuid

      public String uuid
      A machine readable UUID, assigned when a component is created in a service.
    • name

      public String name
      A human readable name, assigned by the client.
    • url

      public String url
      The URL to access this component.
    • description

      public String description
      A human readable description.
    • created

      public String created
      The date and time the component was created.
    • modified

      public String modified
      The date and time the component was last modified.
    • messages

      public List<MessageItem> messages
      A list of messages about this component.
    • options

      public List<AbstractOption> options
      A List of options the client can apply to this component.
  • Constructor Details

    • ComponentMetadataBuilder

      public ComponentMetadataBuilder()
  • Method Details

    • create

      public ComponentMetadata create()
      create a ComponentMetadata from this builder.
      Returns:
      an object initialized from the builder.