com.jp.protection.pub.pro.lserver
Class LicensingServiceResultImpl.LicenseResultImpl

java.lang.Object
  extended by com.jp.protection.pub.pro.lserver.LicensingServiceResultImpl
      extended by com.jp.protection.pub.pro.lserver.LicensingServiceResultImpl.LicenseResultImpl
All Implemented Interfaces:
LicensingServiceResult, LicensingServiceResult.LicenseResult, java.io.Serializable
Enclosing class:
LicensingServiceResultImpl

public static class LicensingServiceResultImpl.LicenseResultImpl
extends LicensingServiceResultImpl
implements LicensingServiceResult.LicenseResult

Default implementation of the LicenseResult interface

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.jp.protection.pub.pro.lserver.LicensingServiceResultImpl
LicensingServiceResultImpl.LicenseResultImpl
 
Nested classes/interfaces inherited from interface com.jp.protection.pub.pro.lserver.LicensingServiceResult
LicensingServiceResult.LicenseResult
 
Field Summary
protected  LicenseData.Response fResponse
           
 
Fields inherited from class com.jp.protection.pub.pro.lserver.LicensingServiceResultImpl
fMessage, fResult, fTicket, serialVersionUID
 
Fields inherited from interface com.jp.protection.pub.pro.lserver.LicensingServiceResult
PROPERTY_MESSAGE, PROPERTY_RESULT, PROPERTY_TICKET, RESULT_ERROR, RESULT_LICENSE_REVOKED, RESULT_OK, RESULT_SESSION_EXPIRED, RESULT_SYSTEM_ERROR
 
Constructor Summary
LicensingServiceResultImpl.LicenseResultImpl(int aResult, java.lang.String aMessage)
          Creates a new instance if the LicenseResultImpl
LicensingServiceResultImpl.LicenseResultImpl(LicenseData.Response aResponce, int aResult, java.lang.String aMessage)
          Creates a new instance if the LicenseResultImpl
 
Method Summary
 LicenseData.Response getResponse()
          Returns response object
 void setResponse(LicenseData.Response aResponse)
          Specifies response object
 
Methods inherited from class com.jp.protection.pub.pro.lserver.LicensingServiceResultImpl
getMessage, getResult, getResultStr, getTicket, setMessage, setResult, setTicket, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.jp.protection.pub.pro.lserver.LicensingServiceResult
getMessage, getResult, getTicket
 

Field Detail

fResponse

protected LicenseData.Response fResponse
Constructor Detail

LicensingServiceResultImpl.LicenseResultImpl

public LicensingServiceResultImpl.LicenseResultImpl(int aResult,
                                                    java.lang.String aMessage)
Creates a new instance if the LicenseResultImpl

Parameters:
aResult - result code
aMessage - message text

LicensingServiceResultImpl.LicenseResultImpl

public LicensingServiceResultImpl.LicenseResultImpl(LicenseData.Response aResponce,
                                                    int aResult,
                                                    java.lang.String aMessage)
Creates a new instance if the LicenseResultImpl

Parameters:
aResponce - response object
aResult - result code
aMessage - message text
Method Detail

getResponse

public LicenseData.Response getResponse()
Description copied from interface: LicensingServiceResult.LicenseResult
Returns response object

Specified by:
getResponse in interface LicensingServiceResult.LicenseResult
Returns:
response object

setResponse

public void setResponse(LicenseData.Response aResponse)
Specifies response object

Parameters:
aResponce - response object to set