public class SruGeoNwResource
extends org.gcube.rest.commons.resourceawareservice.resources.StatefulResource
| Constructor and Description |
|---|
SruGeoNwResource() |
| Modifier and Type | Method and Description |
|---|---|
static SruGeoNwResource |
fromXML(String resourceXML) |
String |
getPassword() |
String |
getUrl() |
String |
getUsername() |
void |
onClose() |
void |
onDestroy() |
void |
onLoad() |
void |
setPassword(String password) |
void |
setUrl(String url) |
void |
setUsername(String username) |
String |
toString() |
String |
toXML() |
getCreated, getLastUpdated, setCreated, setLastUpdated, toJSON, toJSON, toXMLpublic String getUrl()
public void setUrl(String url)
public String getUsername()
public void setUsername(String username)
public String getPassword()
public void setPassword(String password)
public void onLoad()
throws org.gcube.rest.commons.resourceawareservice.resources.exceptions.StatefulResourceException
onLoad in class org.gcube.rest.commons.resourceawareservice.resources.StatefulResourceorg.gcube.rest.commons.resourceawareservice.resources.exceptions.StatefulResourceExceptionpublic void onClose()
throws org.gcube.rest.commons.resourceawareservice.resources.exceptions.StatefulResourceException
onClose in class org.gcube.rest.commons.resourceawareservice.resources.StatefulResourceorg.gcube.rest.commons.resourceawareservice.resources.exceptions.StatefulResourceExceptionpublic void onDestroy()
throws org.gcube.rest.commons.resourceawareservice.resources.exceptions.StatefulResourceException
onDestroy in class org.gcube.rest.commons.resourceawareservice.resources.StatefulResourceorg.gcube.rest.commons.resourceawareservice.resources.exceptions.StatefulResourceExceptionpublic String toXML() throws JAXBException
toXML in class org.gcube.rest.commons.resourceawareservice.resources.StatefulResourceJAXBExceptionpublic static SruGeoNwResource fromXML(String resourceXML)
Copyright © 2017. All Rights Reserved.