Class Resource

java.lang.Object
gov.nasa.arc.pds.xml.generated.Resource

public class Resource extends Object
The Resource class provides a description of a web resource.

Java class for Resource complex type

.

The following schema fragment specifies the expected content contained within this class.

<complexType name="Resource">
  <complexContent>
    <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
      <sequence>
        <element name="name" type="{http://pds.nasa.gov/pds4/pds/v1}name" minOccurs="0"/>
        <element name="type" type="{http://pds.nasa.gov/pds4/pds/v1}type"/>
        <element name="url" type="{http://pds.nasa.gov/pds4/pds/v1}url"/>
        <element name="description" type="{http://pds.nasa.gov/pds4/pds/v1}description"/>
      </sequence>
    </restriction>
  </complexContent>
</complexType>
  • Field Details

    • name

      protected String name
    • type

      protected String type
    • url

      protected String url
    • description

      protected String description
  • Constructor Details

    • Resource

      public Resource()
  • Method Details

    • getName

      public String getName()
      Gets the value of the name property.
      Returns:
      possible object is String
    • setName

      public void setName(String value)
      Sets the value of the name property.
      Parameters:
      value - allowed object is String
    • getType

      public String getType()
      Gets the value of the type property.
      Returns:
      possible object is String
    • setType

      public void setType(String value)
      Sets the value of the type property.
      Parameters:
      value - allowed object is String
    • getUrl

      public String getUrl()
      Gets the value of the url property.
      Returns:
      possible object is String
    • setUrl

      public void setUrl(String value)
      Sets the value of the url property.
      Parameters:
      value - allowed object is String
    • getDescription

      public String getDescription()
      Gets the value of the description property.
      Returns:
      possible object is String
    • setDescription

      public void setDescription(String value)
      Sets the value of the description property.
      Parameters:
      value - allowed object is String