| .. | .. |
|---|
| 6 | 6 | @JsonAutoDetect |
|---|
| 7 | 7 | public class SignedLicenseBean extends LicenseBean { |
|---|
| 8 | 8 | |
|---|
| 9 | | - @JsonProperty("signature") |
|---|
| 10 | | - public String getCurrentSignature() { |
|---|
| 11 | | - return super.getSignature(); |
|---|
| 12 | | - } |
|---|
| 13 | | - |
|---|
| 14 | | - public SignedLicenseBean() { |
|---|
| 15 | | - } |
|---|
| 9 | + @JsonProperty("signature") |
|---|
| 10 | + public String getCurrentSignature() { |
|---|
| 11 | + return super.getSignature(); |
|---|
| 12 | + } |
|---|
| 16 | 13 | |
|---|
| 17 | | - public SignedLicenseBean(LicenseBean lb) { |
|---|
| 18 | | - super(lb); |
|---|
| 19 | | - setSignature(lb.getSignature()); |
|---|
| 20 | | - setExpirationDate(lb.getExpirationDate()); |
|---|
| 21 | | - setLicenseCode(lb.getLicenseCode()); |
|---|
| 22 | | - setLicenseType(lb.getLicenseType()); |
|---|
| 23 | | - setMetadata(lb.getMetadata()); |
|---|
| 24 | | - } |
|---|
| 14 | + public SignedLicenseBean() { |
|---|
| 15 | + } |
|---|
| 16 | + |
|---|
| 17 | + public SignedLicenseBean(LicenseBean lb) { |
|---|
| 18 | + super(lb); |
|---|
| 19 | + setSignature(lb.getSignature()); |
|---|
| 20 | + setExpirationDate(lb.getExpirationDate()); |
|---|
| 21 | + setPackCode(lb.getPackCode()); |
|---|
| 22 | + setLicenseCode(lb.getLicenseCode()); |
|---|
| 23 | + setAppName(lb.getAppName()); |
|---|
| 24 | + setMetadata(lb.getMetadata()); |
|---|
| 25 | + } |
|---|
| 25 | 26 | |
|---|
| 26 | 27 | } |
|---|