Package ru.moysklad.remap_1_2.entities
Enum Currency.Unit.Gender
- java.lang.Object
-
- java.lang.Enum<Currency.Unit.Gender>
-
- ru.moysklad.remap_1_2.entities.Currency.Unit.Gender
-
- All Implemented Interfaces:
Serializable,Comparable<Currency.Unit.Gender>
- Enclosing class:
- Currency.Unit
public static enum Currency.Unit.Gender extends Enum<Currency.Unit.Gender>
Грамматический род единицы Валюты
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Currency.Unit.GendervalueOf(String name)Returns the enum constant of this type with the specified name.static Currency.Unit.Gender[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
masculine
public static final Currency.Unit.Gender masculine
Мужской род
-
feminine
public static final Currency.Unit.Gender feminine
Женский род
-
-
Method Detail
-
values
public static Currency.Unit.Gender[] 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 (Currency.Unit.Gender c : Currency.Unit.Gender.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Currency.Unit.Gender 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
-
-