|
||||||||||
| 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. We don't use an enum here to preserve compatibility with IIOP runtimes on Java EE 5. |
| Constructor Summary | |
|---|---|
WorkerBean()
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
ConnectorBean |
getConnector()
Get the worker connector |
Integer |
getId()
Get the worker id |
String |
getName()
Get the worker's name |
ServerBean |
getServer()
Get the worker server |
String |
getServerName()
Get the server name associated with this worker |
WorkerBean.Type |
getType()
|
String |
getWorkerName()
Get the worker name associated with this worker |
void |
setConnector(ConnectorBean connector)
Set the worker connector |
void |
setId(Integer id)
Set the worker id |
void |
setName(String name)
Set the worker's name |
void |
setServer(ServerBean server)
Set the worker server |
void |
setServerName(String serverName)
Set the server name associated with this worker |
void |
setType(WorkerBean.Type type)
|
void |
setWorkerName(String workerName)
Set the worker name associated with this worker |
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 Integer getId()
public void setId(Integer id)
id - the worker idpublic String getName()
public void setName(String name)
name - the worker's namepublic String getServerName()
public void setServerName(String serverName)
serverName - the server name associated with this workerpublic String getWorkerName()
public void setWorkerName(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 String toString()
toString in class Objectpublic boolean equals(Object obj)
equals in class 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 | |||||||||