gov.nasa.pds.harvest.policy
Class Collection

java.lang.Object
  extended by gov.nasa.pds.harvest.policy.Collection

public class Collection
extends Object

Java class for Collection complex type.

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

 <complexType name="Collection">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{}file" maxOccurs="unbounded"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<String> file
           
 
Constructor Summary
Collection()
           
 
Method Summary
 List<String> getFile()
          Gets the value of the file property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

file

protected List<String> file
Constructor Detail

Collection

public Collection()
Method Detail

getFile

public List<String> getFile()
Gets the value of the file 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 file property.

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

    getFile().add(newItem);
 

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



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