Class ProductImpl
java.lang.Object
com.labs64.netlicensing.util.Visitable
com.labs64.netlicensing.domain.entity.impl.BaseEntityImpl
com.labs64.netlicensing.domain.entity.impl.ProductImpl
- All Implemented Interfaces:
BaseEntity
,Product
,Serializable
Default implementation of
Product
.- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addDiscount
(ProductDiscount discount) asMap()
getName()
void
setDescription
(String description) void
setLicenseeAutoCreate
(Boolean licenseeAutoCreate) void
setLicensees
(Collection<Licensee> licensees) void
setLicensingInfo
(String licensingInfo) void
void
void
setProductDiscounts
(List<ProductDiscount> productDiscounts) void
setProductModules
(Collection<ProductModule> productModules) void
setVersion
(String version) 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
-
ProductImpl
public ProductImpl()
-
-
Method Details
-
getReservedProps
- See Also:
-
getName
-
setName
-
getVersion
- Specified by:
getVersion
in interfaceProduct
-
setVersion
- Specified by:
setVersion
in interfaceProduct
-
getLicenseeAutoCreate
- Specified by:
getLicenseeAutoCreate
in interfaceProduct
-
setLicenseeAutoCreate
- Specified by:
setLicenseeAutoCreate
in interfaceProduct
-
getDescription
- Specified by:
getDescription
in interfaceProduct
-
setDescription
- Specified by:
setDescription
in interfaceProduct
-
getLicensingInfo
- Specified by:
getLicensingInfo
in interfaceProduct
-
setLicensingInfo
- Specified by:
setLicensingInfo
in interfaceProduct
-
getProductModules
- Specified by:
getProductModules
in interfaceProduct
-
setProductModules
-
getLicensees
- Specified by:
getLicensees
in interfaceProduct
-
setLicensees
-
getProductDiscounts
- Specified by:
getProductDiscounts
in interfaceProduct
-
setProductDiscounts
-
setProductDiscounts
public void setProductDiscounts() -
addDiscount
- Specified by:
addDiscount
in interfaceProduct
-
getProductProperties
- Specified by:
getProductProperties
in interfaceProduct
-
asMap
- Specified by:
asMap
in interfaceBaseEntity
- Overrides:
asMap
in classBaseEntityImpl
-