JavaScript is disabled on your browser.
Enum Constant Summary
Enum Constants
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods
boolean
Deprecated, for removal: This API element is subject to removal in a future version.
boolean
boolean
Deprecated, for removal: This API element is subject to removal in a future version.
boolean
Deprecated, for removal: This API element is subject to removal in a future version.
boolean
Deprecated, for removal: This API element is subject to removal in a future version.
boolean
Deprecated, for removal: This API element is subject to removal in a future version.
boolean
Deprecated, for removal: This API element is subject to removal in a future version.
boolean
Deprecated, for removal: This API element is subject to removal in a future version.
boolean
Deprecated, for removal: This API element is subject to removal in a future version.
Parses a given string and returns the corresponding AcademyType.
Returns the enum constant of this class with the specified name.
Returns an array containing the constants of this enum class, in
the order they are declared.
Enum Constant Details
WARRANT_OFFICER_ACADEMY
public static final AcademyType WARRANT_OFFICER_ACADEMY
Method Details
values
Returns an array containing the constants of this enum class, in
the order they are declared.
Returns:
an array containing the constants of this enum class, in the order they are declared
valueOf
Returns the enum constant of this class with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this class. (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 class has no constant with the specified name
NullPointerException - if the argument is null
getToolTipText
public String getToolTipText ()
IsNone
Deprecated, for removal: This API element is subject to removal in a future version.
isHighSchool
Deprecated, for removal: This API element is subject to removal in a future version.
isCollege
public boolean isCollege ()
isUniversity
Deprecated, for removal: This API element is subject to removal in a future version.
isMilitaryAcademy
Deprecated, for removal: This API element is subject to removal in a future version.
isBasicTraining
Deprecated, for removal: This API element is subject to removal in a future version.
isNcoAcademy
Deprecated, for removal: This API element is subject to removal in a future version.
isWarrantOfficerAcademy
Deprecated, for removal: This API element is subject to removal in a future version.
isOfficerAcademy
Deprecated, for removal: This API element is subject to removal in a future version.
parseFromString
Parses a given string and returns the corresponding AcademyType. Accepts either the ENUM ordinal value, or its
name
Parameters:
academyType - the string to be parsed
Returns:
the AcademyType object that corresponds to the given string
Throws:
IllegalStateException - if the given string does not match any valid AcademyType