public class DataSource
extends java.lang.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>
Modifier and Type | Field and Description |
---|---|
protected boolean |
append |
protected SourcePriority |
priority |
protected SourceType |
sourceType |
protected java.util.List<java.lang.String> |
url |
Constructor and Description |
---|
DataSource() |
Modifier and Type | Method and Description |
---|---|
SourcePriority |
getPriority()
Gets the value of the priority property.
|
SourceType |
getSourceType()
Gets the value of the sourceType property.
|
java.util.List<java.lang.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.
|
protected java.util.List<java.lang.String> url
protected SourceType sourceType
protected SourcePriority priority
protected boolean append
public java.util.List<java.lang.String> getUrl()
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
public SourceType getSourceType()
SourceType
public void setSourceType(SourceType value)
value
- allowed object is
SourceType
public SourcePriority getPriority()
SourcePriority
public void setPriority(SourcePriority value)
value
- allowed object is
SourcePriority
public boolean isAppend()
public void setAppend(boolean value)
Copyright © 2010-2018 Planetary Data System. All Rights Reserved.