gov.nasa.pds.harvest.pdap.policy
Class ResourceMetadata

java.lang.Object
  extended by gov.nasa.pds.harvest.pdap.policy.ResourceMetadata

public class ResourceMetadata
extends Object

Java class for ResourceMetadata complex type.

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

 <complexType name="ResourceMetadata">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{}title"/>
         <element ref="{}type"/>
         <element ref="{}slot" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<Slot> slot
           
protected  String title
           
protected  String type
           
 
Constructor Summary
ResourceMetadata()
           
 
Method Summary
 List<Slot> getSlot()
          Gets the value of the slot property.
 String getTitle()
          Gets the value of the title property.
 String getType()
          Gets the value of the type property.
 void setTitle(String value)
          Sets the value of the title property.
 void setType(String value)
          Sets the value of the type property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

title

protected String title

type

protected String type

slot

protected List<Slot> slot
Constructor Detail

ResourceMetadata

public ResourceMetadata()
Method Detail

getTitle

public String getTitle()
Gets the value of the title property.

Returns:
possible object is String

setTitle

public void setTitle(String value)
Sets the value of the title 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

getSlot

public List<Slot> getSlot()
Gets the value of the slot property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the slot property.

For example, to add a new item, do as follows:

    getSlot().add(newItem);
 

Objects of the following type(s) are allowed in the list Slot



Copyright © 2010–2014 Planetary Data System. All rights reserved.