Package gov.nasa.pds.search.core.schema
Class DataSource
- java.lang.Object
-
- 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
Fields Modifier and Type Field Description protected booleanappendprotected SourcePrioritypriorityprotected SourceTypesourceTypeprotected List<String>url
-
Constructor Summary
Constructors Constructor Description DataSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SourcePrioritygetPriority()Gets the value of the priority property.SourceTypegetSourceType()Gets the value of the sourceType property.List<String>getUrl()Gets the value of the url property.booleanisAppend()Gets the value of the append property.voidsetAppend(boolean value)Sets the value of the append property.voidsetPriority(SourcePriority value)Sets the value of the priority property.voidsetSourceType(SourceType value)Sets the value of the sourceType property.
-
-
-
Field Detail
-
sourceType
protected SourceType sourceType
-
priority
protected SourcePriority priority
-
append
protected boolean append
-
-
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
setmethod 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 isSourceType
-
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 isSourcePriority
-
isAppend
public boolean isAppend()
Gets the value of the append property.
-
setAppend
public void setAppend(boolean value)
Sets the value of the append property.
-
-