// Path: src/main/java/org/jugbd/mnet/domain/enums/Gender.java
// public enum Gender {
// 
//     MALE("Male"),
//     FEMALE("Female"),
//     OTHER("Other");
// 
//     private String label;
// 
//     Gender(String label) {
//         this.label = label;
//     }
// 
//     public String getLabel() {
//         return label;
//     }
// }


import org.jugbd.mnet.domain.enums.Gender;
import java.beans.PropertyEditorSupport;
package org.jugbd.mnet.web.editor;



/**
 * @author ronygomes
 */
public class GenderEditor extends PropertyEditorSupport {

    @Override
    public void setAsText(String text) {
// Path: src/main/java/org/jugbd/mnet/domain/enums/Gender.java
// public enum Gender {
// 
//     MALE("Male"),
//     FEMALE("Female"),
//     OTHER("Other");
// 
//     private String label;
// 
//     Gender(String label) {
//         this.label = label;
//     }
// 
//     public String getLabel() {
//         return label;
//     }
// }


// Path: src/main/java/org/jugbd/mnet/web/editor/GenderEditor.java
import org.jugbd.mnet.domain.enums.Gender;
import java.beans.PropertyEditorSupport;

package org.jugbd.mnet.web.editor;



/**
 * @author ronygomes
 */
public class GenderEditor extends PropertyEditorSupport {

    @Override
    public void setAsText(String text) {
        for (Gender gender : Gender.values()) {