com.sun.im.service
Class ApplicationInfo

java.lang.Object
  extended bycom.sun.im.service.ApplicationInfo
All Implemented Interfaces:
Delegation

public class ApplicationInfo
extends java.lang.Object
implements Delegation

This class can be used to set the characteristics/properties of all CollaborationSession objects that will be created using a given SessionProvider. Currently you can set category, type and name properties for the Session objects.


Constructor Summary
ApplicationInfo()
          Creates a new instance of ApplicationInfo
ApplicationInfo(org.netbeans.lib.collab.ApplicationInfo a)
           
 
Method Summary
 java.lang.String getCategory()
          get the category of the Session
 java.lang.Object getDelegatedObject()
          This method returns the delegated object
 java.lang.String getName()
          returns the name of the Session object
 java.lang.String getType()
          get the type of the Session, the type has to be allowed types for the particular category
 void setCategory(java.lang.String category)
          set the category of the Session object
 void setName(java.lang.String name)
          set the type of the Session object
 void setType(java.lang.String type)
          set the type of the Session object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationInfo

public ApplicationInfo()
Creates a new instance of ApplicationInfo


ApplicationInfo

public ApplicationInfo(org.netbeans.lib.collab.ApplicationInfo a)
Method Detail

setCategory

public void setCategory(java.lang.String category)
set the category of the Session object

Parameters:
category - to which the entity using the Session object belongs to

setType

public void setType(java.lang.String type)
set the type of the Session object

Parameters:
type - to which the entity using the Session object belongs to within the given category.

setName

public void setName(java.lang.String name)
set the type of the Session object

Parameters:
name - with which the entity using the Session object would like to advertize.

getCategory

public java.lang.String getCategory()
get the category of the Session

Returns:
- String representing the category

getType

public java.lang.String getType()
get the type of the Session, the type has to be allowed types for the particular category

Returns:
- String representing the type

getName

public java.lang.String getName()
returns the name of the Session object

Returns:
- String representing the name.

getDelegatedObject

public java.lang.Object getDelegatedObject()
Description copied from interface: Delegation
This method returns the delegated object

Specified by:
getDelegatedObject in interface Delegation