📄 servicedescription.java
字号:
package com.esri.solutions.jitk.web.tasks.search.csw;
import com.esri.solutions.jitk.common.enums.ServiceType;
public class ServiceDescription {
/**
* {@link ServiceType} indicating what type of service this is.
*/
private ServiceType m_serviceType = null;
/**
* {@link String} Url to the map service.
*/
private String m_serviceUrl = null;
/**
* If available, the port of the map service.
*/
private String m_port = null;
/**
* {@link String} host of the map service.
*/
private String m_host = null;
/**
* {@link String} map service name.
*/
private String m_service = null;
/**
* {@link String map service domain.
*/
private String m_domain = null;
/**
* If needed, the username needed to access the map service.
*/
private String m_username = null;
/**
* If needed, the password needed to access the map service.
*/
private String m_password = null;
/**
* Default no-args constructor.
*/
public ServiceDescription() {
}
/**
* Gets the domain of the map service.
*
* @return {@link String} map service domain.
*/
public String getDomain() {
return m_domain;
}
/**
* Sets the domain of the map service.
*
* @param domain {@link String} map service domain.
*/
public void setDomain(String domain) {
m_domain = domain;
}
/**
* If needed, gets the username needed to access the map
* service.
*
* @return {@link String} username credential.
*/
public String getUsername() {
return m_username;
}
/**
* If needed, sets the username needed to access the map
* service.
*
* @param username {@link String} username credential.
*/
public void setUsername(String username) {
m_username = username;
}
/**
* If needed, gets the password needed to access the map
* service.
*
* @return {@link String} password credential.
*/
public String getPassword() {
return m_password;
}
/**
* If needed, sets the password needed to access the map
* service.
*
* @param password {@link String} password credential.
*/
public void setPassword(String password) {
m_password = password;
}
/**
* Gets the host name of the map service.
*
* @return {@link String} name of the map service host.
*/
public String getHost() {
return m_host;
}
/**
* Sets the host name of the map service.
*
* @param host {@link String} name of the map service host.
*/
public void setHost(String host) {
m_host = host;
}
/**
* Gets the name of the map service.
*
* @return {@link String} map service name.
*/
public String getService() {
return m_service;
}
/**
* Sets the name of the map service.
*
* @param service {@link String} map service name.
*/
public void setService(String service) {
m_service = service;
}
/**
* Gets the map service's port number.
*
* @return {@link String} map service port number.
*/
public String getPort() {
return m_port;
}
/**
* Sets the map service's port number.
*
* @param port {@link String} map service port number.
*/
public void setPort(String port) {
m_port = port;
}
/**
* Gets the map service's {@link ServiceType}. This is needed
* so that it can be determined what kind of service is being added
* to the map.
*
* @return {@link ServiceType} type of the map service.
* @see ServiceType
*/
public ServiceType getServiceType() {
return m_serviceType;
}
/**
* Sets the map service's {@link ServiceType}. This is needed
* so that it can be determined what kind of service is being added
* to the map.
*
* @param type {@link ServiceType} type of the map service.
* @see ServiceType
*/
public void setServiceType(ServiceType type) {
m_serviceType = type;
}
/**
* Gets the URL to the map service.
*
* @return {@link String} URL to the map service.
*/
public String getServiceUrl() {
return m_serviceUrl;
}
/**
* Sets the URL to the map service.
*
* @param url {@link String} URL to the map service.
*/
public void setServiceUrl(String url) {
m_serviceUrl = url;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -