toValue method
Implementation
String toValue() {
switch (this) {
case ConnectionType.jdbc:
return 'JDBC';
case ConnectionType.sftp:
return 'SFTP';
case ConnectionType.mongodb:
return 'MONGODB';
case ConnectionType.kafka:
return 'KAFKA';
case ConnectionType.network:
return 'NETWORK';
case ConnectionType.marketplace:
return 'MARKETPLACE';
case ConnectionType.custom:
return 'CUSTOM';
}
}