|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectno.ubicollab.osgi.ClientRequest
public class ClientRequest
The Class ClientRequest is intended to store a single request for a service, as registered by a client.
Constructor Summary | |
---|---|
ClientRequest(int clientId,
java.lang.String name,
java.lang.String type,
java.lang.String location,
java.lang.String owner,
java.lang.String description)
This Constructor will create a ClientRequest
with clientid, name, type, location, owner and description set. |
Method Summary | |
---|---|
int |
getClientID()
|
java.lang.String |
getDescription()
Gets the textual service description. |
java.lang.String |
getLocation()
Gets the service location. |
java.lang.String |
getName()
Gets the service name. |
java.lang.String |
getOwner()
Gets the owner of the service. |
java.lang.String |
getType()
Gets the type of service. |
java.lang.String |
getXML()
Gets a xml-string representation of the request The returned string is a well formatted XML-string with the following structure: <ClientRequest ClientID="int" Name="String" Type="String" Location="String" Owner="String" Description="String"/> |
void |
setClientID(int clientID)
|
void |
setDescription(java.lang.String description)
Sets the textual service description. |
void |
setLocation(java.lang.String location)
Sets the service location. |
void |
setName(java.lang.String name)
Sets the service name. |
void |
setOwner(java.lang.String owner)
Sets the owner of the service. |
void |
setType(java.lang.String type)
Sets the type of service. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClientRequest(int clientId, java.lang.String name, java.lang.String type, java.lang.String location, java.lang.String owner, java.lang.String description)
ClientRequest
with clientid, name, type, location, owner and description set.
type
- the service typeowner
- the owner of the servicedescription
- the textual service descriptionlocation
- the location of the servicename
- the service nameMethod Detail |
---|
public java.lang.String getXML()
The returned string is a well formatted XML-string with the following structure:
<ClientRequest ClientID="int" Name="String" Type="String" Location="String" Owner="String" Description="String"/>
String
with the request.public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- the textual service descriptionpublic java.lang.String getLocation()
public void setLocation(java.lang.String location)
location
- the service locationpublic java.lang.String getName()
public void setName(java.lang.String name)
name
- the service namepublic java.lang.String getOwner()
public void setOwner(java.lang.String owner)
owner
- the owner of the servicepublic java.lang.String getType()
public void setType(java.lang.String type)
type
- the type of servicepublic int getClientID()
public void setClientID(int clientID)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |