code: public LicenseType merge(MergeableMetadata<?> jmd) throws Exception
     {
        if (jmd instanceof LicenseTypeImpl)
        {
           LicenseTypeImpl inputLicense = (LicenseTypeImpl) jmd;
  
           List<LocalizedXsdString> newDescription = MergeUtil.mergeList(this.description, inputLicense.description);
           boolean newLicenseRequired = this.licenseRequired || inputLicense.licenseRequired;
           String newId = this.id == null ? inputLicense.id : this.id;
           String newlrid = this.licReqId == null ? inputLicense.licReqId : this.licReqId;
           return new LicenseTypeImpl(newDescription, newLicenseRequired, newId, newlrid);
        }
        else
        {
           return this;
        }
     }
docs: {@inheritDoc}