Package com.legislate.model
Enum RoleVisibilityDTO.RoleEnum
- java.lang.Object
-
- java.lang.Enum<RoleVisibilityDTO.RoleEnum>
-
- com.legislate.model.RoleVisibilityDTO.RoleEnum
-
- All Implemented Interfaces:
Serializable,Comparable<RoleVisibilityDTO.RoleEnum>
- Enclosing class:
- RoleVisibilityDTO
public static enum RoleVisibilityDTO.RoleEnum extends Enum<RoleVisibilityDTO.RoleEnum>
Gets or Sets role
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRoleVisibilityDTO.RoleEnum.Adapter
-
Enum Constant Summary
Enum Constants Enum Constant Description COLLABORATORPARTYPARTY_WITH_SIGNATORYSIGNATORYSUPP_SIGWITNESS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RoleVisibilityDTO.RoleEnumfromValue(String input)StringgetValue()StringtoString()static RoleVisibilityDTO.RoleEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static RoleVisibilityDTO.RoleEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COLLABORATOR
public static final RoleVisibilityDTO.RoleEnum COLLABORATOR
-
PARTY
public static final RoleVisibilityDTO.RoleEnum PARTY
-
PARTY_WITH_SIGNATORY
public static final RoleVisibilityDTO.RoleEnum PARTY_WITH_SIGNATORY
-
SIGNATORY
public static final RoleVisibilityDTO.RoleEnum SIGNATORY
-
SUPP_SIG
public static final RoleVisibilityDTO.RoleEnum SUPP_SIG
-
WITNESS
public static final RoleVisibilityDTO.RoleEnum WITNESS
-
-
Method Detail
-
values
public static RoleVisibilityDTO.RoleEnum[] 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 (RoleVisibilityDTO.RoleEnum c : RoleVisibilityDTO.RoleEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RoleVisibilityDTO.RoleEnum 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<RoleVisibilityDTO.RoleEnum>
-
fromValue
public static RoleVisibilityDTO.RoleEnum fromValue(String input)
-
-