wherehows-dao/src/main/java/wherehows/dao/table/DatasetComplianceDao.java
public void fillDsComplianceByCompliancePolicy(DsCompliance dsCompliance, CompliancePolicy compliance,
      String datasetUrn, String actor) {

    dsCompliance.setDatasetUrn(datasetUrn);
    dsCompliance.setCompliancePurgeType(compliance.compliancePurgeType.name());
    dsCompliance.setConfidentiality(compliance.datasetConfidentiality.name());
    dsCompliance.setDatasetClassification(compliance.datasetClassification.toString());
    if (compliance.complianceEntities != null) {
      dsCompliance.setComplianceEntities(compliance.complianceEntities.toString());
    }

    dsCompliance.setModifiedBy(actor);
  }
/**
   * Fill in DsCompliance information from MCE CompliancePolicy
   * @param dsCompliance DsCompliance
   * @param compliance CompliancePolicy
   * @param datasetUrn String
   * @param actor String
   */
Fill in DsCompliance information from MCE CompliancePolicy
@param dsCompliance DsCompliance
@param compliance CompliancePolicy
@param datasetUrn String
@param actor String
Fill in DsCompliance information from MCE CompliancePolicy @param dsCompliance DsCompliance @param compliance CompliancePolicy @param datasetUrn String @param actor String
public void fillDsComplianceByCompliancePolicy(DsCompliance dsCompliance, CompliancePolicy compliance,
      String datasetUrn, String actor) {
    dsCompliance.setDatasetUrn(datasetUrn);
    dsCompliance.setCompliancePurgeType(compliance.compliancePurgeType.name());
    dsCompliance.setConfidentiality(compliance.datasetConfidentiality.name());
    dsCompliance.setDatasetClassification(compliance.datasetClassification.toString());
    if (compliance.complianceEntities != null) {
      dsCompliance.setComplianceEntities(compliance.complianceEntities.toString());
    }
    dsCompliance.setModifiedBy(actor);
  }
public void fillDsComplianceByCompliancePolicy ( DsCompliance dsCompliance , CompliancePolicy compliance , String datasetUrn , String actor ) { dsCompliance . setDatasetUrn ( datasetUrn ) ; dsCompliance . setCompliancePurgeType ( compliance . compliancePurgeType . name ( ) ) ; dsCompliance . setConfidentiality ( compliance . datasetConfidentiality . name ( ) ) ; dsCompliance . setDatasetClassification ( compliance . datasetClassification . toString ( ) ) ; if ( compliance . complianceEntities != null ) { dsCompliance . setComplianceEntities ( compliance . complianceEntities . toString ( ) ) ; } dsCompliance . setModifiedBy ( actor ) ; }
Fill in DsCompliance information from MCE CompliancePolicy
 @param dsCompliance DsCompliance
 @param compliance CompliancePolicy
 @param datasetUrn String
 @param actor String
Fill in DsCompliance information from MCE CompliancePolicy @param dsCompliance DsCompliance @param compliance CompliancePolicy @param datasetUrn String @param actor String