public class ObjectLocation extends Object implements Serializable
<xs:complexType xmlns:ns="http://ns.dataone.org/service/types/v1" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="ObjectLocation">
<xs:sequence>
<xs:element type="ns:NodeReference" name="nodeIdentifier" minOccurs="1" maxOccurs="1"/>
<xs:element type="xs:string" name="baseURL" minOccurs="1" maxOccurs="1"/>
<xs:element type="xs:string" name="version" minOccurs="1" maxOccurs="unbounded"/>
<xs:element type="xs:string" name="url" minOccurs="1" maxOccurs="1"/>
<xs:element type="xs:int" name="preference" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
</xs:complexType>
| Constructor and Description |
|---|
ObjectLocation() |
| Modifier and Type | Method and Description |
|---|---|
void |
addVersion(String item)
Add a 'version' element item.
|
void |
clearVersionList()
Remove all 'version' element items.
|
String |
getBaseURL()
Get the 'baseURL' element value.
|
NodeReference |
getNodeIdentifier()
Get the 'nodeIdentifier' element value.
|
Integer |
getPreference()
Get the 'preference' element value.
|
String |
getUrl()
Get the 'url' element value.
|
String |
getVersion(int index)
Get 'version' element item by position.
|
List<String> |
getVersionList()
Get the list of 'version' element items.
|
void |
setBaseURL(String baseURL)
Set the 'baseURL' element value.
|
void |
setNodeIdentifier(NodeReference nodeIdentifier)
Set the 'nodeIdentifier' element value.
|
void |
setPreference(Integer preference)
Set the 'preference' element value.
|
void |
setUrl(String url)
Set the 'url' element value.
|
void |
setVersionList(List<String> list)
Set the list of 'version' element items.
|
int |
sizeVersionList()
Get the number of 'version' element items.
|
public NodeReference getNodeIdentifier()
public void setNodeIdentifier(NodeReference nodeIdentifier)
nodeIdentifier - public String getBaseURL()
public void setBaseURL(String baseURL)
baseURL - public List<String> getVersionList()
public void setVersionList(List<String> list)
list - public int sizeVersionList()
public void addVersion(String item)
item - public String getVersion(int index)
index - public void clearVersionList()
public String getUrl()
public void setUrl(String url)
url - public Integer getPreference()
public void setPreference(Integer preference)
preference - Copyright © 2014. All Rights Reserved.