com.jamasoftware.contour.domain
Class LicenseSnapshot
java.lang.Object
com.jamasoftware.contour.domain.DomainObjectBaseSupport
com.jamasoftware.contour.domain.DomainObjectSupport
com.jamasoftware.contour.domain.LicenseSnapshot
- All Implemented Interfaces:
- DomainObject, DomainObjectBase, OrganizationAware, java.io.Serializable
@Entity
public class LicenseSnapshot
- extends DomainObjectSupport
Represents a snapshot in time of the state of licenses for a certain organization
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
LicenseSnapshot
public LicenseSnapshot()
getReservedLicensesProperty
public static java.lang.String getReservedLicensesProperty(com.jamasoftware.contour.util.license.OrgLicenseType licenseType)
getNonReservedActiveLicensesProperty
public static java.lang.String getNonReservedActiveLicensesProperty(com.jamasoftware.contour.util.license.OrgLicenseType licenseType)
getMaxLicensesProperty
public static java.lang.String getMaxLicensesProperty(com.jamasoftware.contour.util.license.OrgLicenseType licenseType)
getId
public java.lang.Integer getId()
setId
public void setId(java.lang.Integer id)
getOrganizationId
public java.lang.Integer getOrganizationId()
setOrganizationId
public void setOrganizationId(java.lang.Integer organizationId)
getSnapshotDate
public java.util.Date getSnapshotDate()
setSnapshotDate
public void setSnapshotDate(java.util.Date snapshotDate)
getProperties
public java.util.Map<java.lang.String,java.lang.String> getProperties()
setProperties
public void setProperties(java.util.Map<java.lang.String,java.lang.String> properties)
addProperty
public void addProperty(java.lang.String key,
java.lang.String value)
getProperty
public java.lang.String getProperty(java.lang.String key)
getIntegerProperty
public int getIntegerProperty(java.lang.String key)
getXmlToString
public java.lang.String getXmlToString()
Copyright (c) 2010 Jama Software, Inc. All Rights Reserved.