|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.pds.search.core.schema.DataSource
public class DataSource
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 |
---|
protected List<String> url
protected SourceType sourceType
protected SourcePriority priority
protected boolean append
Constructor Detail |
---|
public DataSource()
Method Detail |
---|
public List<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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |