public class ActivationData
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
ActivationData(int activationID,
int licenceID,
long activationTime,
long localActivationTime,
java.lang.String document)
Creates a new object for activation data with the designated attributes.
|
ActivationData(int activationID,
int licenceID,
long activationTime,
java.lang.String document)
Creates a new object for activation data as provided by the activation
server.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getActivationID()
Gets the ID of the activation which is a continuous number counting the
successful and unsuccessful activation requests.
|
long |
getActivationTime()
Gets the time this activation has been successful, as provided by the
activation server.
|
int |
getLicenceID()
Gets the ID of the licence which is activated.
|
long |
getLocalActivationTime()
Gets the time this activation has been successful, as provided by the local
system.
|
java.lang.String |
getXMLDocument()
Gets the (signed) XML document (as string) representing this activation
data as retrieved from the activation server.
|
public ActivationData(int activationID,
int licenceID,
long activationTime,
java.lang.String document)
activationID - The ID of the activation which is a continuous number
counting the successful and unsuccessful activation requests.licenceID - The ID of the licence which is activated.activationTime - The time this activation has been successful, as
provided by the activation server.document - The (signed) XML document (as string) representing this
activation data as retrieved from the activation server.public ActivationData(int activationID,
int licenceID,
long activationTime,
long localActivationTime,
java.lang.String document)
activationID - The ID of the activation which is a continuous number
counting the successful and unsuccessful activation requests.licenceID - The ID of the licence which is activated.activationTime - The time this activation has been successful, as
provided by the activation server.localActivationTime - The time this activation has been successful, as
provided by the local system.document - The (signed) XML document (as string) representing this
activation data as retrieved from the activation server.public int getActivationID()
public int getLicenceID()
public long getActivationTime()
public long getLocalActivationTime()
public java.lang.String getXMLDocument()