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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDiscount(ProductDiscount discount) asMap()getName()voidsetDescription(String description) voidsetLicenseeAutoCreate(Boolean licenseeAutoCreate) voidsetLicensees(Collection<Licensee> licensees) voidsetLicensingInfo(String licensingInfo) voidvoidvoidsetProductDiscounts(List<ProductDiscount> productDiscounts) voidsetProductModules(Collection<ProductModule> productModules) voidsetVersion(String version) Methods inherited from class com.labs64.netlicensing.domain.entity.impl.BaseEntityImpl
addProperty, getActive, getNumber, getProperties, removeProperty, setActive, setNumber, toString, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:
getVersionin interfaceProduct
-
setVersion
- Specified by:
setVersionin interfaceProduct
-
getLicenseeAutoCreate
- Specified by:
getLicenseeAutoCreatein interfaceProduct
-
setLicenseeAutoCreate
- Specified by:
setLicenseeAutoCreatein interfaceProduct
-
getDescription
- Specified by:
getDescriptionin interfaceProduct
-
setDescription
- Specified by:
setDescriptionin interfaceProduct
-
getLicensingInfo
- Specified by:
getLicensingInfoin interfaceProduct
-
setLicensingInfo
- Specified by:
setLicensingInfoin interfaceProduct
-
getProductModules
- Specified by:
getProductModulesin interfaceProduct
-
setProductModules
-
getLicensees
- Specified by:
getLicenseesin interfaceProduct
-
setLicensees
-
getProductDiscounts
- Specified by:
getProductDiscountsin interfaceProduct
-
setProductDiscounts
-
setProductDiscounts
public void setProductDiscounts() -
addDiscount
- Specified by:
addDiscountin interfaceProduct
-
getProductProperties
- Specified by:
getProductPropertiesin interfaceProduct
-
asMap
- Specified by:
asMapin interfaceBaseEntity- Overrides:
asMapin classBaseEntityImpl
-