Enum SuggestionQuality
- java.lang.Object
-
- java.lang.Enum<SuggestionQuality>
-
- microsoft.exchange.webservices.data.core.enumeration.availability.SuggestionQuality
-
- All Implemented Interfaces:
Serializable,Comparable<SuggestionQuality>
public enum SuggestionQuality extends Enum<SuggestionQuality>
Defines the quality of an availability suggestion.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SuggestionQualityvalueOf(String name)Returns the enum constant of this type with the specified name.static SuggestionQuality[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Excellent
public static final SuggestionQuality Excellent
The Excellent.
-
Good
public static final SuggestionQuality Good
The Good.
-
Fair
public static final SuggestionQuality Fair
The Fair.
-
Poor
public static final SuggestionQuality Poor
The Poor.
-
-
Method Detail
-
values
public static SuggestionQuality[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SuggestionQuality c : SuggestionQuality.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SuggestionQuality valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-