com.sforce.soap.metadata.Gender Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of force-metadata-api Show documentation
Show all versions of force-metadata-api Show documentation
Force.com Web Service Connector
package com.sforce.soap.metadata;
import java.util.EnumSet;
import java.util.HashMap;
import java.util.Map;
/**
* This is a generated class for the SObject Enterprise API.
* Do not edit this file, as your changes will be lost.
*/
public enum Gender {
/**
* Enumeration : Neuter
*/
Neuter("Neuter"),
/**
* Enumeration : Masculine
*/
Masculine("Masculine"),
/**
* Enumeration : Feminine
*/
Feminine("Feminine"),
/**
* Enumeration : AnimateMasculine
*/
AnimateMasculine("AnimateMasculine"),
/**
* Enumeration : ClassI
*/
ClassI("ClassI"),
/**
* Enumeration : ClassIII
*/
ClassIII("ClassIII"),
/**
* Enumeration : ClassV
*/
ClassV("ClassV"),
/**
* Enumeration : ClassVII
*/
ClassVII("ClassVII"),
/**
* Enumeration : ClassIX
*/
ClassIX("ClassIX"),
/**
* Enumeration : ClassXI
*/
ClassXI("ClassXI"),
/**
* Enumeration : ClassXIV
*/
ClassXIV("ClassXIV"),
/**
* Enumeration : ClassXV
*/
ClassXV("ClassXV"),
/**
* Enumeration : ClassXVI
*/
ClassXVI("ClassXVI"),
/**
* Enumeration : ClassXVII
*/
ClassXVII("ClassXVII"),
/**
* Enumeration : ClassXVIII
*/
ClassXVIII("ClassXVIII"),
;
public static Map valuesToEnums;
static {
valuesToEnums = new HashMap();
for (Gender e : EnumSet.allOf(Gender.class)) {
valuesToEnums.put(e.toString(), e.name());
}
}
private String value;
private Gender(String value) {
this.value = value;
}
@Override
public String toString() {
return value;
}
}