Class Rights.RightsBuilder

java.lang.Object
org.ivoa.dm.registry.voresource.Rights.RightsBuilder
Enclosing class:
Rights

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

    • value

      public String value
      .
    • rightsURI

      public String rightsURI
      A URI identifier for a license Where formal licenses are available, this URI can reference the full license text. The IVOA may define standard URIs for a set of recommended licenses, in which case these should be used here.
  • Constructor Details

    • RightsBuilder

      public RightsBuilder()
  • Method Details

    • create

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