|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.jp.protection.pub.pro.lserver.LicensingServiceResultImpl
public class LicensingServiceResultImpl
Default implementation of the LicensingServiceResult interface
| Nested Class Summary | |
|---|---|
static class |
LicensingServiceResultImpl.LicenseResultImpl
Default implementation of the LicenseResult interface |
| Nested classes/interfaces inherited from interface com.jp.protection.pub.pro.lserver.LicensingServiceResult |
|---|
LicensingServiceResult.LicenseResult |
| Field Summary | |
|---|---|
protected java.lang.String |
fMessage
|
protected int |
fResult
|
protected java.lang.String |
fTicket
|
static long |
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()
Creates a new instance of the LicensingServiceResultImpl |
|
LicensingServiceResultImpl(int aResult)
Creates a new instance of the LicensingServiceResultImpl |
|
LicensingServiceResultImpl(int aResult,
java.lang.String aMessage)
Creates a new instance of the LicensingServiceResultImpl |
|
LicensingServiceResultImpl(int aResult,
java.lang.String aMessage,
java.lang.String aTicket)
Creates a new instance of the LicensingServiceResultImpl |
|
| Method Summary | |
|---|---|
java.lang.String |
getMessage()
Returns the message text associated with the result |
int |
getResult()
Returns result code of the operation as one of RESULT_ constants |
static java.lang.String |
getResultStr(int aResult)
Returns textual representation of result code |
java.lang.String |
getTicket()
Returns ticket value unique identifies a licensing session for acquired license lock |
void |
setMessage(java.lang.String aMessage)
Specifies message text |
void |
setResult(int aResult)
Specifies result code |
void |
setTicket(java.lang.String aTicket)
Specifies ticket |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final long serialVersionUID
protected java.lang.String fMessage
protected int fResult
protected java.lang.String fTicket
| Constructor Detail |
|---|
public LicensingServiceResultImpl()
LicensingServiceResultImpl
public LicensingServiceResultImpl(int aResult)
LicensingServiceResultImpl
aResult - result code
public LicensingServiceResultImpl(int aResult,
java.lang.String aMessage)
LicensingServiceResultImpl
aResult - result codeaMessage - message text
public LicensingServiceResultImpl(int aResult,
java.lang.String aMessage,
java.lang.String aTicket)
LicensingServiceResultImpl
aResult - result codeaMessage - message textaTicket - ticket| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getMessage()
LicensingServiceResult
getMessage in interface LicensingServiceResultpublic void setMessage(java.lang.String aMessage)
aMessage - message text to setpublic int getResult()
LicensingServiceResultRESULT_ constants
getResult in interface LicensingServiceResultpublic void setResult(int aResult)
aResult - result code to setpublic java.lang.String getTicket()
LicensingServiceResult
getTicket in interface LicensingServiceResultpublic void setTicket(java.lang.String aTicket)
aTicket - ticket to setpublic static java.lang.String getResultStr(int aResult)
aResult - result code to get textual representation for
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||