Class LicenseTemplateImpl
java.lang.Object
com.labs64.netlicensing.util.Visitable
com.labs64.netlicensing.domain.entity.impl.BaseEntityImpl
com.labs64.netlicensing.domain.entity.impl.LicenseTemplateImpl
- All Implemented Interfaces:
BaseEntity
,LicenseTemplate
,Serializable
Default implementation of
LicenseTemplate
.- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionasMap()
getName()
getPrice()
void
setAutomatic
(Boolean automatic) void
setCurrency
(Currency currency) void
void
setHideLicenses
(Boolean hideLicenses) void
setLicenses
(Collection<License> licenses) void
setLicenseType
(LicenseType licenseType) void
void
setPrice
(BigDecimal price) void
setProductModule
(ProductModule productModule) Methods inherited from class com.labs64.netlicensing.domain.entity.impl.BaseEntityImpl
addProperty, getActive, getNumber, getProperties, removeProperty, setActive, setNumber, toString, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.labs64.netlicensing.domain.entity.BaseEntity
addProperty, getActive, getNumber, getProperties, removeProperty, setActive, setNumber
-
Constructor Details
-
LicenseTemplateImpl
public LicenseTemplateImpl()
-
-
Method Details
-
getReservedProps
- See Also:
-
getProductModule
- Specified by:
getProductModule
in interfaceLicenseTemplate
-
setProductModule
- Specified by:
setProductModule
in interfaceLicenseTemplate
-
getName
- Specified by:
getName
in interfaceLicenseTemplate
-
setName
- Specified by:
setName
in interfaceLicenseTemplate
-
getLicenseType
- Specified by:
getLicenseType
in interfaceLicenseTemplate
-
setLicenseType
- Specified by:
setLicenseType
in interfaceLicenseTemplate
-
getPrice
- Specified by:
getPrice
in interfaceLicenseTemplate
-
setPrice
- Specified by:
setPrice
in interfaceLicenseTemplate
-
getCurrency
- Specified by:
getCurrency
in interfaceLicenseTemplate
-
setCurrency
- Specified by:
setCurrency
in interfaceLicenseTemplate
-
getAutomatic
- Specified by:
getAutomatic
in interfaceLicenseTemplate
-
setAutomatic
- Specified by:
setAutomatic
in interfaceLicenseTemplate
-
getHidden
- Specified by:
getHidden
in interfaceLicenseTemplate
-
setHidden
- Specified by:
setHidden
in interfaceLicenseTemplate
-
getHideLicenses
- Specified by:
getHideLicenses
in interfaceLicenseTemplate
-
setHideLicenses
- Specified by:
setHideLicenses
in interfaceLicenseTemplate
-
getLicenses
- Specified by:
getLicenses
in interfaceLicenseTemplate
-
setLicenses
-
getLicenseTemplateProperties
- Specified by:
getLicenseTemplateProperties
in interfaceLicenseTemplate
-
asMap
- Specified by:
asMap
in interfaceBaseEntity
- Overrides:
asMap
in classBaseEntityImpl
-