Package psiprobe.model
Class ServletMapping
- java.lang.Object
-
- psiprobe.model.ServletMapping
-
public class ServletMapping extends Object
A model class representing a servlet mapping item.
-
-
Field Summary
Fields Modifier and Type Field Description private String
applicationName
The application name.private boolean
available
The available.private String
servletClass
The servlet class.private String
servletName
The servlet name.private String
url
The url.
-
Constructor Summary
Constructors Constructor Description ServletMapping()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getApplicationName()
Gets the application name.String
getServletClass()
Gets the servlet class.String
getServletName()
Gets the servlet name.String
getUrl()
Gets the url.boolean
isAvailable()
Checks if is available.void
setApplicationName(String applicationName)
Sets the application name.void
setAvailable(boolean available)
Sets the available.void
setServletClass(String servletClass)
Sets the servlet class.void
setServletName(String servletName)
Sets the servlet name.void
setUrl(String url)
Sets the url.
-
-
-
Method Detail
-
getApplicationName
public String getApplicationName()
Gets the application name.- Returns:
- the application name
-
setApplicationName
public void setApplicationName(String applicationName)
Sets the application name.- Parameters:
applicationName
- the new application name
-
getUrl
public String getUrl()
Gets the url.- Returns:
- the url
-
setUrl
public void setUrl(String url)
Sets the url.- Parameters:
url
- the new url
-
getServletName
public String getServletName()
Gets the servlet name.- Returns:
- the servlet name
-
setServletName
public void setServletName(String servletName)
Sets the servlet name.- Parameters:
servletName
- the new servlet name
-
getServletClass
public String getServletClass()
Gets the servlet class.- Returns:
- the servlet class
-
setServletClass
public void setServletClass(String servletClass)
Sets the servlet class.- Parameters:
servletClass
- the new servlet class
-
isAvailable
public boolean isAvailable()
Checks if is available.- Returns:
- true, if is available
-
setAvailable
public void setAvailable(boolean available)
Sets the available.- Parameters:
available
- the new available
-
-