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
public class LicenseTemplateImpl extends BaseEntityImpl implements LicenseTemplate
Default implementation ofLicenseTemplate
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LicenseTemplateImpl()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected javax.ws.rs.core.MultivaluedMap<String,Object>
asPropertiesMap()
Boolean
getAutomatic()
Currency
getCurrency()
Boolean
getHidden()
Boolean
getHideLicenses()
Collection<License>
getLicenses()
Map<String,String>
getLicenseTemplateProperties()
LicenseType
getLicenseType()
String
getName()
BigDecimal
getPrice()
ProductModule
getProductModule()
static List<String>
getReservedProps()
void
setAutomatic(Boolean automatic)
void
setCurrency(Currency currency)
void
setHidden(Boolean hidden)
void
setHideLicenses(Boolean hideLicenses)
void
setLicenses(Collection<License> licenses)
void
setLicenseType(LicenseType licenseType)
void
setName(String name)
void
setPrice(BigDecimal price)
void
setProductModule(ProductModule productModule)
-
Methods inherited from class com.labs64.netlicensing.domain.entity.impl.BaseEntityImpl
addProperty, asRequestForm, 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, asRequestForm, getActive, getNumber, getProperties, removeProperty, setActive, setNumber
-
-
-
-
Method Detail
-
getReservedProps
public static List<String> getReservedProps()
- See Also:
BaseEntityImpl.getReservedProps()
-
getProductModule
public ProductModule getProductModule()
- Specified by:
getProductModule
in interfaceLicenseTemplate
-
setProductModule
public void setProductModule(ProductModule productModule)
- Specified by:
setProductModule
in interfaceLicenseTemplate
-
getName
public String getName()
- Specified by:
getName
in interfaceLicenseTemplate
-
setName
public void setName(String name)
- Specified by:
setName
in interfaceLicenseTemplate
-
getLicenseType
public LicenseType getLicenseType()
- Specified by:
getLicenseType
in interfaceLicenseTemplate
-
setLicenseType
public void setLicenseType(LicenseType licenseType)
- Specified by:
setLicenseType
in interfaceLicenseTemplate
-
getPrice
public BigDecimal getPrice()
- Specified by:
getPrice
in interfaceLicenseTemplate
-
setPrice
public void setPrice(BigDecimal price)
- Specified by:
setPrice
in interfaceLicenseTemplate
-
getCurrency
public Currency getCurrency()
- Specified by:
getCurrency
in interfaceLicenseTemplate
-
setCurrency
public void setCurrency(Currency currency)
- Specified by:
setCurrency
in interfaceLicenseTemplate
-
getAutomatic
public Boolean getAutomatic()
- Specified by:
getAutomatic
in interfaceLicenseTemplate
-
setAutomatic
public void setAutomatic(Boolean automatic)
- Specified by:
setAutomatic
in interfaceLicenseTemplate
-
getHidden
public Boolean getHidden()
- Specified by:
getHidden
in interfaceLicenseTemplate
-
setHidden
public void setHidden(Boolean hidden)
- Specified by:
setHidden
in interfaceLicenseTemplate
-
getHideLicenses
public Boolean getHideLicenses()
- Specified by:
getHideLicenses
in interfaceLicenseTemplate
-
setHideLicenses
public void setHideLicenses(Boolean hideLicenses)
- Specified by:
setHideLicenses
in interfaceLicenseTemplate
-
getLicenses
public Collection<License> getLicenses()
- Specified by:
getLicenses
in interfaceLicenseTemplate
-
setLicenses
public void setLicenses(Collection<License> licenses)
-
getLicenseTemplateProperties
public Map<String,String> getLicenseTemplateProperties()
- Specified by:
getLicenseTemplateProperties
in interfaceLicenseTemplate
-
asPropertiesMap
protected javax.ws.rs.core.MultivaluedMap<String,Object> asPropertiesMap()
- Overrides:
asPropertiesMap
in classBaseEntityImpl
-
-