|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectno.ubicollab.osgi.Service
public class Service
The Service
Class is intended to store information about proxy
services in UbiCollab.
Constructor Summary | |
---|---|
Service()
Constructor to create an empty Service object. |
|
Service(java.lang.String name,
java.lang.String serviceURI,
java.lang.String space,
int spaceID,
long bundleID,
java.lang.String descriptionUri,
java.lang.String type,
java.lang.String description)
Constructor for creating an Service object and setting the variables at the same time. |
Method Summary | |
---|---|
long |
getBundleID()
Gets the bundle ID attribute of the service. |
java.lang.String |
getDescription()
Gets the description attribute of the service. |
java.lang.String |
getDescriptionURI()
Gets the description URI attribute of the service. |
java.lang.String |
getName()
Gets the name attribute of the service. |
java.lang.String |
getServiceURI()
Gets the service URI attribute of the service. |
java.lang.String |
getSpace()
Gets the space attribute of the service. |
int |
getSpaceID()
Gets the space ID attribute of the service. |
java.lang.String |
getType()
Gets the type attribute of the service. |
void |
setBundleID(long bundleID)
Sets the bundle ID attribute of the service. |
void |
setDescription(java.lang.String description)
Sets the description attribute of the service. |
void |
setDescriptionURI(java.lang.String descriptionURI)
Sets the description URI attribute of the service. |
void |
setName(java.lang.String name)
Sets the name attribute of the service. |
void |
setServiceURI(java.lang.String serviceURI)
Sets the service URI attribute of the service. |
void |
setSpace(java.lang.String space)
Sets the space attribute of the service. |
void |
setSpaceID(int spaceID)
Sets the space ID attribute of the service. |
void |
setType(java.lang.String type)
Sets the type attribute of the service. |
java.lang.String |
toXML(java.lang.String state)
Gets the XML represenatation for the service. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Service()
public Service(java.lang.String name, java.lang.String serviceURI, java.lang.String space, int spaceID, long bundleID, java.lang.String descriptionUri, java.lang.String type, java.lang.String description)
spaceID
- the space ID for the space this service is located inspace
- the name of the spacename
- the namebundleID
- the bundle IDserviceURI
- the service URIdescriptionUri
- the URI pointing to the service descriptiontype
- the service typedescription
- a textual description of the serviceMethod Detail |
---|
public java.lang.String toXML(java.lang.String state)
state
- the state of the service
public long getBundleID()
public void setBundleID(long bundleID)
bundleID
- the bundle ID attribute of the servicepublic java.lang.String getName()
public void setName(java.lang.String name)
name
- the name attribute of the servicepublic java.lang.String getServiceURI()
public void setServiceURI(java.lang.String serviceURI)
serviceURI
- the service URI attribute of the servicepublic java.lang.String getSpace()
public void setSpace(java.lang.String space)
space
- the space attribute of the servicepublic int getSpaceID()
public void setSpaceID(int spaceID)
spaceID
- the space ID attribute of the servicepublic java.lang.String getDescriptionURI()
public void setDescriptionURI(java.lang.String descriptionURI)
descriptionURI
- the description URI attribute of the servicepublic java.lang.String getType()
public void setType(java.lang.String type)
type
- the type attribute of the servicepublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- the description
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |