|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jasmine.jadort.api.entities.topology.WorkerBean
public class WorkerBean
Bean represents a worker. In the XSD, each instance of this object is a Balancer.
| Nested Class Summary | |
|---|---|
static class |
WorkerBean.Type
Worker type. |
| Constructor Summary | |
|---|---|
WorkerBean()
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
ConnectorBean |
getConnector()
Get the worker connector |
java.lang.Integer |
getId()
Get the worker id |
java.lang.String |
getName()
Get the worker's name |
ServerBean |
getServer()
Get the worker server |
java.lang.String |
getServerName()
Get the server name associated with this worker |
WorkerBean.Type |
getType()
|
java.lang.String |
getWorkerName()
Get the worker name associated with this worker |
void |
setConnector(ConnectorBean connector)
Set the worker connector |
void |
setId(java.lang.Integer id)
Set the worker id |
void |
setName(java.lang.String name)
Set the worker's name |
void |
setServer(ServerBean server)
Set the worker server |
void |
setServerName(java.lang.String serverName)
Set the server name associated with this worker |
void |
setType(WorkerBean.Type type)
|
void |
setWorkerName(java.lang.String workerName)
Set the worker name associated with this worker |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WorkerBean()
| Method Detail |
|---|
public java.lang.Integer getId()
public void setId(java.lang.Integer id)
id - the worker idpublic java.lang.String getName()
public void setName(java.lang.String name)
name - the worker's namepublic java.lang.String getServerName()
public void setServerName(java.lang.String serverName)
serverName - the server name associated with this workerpublic java.lang.String getWorkerName()
public void setWorkerName(java.lang.String workerName)
workerName - the worker name associated with this workerpublic ConnectorBean getConnector()
public void setConnector(ConnectorBean connector)
connector - the worker connectorpublic ServerBean getServer()
public void setServer(ServerBean server)
server - the worker serverpublic WorkerBean.Type getType()
public void setType(WorkerBean.Type type)
type - worker typepublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj is a WorkerBean and the
getId() is the same for both objects, false
otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||