gov.nasa.pds.search.core.schema
Class DataSource

java.lang.Object
  extended by gov.nasa.pds.search.core.schema.DataSource

public class DataSource
extends Object

Java class for DataSource complex type.

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

 <complexType name="DataSource">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{}url" maxOccurs="unbounded"/>
       </sequence>
       <attribute ref="{}sourceType use="required""/>
       <attribute ref="{}priority use="required""/>
       <attribute ref="{}append use="required""/>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  boolean append
           
protected  SourcePriority priority
           
protected  SourceType sourceType
           
protected  List<String> url
           
 
Constructor Summary
DataSource()
           
 
Method Summary
 SourcePriority getPriority()
          Gets the value of the priority property.
 SourceType getSourceType()
          Gets the value of the sourceType property.
 List<String> getUrl()
          Gets the value of the url property.
 boolean isAppend()
          Gets the value of the append property.
 void setAppend(boolean value)
          Sets the value of the append property.
 void setPriority(SourcePriority value)
          Sets the value of the priority property.
 void setSourceType(SourceType value)
          Sets the value of the sourceType property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

url

protected List<String> url

sourceType

protected SourceType sourceType

priority

protected SourcePriority priority

append

protected boolean append
Constructor Detail

DataSource

public DataSource()
Method Detail

getUrl

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

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

    getUrl().add(newItem);
 

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


getSourceType

public SourceType getSourceType()
Gets the value of the sourceType property.

Returns:
possible object is SourceType

setSourceType

public void setSourceType(SourceType value)
Sets the value of the sourceType property.

Parameters:
value - allowed object is SourceType

getPriority

public SourcePriority getPriority()
Gets the value of the priority property.

Returns:
possible object is SourcePriority

setPriority

public void setPriority(SourcePriority value)
Sets the value of the priority property.

Parameters:
value - allowed object is SourcePriority

isAppend

public boolean isAppend()
Gets the value of the append property.


setAppend

public void setAppend(boolean value)
Sets the value of the append property.



Copyright © 2010-2013 Planetary Data System. All Rights Reserved.