Package com.legislate.model
Enum CompanyFieldsDTO.SideEnum
- java.lang.Object
-
- java.lang.Enum<CompanyFieldsDTO.SideEnum>
-
- com.legislate.model.CompanyFieldsDTO.SideEnum
-
- All Implemented Interfaces:
Serializable,Comparable<CompanyFieldsDTO.SideEnum>
- Enclosing class:
- CompanyFieldsDTO
public static enum CompanyFieldsDTO.SideEnum extends Enum<CompanyFieldsDTO.SideEnum>
Gets or Sets side
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCompanyFieldsDTO.SideEnum.Adapter
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CompanyFieldsDTO.SideEnumfromValue(String input)StringgetValue()StringtoString()static CompanyFieldsDTO.SideEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static CompanyFieldsDTO.SideEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BOTH
public static final CompanyFieldsDTO.SideEnum BOTH
-
FIRST
public static final CompanyFieldsDTO.SideEnum FIRST
-
SECOND
public static final CompanyFieldsDTO.SideEnum SECOND
-
-
Method Detail
-
values
public static CompanyFieldsDTO.SideEnum[] 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 (CompanyFieldsDTO.SideEnum c : CompanyFieldsDTO.SideEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CompanyFieldsDTO.SideEnum 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
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<CompanyFieldsDTO.SideEnum>
-
fromValue
public static CompanyFieldsDTO.SideEnum fromValue(String input)
-
-