Constructor and Description |
---|
LicenseEntity()
Constructor
|
LicenseEntity(int sno,
String key,
Date lastUpdated)
Creates a License Entity.
|
Modifier and Type | Method and Description |
---|---|
Long |
getId()
Gets the internally-assigned identifier used for intra-model
references.
|
String |
getKey()
Get the license key
|
Date |
getLastUpdated()
get the license last modified date
|
int |
getSno()
Get the license record serial number
|
void |
setKey(String key)
Set the latest license key for that serial number
|
void |
setLastUpdated(Date lastUpdated)
Set last modified date and time
|
public void setLastUpdated(Date lastUpdated)
lastUpdated
- the lastUpdated to setpublic void setKey(String key)
key
- the license key to setpublic int getSno()
public Date getLastUpdated()
public String getKey()
Copyright © 2015. All Rights Reserved.