54 lines
931 B
Java
54 lines
931 B
Java
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 PolicyApplicableDuration {
|
|
|
|
|
|
|
|
/**
|
|
* Enumeration : ParameterBased
|
|
*/
|
|
ParameterBased("ParameterBased"),
|
|
|
|
|
|
/**
|
|
* Enumeration : Monthly
|
|
*/
|
|
Monthly("Monthly"),
|
|
|
|
|
|
/**
|
|
* Enumeration : Weekly
|
|
*/
|
|
Weekly("Weekly"),
|
|
|
|
;
|
|
|
|
public static Map<String, String> valuesToEnums;
|
|
|
|
static {
|
|
valuesToEnums = new HashMap<String, String>();
|
|
for (PolicyApplicableDuration e : EnumSet.allOf(PolicyApplicableDuration.class)) {
|
|
valuesToEnums.put(e.toString(), e.name());
|
|
}
|
|
}
|
|
|
|
private String value;
|
|
|
|
private PolicyApplicableDuration(String value) {
|
|
this.value = value;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return value;
|
|
}
|
|
}
|