Class Reference

java.lang.Object
gov.nasa.pds.model.Reference

@Generated(value="org.openapitools.codegen.languages.SpringCodegen", date="2024-09-03T18:10:48.512595446Z[GMT]") public class Reference extends Object
object describing a reference to a different product. TODO The properties should be defined by a standard (xlink, json-ld) to be chosen
  • Constructor Details

    • Reference

      public Reference()
  • Method Details

    • title

      public Reference title(String title)
    • getTitle

      public String getTitle()
      name to display for the external reference
      Returns:
      title
    • setTitle

      public void setTitle(String title)
    • id

      public Reference id(String id)
    • getId

      @NotNull public @NotNull String getId()
      external reference, here lidvid urn
      Returns:
      id
    • setId

      public void setId(String id)
    • href

      public Reference href(String href)
    • getHref

      public String getHref()
      external reference url of the current reference resolvable by the current API server, http://pds.nasa.gov/api/products/urn:nasa...
      Returns:
      href
    • setHref

      public void setHref(String href)
    • type

      public Reference type(String type)
    • getType

      public String getType()
      type of the external reference, can be displayed as an icon for example
      Returns:
      type
    • setType

      public void setType(String type)
    • description

      public Reference description(String description)
    • getDescription

      public String getDescription()
      longer description for the external reference, can be displayed in a tooltip
      Returns:
      description
    • setDescription

      public void setDescription(String description)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object