@Entity(name="LicenseSnapshot") public class LicenseSnapshotImpl extends DomainObjectSupport implements LicenseSnapshot
MAP_DOMAIN_OBJECT_TO_ID_FUNCTION, ORGANIZATION_COLUMN_NAME
Constructor and Description |
---|
LicenseSnapshotImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addProperty(String key,
String value) |
Integer |
getId() |
int |
getIntegerProperty(String key) |
static String |
getMaxLicensesProperty(com.jamasoftware.contour.util.license.OrgLicenseType licenseType) |
static String |
getNonReservedActiveLicensesProperty(com.jamasoftware.contour.util.license.OrgLicenseType licenseType) |
Integer |
getOrganizationId() |
Map<String,String> |
getProperties() |
static String |
getReservedLicensesProperty(com.jamasoftware.contour.util.license.OrgLicenseType licenseType) |
Date |
getSnapshotDate() |
String |
getXmlToString() |
void |
setId(Integer id) |
void |
setOrganizationId(Integer organizationId) |
void |
setProperties(Map<String,String> properties) |
void |
setSnapshotDate(Date snapshotDate) |
getCreatedBy, getCreatedDate, getModifiedBy, getModifiedDate, setCreatedBy, setCreatedDate, setModifiedBy, setModifiedDate
equals, hashCode, isNewObject, obtainAclObjectIdentity
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getCreatedBy, getCreatedDate, getModifiedBy, getModifiedDate, isNewObject, obtainAclObjectIdentity, setCreatedBy, setCreatedDate, setModifiedBy, setModifiedDate
public static String getReservedLicensesProperty(com.jamasoftware.contour.util.license.OrgLicenseType licenseType)
public static String getNonReservedActiveLicensesProperty(com.jamasoftware.contour.util.license.OrgLicenseType licenseType)
public static String getMaxLicensesProperty(com.jamasoftware.contour.util.license.OrgLicenseType licenseType)
public Integer getId()
getId
in interface DomainObjectBase
public void setId(Integer id)
setId
in interface DomainObjectBase
public Integer getOrganizationId()
getOrganizationId
in interface DomainObjectBase
getOrganizationId
in interface OrganizationAware
public void setOrganizationId(Integer organizationId)
setOrganizationId
in interface DomainObjectBase
public Date getSnapshotDate()
getSnapshotDate
in interface LicenseSnapshot
public void setSnapshotDate(Date snapshotDate)
setSnapshotDate
in interface LicenseSnapshot
public Map<String,String> getProperties()
getProperties
in interface LicenseSnapshot
public void setProperties(Map<String,String> properties)
setProperties
in interface LicenseSnapshot
public void addProperty(String key, String value)
addProperty
in interface LicenseSnapshot
public int getIntegerProperty(String key)
getIntegerProperty
in interface LicenseSnapshot
public String getXmlToString()
getXmlToString
in interface DomainObject
Copyright (c) 2013-2014 Jama Software, Inc. All Rights Reserved.