org.apache.wsrp4j.persistence.driver
Class WSRPServiceDescription

java.lang.Object
  extended byoasis.names.tc.wsrp.v1.types.ServiceDescription
      extended byorg.apache.wsrp4j.persistence.driver.WSRPServiceDescription
All Implemented Interfaces:
java.io.Serializable

public class WSRPServiceDescription
extends oasis.names.tc.wsrp.v1.types.ServiceDescription

This class extends the ServiceDescription class for persistent purpose and maps the CookieProtocol attribute in the servicedescription to the corresponding string representation.

Version:
$Id: WSRPServiceDescription.java,v 1.4 2005/08/10 14:59:59 cziegeler Exp $
Author:
Ralf Altrichter
See Also:
ServiceDescription, Serialized Form

Field Summary
private  java.lang.String initCookieRequired
          String representation of the CookieProtocol object, contained in the servicedescription and retured by method getRequiresInitCookie()
 
Fields inherited from class oasis.names.tc.wsrp.v1.types.ServiceDescription
 
Constructor Summary
WSRPServiceDescription()
          Default Constructor
WSRPServiceDescription(oasis.names.tc.wsrp.v1.types.ServiceDescription serviceDescription)
          Constructs a WSRPServiceDescription from a ServiceDescription
 
Method Summary
 java.lang.String getInitCookieRequired()
          String representation of the CookieProtocol object, contained in the servicedescription and retured by method getRequiresInitCookie()
 void setInitCookieRequired(java.lang.String requiresInitCookie)
          Creates a CookieProtocol objects from a string representation and stores the instance.
 oasis.names.tc.wsrp.v1.types.ServiceDescription toServiceDescription()
           
 
Methods inherited from class oasis.names.tc.wsrp.v1.types.ServiceDescription
equals, getCustomModeDescriptions, getCustomModeDescriptions, getCustomUserProfileItemDescriptions, getCustomUserProfileItemDescriptions, getCustomWindowStateDescriptions, getCustomWindowStateDescriptions, getDeserializer, getExtensions, getExtensions, getLocales, getLocales, getOfferedPortlets, getOfferedPortlets, getRegistrationPropertyDescription, getRequiresInitCookie, getResourceList, getSerializer, getTypeDesc, getUserCategoryDescriptions, getUserCategoryDescriptions, hashCode, isRequiresRegistration, setCustomModeDescriptions, setCustomModeDescriptions, setCustomUserProfileItemDescriptions, setCustomUserProfileItemDescriptions, setCustomWindowStateDescriptions, setCustomWindowStateDescriptions, setExtensions, setExtensions, setLocales, setLocales, setOfferedPortlets, setOfferedPortlets, setRegistrationPropertyDescription, setRequiresInitCookie, setRequiresRegistration, setResourceList, setUserCategoryDescriptions, setUserCategoryDescriptions
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

initCookieRequired

private java.lang.String initCookieRequired
String representation of the CookieProtocol object, contained in the servicedescription and retured by method getRequiresInitCookie()

Constructor Detail

WSRPServiceDescription

public WSRPServiceDescription()
Default Constructor


WSRPServiceDescription

public WSRPServiceDescription(oasis.names.tc.wsrp.v1.types.ServiceDescription serviceDescription)
Constructs a WSRPServiceDescription from a ServiceDescription

Parameters:
serviceDescription -
Method Detail

getInitCookieRequired

public java.lang.String getInitCookieRequired()
String representation of the CookieProtocol object, contained in the servicedescription and retured by method getRequiresInitCookie()

Returns:
String representation from CookieProtocol

setInitCookieRequired

public void setInitCookieRequired(java.lang.String requiresInitCookie)
Creates a CookieProtocol objects from a string representation and stores the instance.

Parameters:
requiresInitCookie - as string

toServiceDescription

public oasis.names.tc.wsrp.v1.types.ServiceDescription toServiceDescription()
Returns:
serviceDescription from this WSRPServiceDescription


--