Enum DocumentSubType
- java.lang.Object
-
- java.lang.Enum<DocumentSubType>
-
- com.hack23.cia.model.external.riksdagen.dokumentlista.impl.DocumentSubType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DocumentSubType>
public enum DocumentSubType extends java.lang.Enum<DocumentSubType>
The Enum DocumentSubType.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BET
The bet.ENSKILD_MOTION
The enskild motion.FLERPARTIMOTION
The flerpartimotion.KOMMITTEMOTION
The kommittemotion.PROP
The prop.SKR
The skr.UTL
The utl.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DocumentSubType
fromValue(java.lang.String v)
From value.java.lang.String
value()
Value.static DocumentSubType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DocumentSubType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
KOMMITTEMOTION
public static final DocumentSubType KOMMITTEMOTION
The kommittemotion.
-
BET
public static final DocumentSubType BET
The bet.
-
UTL
public static final DocumentSubType UTL
The utl.
-
FLERPARTIMOTION
public static final DocumentSubType FLERPARTIMOTION
The flerpartimotion.
-
ENSKILD_MOTION
public static final DocumentSubType ENSKILD_MOTION
The enskild motion.
-
PROP
public static final DocumentSubType PROP
The prop.
-
SKR
public static final DocumentSubType SKR
The skr.
-
-
Method Detail
-
values
public static DocumentSubType[] 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 (DocumentSubType c : DocumentSubType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DocumentSubType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
value
public java.lang.String value()
Value.- Returns:
- the string
-
fromValue
public static DocumentSubType fromValue(java.lang.String v)
From value.- Parameters:
v
- the v- Returns:
- the document sub type
-
-