@Generated(value="net.officefloor.model.generate.ModelGenerator") public class ServletModel extends AbstractModel implements ItemModel<ServletModel>
Modifier and Type | Class and Description |
---|---|
static class |
ServletModel.ServletEvent |
Constructor and Description |
---|
ServletModel()
Default constructor.
|
ServletModel(String servletName,
String servletClass)
Convenience constructor for new non-linked instance.
|
ServletModel(String servletName,
String servletClass,
InitParamModel[] initParam)
Convenience constructor.
|
ServletModel(String servletName,
String servletClass,
InitParamModel[] initParam,
int x,
int y)
Convenience constructor allowing XY initialising.
|
Modifier and Type | Method and Description |
---|---|
void |
addInitParam(InitParamModel initParam) |
List<InitParamModel> |
getInitParams() |
String |
getServletClass() |
String |
getServletName() |
RemoveConnectionsAction<ServletModel> |
removeConnections()
Remove Connections.
|
void |
removeInitParam(InitParamModel initParam) |
void |
setServletClass(String servletClass) |
void |
setServletName(String servletName) |
addItemToList, addPropertyChangeListener, changeField, firePropertyChange, getX, getY, removeItemFromList, removePropertyChangeListener, setX, setY
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPropertyChangeListener, getX, getY, removePropertyChangeListener, setX, setY
public ServletModel()
public ServletModel(String servletName, String servletClass)
servletName
- Servlet name.servletClass
- Servlet class.public ServletModel(String servletName, String servletClass, InitParamModel[] initParam)
servletName
- Servlet name.servletClass
- Servlet class.initParam
- Init param.public ServletModel(String servletName, String servletClass, InitParamModel[] initParam, int x, int y)
servletName
- Servlet name.servletClass
- Servlet class.initParam
- Init param.x
- Horizontal location.y
- Vertical location.public String getServletName()
public void setServletName(String servletName)
servletName
- Servlet name.public String getServletClass()
public void setServletClass(String servletClass)
servletClass
- Servlet class.public List<InitParamModel> getInitParams()
public void addInitParam(InitParamModel initParam)
initParam
- Init param.public void removeInitParam(InitParamModel initParam)
initParam
- Init param.public RemoveConnectionsAction<ServletModel> removeConnections()
removeConnections
in interface ItemModel<ServletModel>
RemoveConnectionsAction
to remove the ConnectionModel
instances.Copyright © 2005–2016. All rights reserved.