Package de.xima.fc.entities
Class LicenseFile
- java.lang.Object
-
- de.xima.cmn.dao.model.AEntity<Long>
-
- de.xima.fc.entities.AbstractEntity
-
- de.xima.fc.entities.AbstractLockableEntity
-
- de.xima.fc.entities.LicenseFile
-
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IEntity<Long>
,de.xima.cmn.dao.interfaces.ILockableEntity<Long>
,ILockingVersionProviding
,ITransferable
,ITransferableEntity
,ITransferableLockableEntity
,Serializable
,Comparable<de.xima.cmn.dao.interfaces.IEntity<Long>>
@Entity public class LicenseFile extends AbstractLockableEntity
This entity represents licenses. Licenses are used to give or remove features in different, delimited areas in the system or the whole system.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
ATTR_CLIENT
static String
ATTR_CREATED_BY
static String
ATTR_CREATED_ON
static String
ATTR_LICENSE_DATA
static String
ATTR_LICENSE_FILE_TYPE
static String
ATTR_LICENSE_KEY
static String
ATTR_MODIFIED_BY
static String
ATTR_MODIFIED_ON
static String
ATTR_VALID_UNTIL
static String
ATTR_VERSION_KEY
static String
COL_CLIENT
static String
COL_CREATED_BY
static String
COL_CREATED_ON
static String
COL_LICENSE_FILE
static String
COL_LICENSE_KEY
static String
COL_LICENSE_NAME
static String
COL_LICENSE_TYPE
static String
COL_MODIFIED_BY
static String
COL_MODIFIED_ON
static String
COL_VALID_UNTIL
static String
COL_VERSION_KEY
-
Fields inherited from class de.xima.fc.entities.AbstractLockableEntity
COL_LOCKINGVERSION, lockingVersion
-
Fields inherited from class de.xima.fc.entities.AbstractEntity
COL_ID, id
-
Fields inherited from interface de.xima.fc.entities.interfaces.ITransferableEntity
IMPORT_ID, INVALID_ID
-
-
Constructor Summary
Constructors Constructor Description LicenseFile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Mandant
getClient()
Date
getDateCreated()
Date
getDateModified()
Long
getId()
byte[]
getLicenseData()
ELicenseFileType
getLicenseFileType()
String
getLicenseKey()
Get / set the license key.String
getLicenseName()
String
getUserNameCreated()
String
getUserNameModified()
Date
getValidUntil()
String
getVersionKey()
void
setClient(Mandant client)
void
setDateCreated(Date dateCreated)
void
setDateModified(Date dateModified)
void
setLicenseData(byte[] licenseData)
void
setLicenseFileType(ELicenseFileType licenseFileType)
void
setLicenseKey(String licenseKey)
void
setLicenseName(String licenseName)
void
setUserNameCreated(String userNameCreated)
void
setUserNameModified(String userNameModified)
void
setValidUntil(Date validUntil)
void
setVersionKey(String versionKey)
-
Methods inherited from class de.xima.fc.entities.AbstractLockableEntity
entityHasChanged, getLockingVersion, setLockingVersion, toString
-
Methods inherited from class de.xima.fc.entities.AbstractEntity
asIntValue, isPersisted, setId, setId
-
Methods inherited from class de.xima.cmn.dao.model.AEntity
compareTo, equals, getDBTableName, hashCode
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Comparable
compareTo
-
-
-
-
Field Detail
-
ATTR_CLIENT
public static final String ATTR_CLIENT
- See Also:
- Constant Field Values
-
ATTR_LICENSE_FILE_TYPE
public static final String ATTR_LICENSE_FILE_TYPE
- See Also:
- Constant Field Values
-
ATTR_LICENSE_KEY
public static final String ATTR_LICENSE_KEY
- See Also:
- Constant Field Values
-
ATTR_VERSION_KEY
public static final String ATTR_VERSION_KEY
- See Also:
- Constant Field Values
-
ATTR_LICENSE_DATA
public static final String ATTR_LICENSE_DATA
- See Also:
- Constant Field Values
-
ATTR_CREATED_ON
public static final String ATTR_CREATED_ON
- See Also:
- Constant Field Values
-
ATTR_CREATED_BY
public static final String ATTR_CREATED_BY
- See Also:
- Constant Field Values
-
ATTR_MODIFIED_ON
public static final String ATTR_MODIFIED_ON
- See Also:
- Constant Field Values
-
ATTR_MODIFIED_BY
public static final String ATTR_MODIFIED_BY
- See Also:
- Constant Field Values
-
ATTR_VALID_UNTIL
public static final String ATTR_VALID_UNTIL
- See Also:
- Constant Field Values
-
COL_CLIENT
public static final String COL_CLIENT
- See Also:
- Constant Field Values
-
COL_LICENSE_TYPE
public static final String COL_LICENSE_TYPE
- See Also:
- Constant Field Values
-
COL_LICENSE_KEY
public static final String COL_LICENSE_KEY
- See Also:
- Constant Field Values
-
COL_LICENSE_NAME
public static final String COL_LICENSE_NAME
- See Also:
- Constant Field Values
-
COL_VERSION_KEY
public static final String COL_VERSION_KEY
- See Also:
- Constant Field Values
-
COL_LICENSE_FILE
public static final String COL_LICENSE_FILE
- See Also:
- Constant Field Values
-
COL_CREATED_ON
public static final String COL_CREATED_ON
- See Also:
- Constant Field Values
-
COL_CREATED_BY
public static final String COL_CREATED_BY
- See Also:
- Constant Field Values
-
COL_MODIFIED_ON
public static final String COL_MODIFIED_ON
- See Also:
- Constant Field Values
-
COL_MODIFIED_BY
public static final String COL_MODIFIED_BY
- See Also:
- Constant Field Values
-
COL_VALID_UNTIL
public static final String COL_VALID_UNTIL
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public Long getId()
-
getClient
public Mandant getClient()
-
setClient
public void setClient(Mandant client)
-
getLicenseKey
public String getLicenseKey()
Get / set the license key. While only UUIDs are used currently, using strings here allows for greater flexibility in the future.
-
setLicenseKey
public void setLicenseKey(String licenseKey)
-
getLicenseName
public String getLicenseName()
-
setLicenseName
public void setLicenseName(String licenseName)
-
getVersionKey
public String getVersionKey()
-
setVersionKey
public void setVersionKey(String versionKey)
-
getLicenseFileType
public ELicenseFileType getLicenseFileType()
-
setLicenseFileType
public void setLicenseFileType(ELicenseFileType licenseFileType)
-
getUserNameCreated
public String getUserNameCreated()
-
setUserNameCreated
public void setUserNameCreated(String userNameCreated)
-
getUserNameModified
public String getUserNameModified()
-
setUserNameModified
public void setUserNameModified(String userNameModified)
-
getDateCreated
public Date getDateCreated()
-
setDateCreated
public void setDateCreated(Date dateCreated)
-
getDateModified
public Date getDateModified()
-
setDateModified
public void setDateModified(Date dateModified)
-
getValidUntil
public Date getValidUntil()
-
setValidUntil
public void setValidUntil(Date validUntil)
-
getLicenseData
public byte[] getLicenseData()
-
setLicenseData
public void setLicenseData(byte[] licenseData)
-
-