Class LicenseImpl
- java.lang.Object
-
- com.labs64.netlicensing.util.Visitable
-
- com.labs64.netlicensing.domain.entity.impl.BaseEntityImpl
-
- com.labs64.netlicensing.domain.entity.impl.LicenseImpl
-
- All Implemented Interfaces:
BaseEntity
,License
,Serializable
public class LicenseImpl extends BaseEntityImpl implements License
Default implementation ofLicense
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LicenseImpl()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected javax.ws.rs.core.MultivaluedMap<String,Object>
asPropertiesMap()
Currency
getCurrency()
Boolean
getHidden()
Licensee
getLicensee()
Map<String,String>
getLicenseProperties()
LicenseTemplate
getLicenseTemplate()
String
getName()
BigDecimal
getPrice()
static List<String>
getReservedProps()
void
setCurrency(Currency currency)
void
setHidden(Boolean hidden)
void
setLicensee(Licensee licensee)
void
setLicenseTemplate(LicenseTemplate licenseTemplate)
void
setName(String name)
void
setPrice(BigDecimal price)
-
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()
-
getPrice
public BigDecimal getPrice()
-
setPrice
public void setPrice(BigDecimal price)
-
getCurrency
public Currency getCurrency()
- Specified by:
getCurrency
in interfaceLicense
-
setCurrency
public void setCurrency(Currency currency)
- Specified by:
setCurrency
in interfaceLicense
-
getLicensee
public Licensee getLicensee()
- Specified by:
getLicensee
in interfaceLicense
-
setLicensee
public void setLicensee(Licensee licensee)
- Specified by:
setLicensee
in interfaceLicense
-
getLicenseTemplate
public LicenseTemplate getLicenseTemplate()
- Specified by:
getLicenseTemplate
in interfaceLicense
-
setLicenseTemplate
public void setLicenseTemplate(LicenseTemplate licenseTemplate)
- Specified by:
setLicenseTemplate
in interfaceLicense
-
getLicenseProperties
public Map<String,String> getLicenseProperties()
- Specified by:
getLicenseProperties
in interfaceLicense
-
asPropertiesMap
protected javax.ws.rs.core.MultivaluedMap<String,Object> asPropertiesMap()
- Overrides:
asPropertiesMap
in classBaseEntityImpl
-
-