toValue method
Implementation
String toValue() {
switch (this) {
case ComplianceType.compliant:
return 'COMPLIANT';
case ComplianceType.nonCompliant:
return 'NON_COMPLIANT';
case ComplianceType.notApplicable:
return 'NOT_APPLICABLE';
case ComplianceType.insufficientData:
return 'INSUFFICIENT_DATA';
}
}