Enum Feil.Feiltype
- java.lang.Object
-
- java.lang.Enum<Feil.Feiltype>
-
- no.difi.sdp.client2.domain.kvittering.Feil.Feiltype
-
- All Implemented Interfaces:
Serializable,Comparable<Feil.Feiltype>
- Enclosing class:
- Feil
public static enum Feil.Feiltype extends Enum<Feil.Feiltype>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Feil.FeiltypevalueOf(String name)Returns the enum constant of this type with the specified name.static Feil.Feiltype[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
KLIENT
public static final Feil.Feiltype KLIENT
Feil som har oppstått som følge av en feil hos klienten.
-
SERVER
public static final Feil.Feiltype SERVER
Feil som har oppstått som følge av feil hos klienten. Bør meldes til sentralforvalter.
-
-
Method Detail
-
values
public static Feil.Feiltype[] 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 (Feil.Feiltype c : Feil.Feiltype.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Feil.Feiltype 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
-
-