Enum SDPStrekkodetype
- java.lang.Object
-
- java.lang.Enum<SDPStrekkodetype>
-
- no.difi.begrep.sdp.utvidelser.arrangement.SDPStrekkodetype
-
- All Implemented Interfaces:
Serializable,Comparable<SDPStrekkodetype>
public enum SDPStrekkodetype extends Enum<SDPStrekkodetype>
Java class for Strekkodetype.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="Strekkodetype"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="code-128"/> <enumeration value="code-39"/> </restriction> </simpleType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SDPStrekkodetypefromValue(String v)Stringvalue()static SDPStrekkodetypevalueOf(String name)Returns the enum constant of this type with the specified name.static SDPStrekkodetype[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CODE_128
public static final SDPStrekkodetype CODE_128
-
CODE_39
public static final SDPStrekkodetype CODE_39
-
-
Method Detail
-
values
public static SDPStrekkodetype[] 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 (SDPStrekkodetype c : SDPStrekkodetype.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SDPStrekkodetype 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
-
value
public String value()
-
fromValue
public static SDPStrekkodetype fromValue(String v)
-
-