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>>
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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
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.cmn.dao.interfaces.IEntity
ATTR_ID
Fields inherited from interface de.xima.cmn.dao.interfaces.ILockableEntity
ATTR_LOCKINGVERSION
Fields inherited from interface de.xima.fc.entities.interfaces.ITransferableEntity
IMPORT_ID, INVALID_ID
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()
byte[]
Get / set the license key.void
setChildren
(List<LicenseFile> children) void
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
setParentKey
(String parentKey) 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
Methods inherited from interface de.xima.cmn.dao.interfaces.IEntity
isPersisted, setId
-
Field Details
-
ATTR_CLIENT
- See Also:
-
ATTR_LICENSE_FILE_TYPE
- See Also:
-
ATTR_LICENSE_KEY
- See Also:
-
ATTR_PARENT_KEY
- See Also:
-
ATTR_VERSION_KEY
- See Also:
-
ATTR_LICENSE_DATA
- See Also:
-
ATTR_CREATED_ON
- See Also:
-
ATTR_CREATED_BY
- See Also:
-
ATTR_MODIFIED_ON
- See Also:
-
ATTR_MODIFIED_BY
- See Also:
-
ATTR_VALID_UNTIL
- See Also:
-
COL_CLIENT
- See Also:
-
COL_LICENSE_TYPE
- See Also:
-
COL_LICENSE_KEY
- See Also:
-
COL_PARENT_KEY
- See Also:
-
COL_LICENSE_NAME
- See Also:
-
COL_VERSION_KEY
- See Also:
-
COL_LICENSE_FILE
- See Also:
-
COL_CREATED_ON
- See Also:
-
COL_CREATED_BY
- See Also:
-
COL_MODIFIED_ON
- See Also:
-
COL_MODIFIED_BY
- See Also:
-
COL_VALID_UNTIL
- See Also:
-
-
Constructor Details
-
LicenseFile
public LicenseFile()
-
-
Method Details
-
getId
-
getClient
-
setClient
-
getLicenseKey
Get / set the license key. While only UUIDs are used currently, using strings here allows for greater flexibility in the future. -
setLicenseKey
-
getParentKey
-
setParentKey
-
getLicenseName
-
setLicenseName
-
getVersionKey
-
setVersionKey
-
getLicenseFileType
-
setLicenseFileType
-
getUserNameCreated
-
setUserNameCreated
-
getUserNameModified
-
setUserNameModified
-
getDateCreated
-
setDateCreated
-
getDateModified
-
setDateModified
-
getValidUntil
-
setValidUntil
-
getLicenseData
public byte[] getLicenseData() -
setLicenseData
public void setLicenseData(byte[] licenseData) -
getChildren
-
setChildren
-