Package com.legislate.model
Enum CollaboratorFieldsRequestDTO.SideEnum
- java.lang.Object
-
- java.lang.Enum<CollaboratorFieldsRequestDTO.SideEnum>
-
- com.legislate.model.CollaboratorFieldsRequestDTO.SideEnum
-
- All Implemented Interfaces:
Serializable,Comparable<CollaboratorFieldsRequestDTO.SideEnum>
- Enclosing class:
- CollaboratorFieldsRequestDTO
public static enum CollaboratorFieldsRequestDTO.SideEnum extends Enum<CollaboratorFieldsRequestDTO.SideEnum>
The side of contract collaborator.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCollaboratorFieldsRequestDTO.SideEnum.Adapter
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CollaboratorFieldsRequestDTO.SideEnumfromValue(String input)StringgetValue()StringtoString()static CollaboratorFieldsRequestDTO.SideEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static CollaboratorFieldsRequestDTO.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 CollaboratorFieldsRequestDTO.SideEnum BOTH
-
FIRST
public static final CollaboratorFieldsRequestDTO.SideEnum FIRST
-
SECOND
public static final CollaboratorFieldsRequestDTO.SideEnum SECOND
-
-
Method Detail
-
values
public static CollaboratorFieldsRequestDTO.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 (CollaboratorFieldsRequestDTO.SideEnum c : CollaboratorFieldsRequestDTO.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 CollaboratorFieldsRequestDTO.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<CollaboratorFieldsRequestDTO.SideEnum>
-
fromValue
public static CollaboratorFieldsRequestDTO.SideEnum fromValue(String input)
-
-