Openwings API Documentation (v1.0)

net.openwings.component.utilities
Class UserInterfaceDescriptor

java.lang.Object
  |
  +--net.openwings.component.utilities.UserInterfaceDescriptor
All Implemented Interfaces:
java.io.Serializable

public class UserInterfaceDescriptor
extends java.lang.Object
implements java.io.Serializable

This class is used to provide metadata about a user interface that is associated with a particular service.

See Also:
Serialized Form

Constructor Summary
UserInterfaceDescriptor(java.lang.Class supportedServiceInterface, java.lang.Class supportedUIClasses)
          This is the single public constructor for the UserInterfaceDescriptor class.
 
Method Summary
 java.lang.String getName()
          This method returns the name of the user interface.
 java.lang.Class getSupportedServiceInterface()
          This method returns the service interface supported by the user interface
 java.lang.Class getSupportedUIClass()
          This method returns the the Java type of the user interface.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserInterfaceDescriptor

public UserInterfaceDescriptor(java.lang.Class supportedServiceInterface,
                               java.lang.Class supportedUIClasses)
This is the single public constructor for the UserInterfaceDescriptor class.

Parameters:
supportedServiceInterface - service interface supported by the user interface
Method Detail

getName

public java.lang.String getName()
This method returns the name of the user interface.

Returns:
class name of the user interface implementation

getSupportedUIClass

public java.lang.Class getSupportedUIClass()
This method returns the the Java type of the user interface.

Returns:
the Java type of the interface

getSupportedServiceInterface

public java.lang.Class getSupportedServiceInterface()
This method returns the service interface supported by the user interface

Returns:
service interface supported by the user interface

Openwings API Documentation (v1.0)