public class License extends Object
| Modifier and Type | Field and Description |
|---|---|
protected long |
clientId
Id of the client.
|
protected String |
clientName
Name of the client.
|
protected Date |
contractEndDate
End date of the license.
|
protected Date |
contractStartDate
Start date of the license.
|
protected String |
createdBy
The username of the user that created the license.
|
protected Date |
createdDate
The date when the license was created.
|
static String |
CURRENT_VERSION
Current version used for the license file.
|
protected Map<Module,List<Entitlement>> |
entitlements
Map of entitlements for each module.
|
protected Environment |
environment
Environment for the license.
|
protected long |
id
Id of the license.
|
protected String |
label
General label to describe the license.
|
protected LicenseType |
licenseType
Type of the license.
|
protected String |
notes
General notes to describe the license.
|
protected String |
orderFormId
Order Form Id of the license.
|
protected boolean |
readOnlyEnabled
Indicates if the system should be read-only when the license expires.
|
protected String |
version
Version of the license file.
|
| Constructor and Description |
|---|
License() |
public static final String CURRENT_VERSION
protected long id
protected String version
protected String label
protected Environment environment
protected String notes
protected String orderFormId
protected String clientName
protected long clientId
protected Date contractStartDate
protected Date contractEndDate
protected LicenseType licenseType
protected boolean readOnlyEnabled
protected String createdBy
protected Date createdDate
protected Map<Module,List<Entitlement>> entitlements
public long getId()
public void setId(long id)
public String getVersion()
public void setVersion(String version)
public String getLabel()
public void setLabel(String label)
public Environment getEnvironment()
public void setEnvironment(Environment environment)
public String getNotes()
public void setNotes(String notes)
public String getOrderFormId()
public void setOrderFormId(String orderFormId)
public String getClientName()
public void setClientName(String clientName)
public long getClientId()
public void setClientId(long clientId)
public Date getContractStartDate()
public void setContractStartDate(Date contractStartDate)
public Date getContractEndDate()
public void setContractEndDate(Date contractEndDate)
public LicenseType getLicenseType()
public void setLicenseType(LicenseType licenseType)
public boolean isReadOnlyEnabled()
public void setReadOnlyEnabled(boolean readOnlyEnabled)
public String getCreatedBy()
public void setCreatedBy(String createdBy)
public Date getCreatedDate()
public void setCreatedDate(Date createdDate)
public Map<Module,List<Entitlement>> getEntitlements()
public void setEntitlements(Map<Module,List<Entitlement>> entitlements)
Copyright © 2019 CrafterCMS. All rights reserved.