Package be.ceau.nace
Enum NaceSection
- java.lang.Object
-
- java.lang.Enum<NaceSection>
-
- be.ceau.nace.NaceSection
-
- All Implemented Interfaces:
NaceCode,Serializable,Comparable<NaceSection>
public enum NaceSection extends Enum<NaceSection> implements NaceCode
1st and top level in the Nace hierarchy.
No level is above this one.
Next level down isNaceDivision.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCode()intgetLevel()static NaceSectionvalueOf(String name)Returns the enum constant of this type with the specified name.static NaceSection[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
A
public static final NaceSection A
-
B
public static final NaceSection B
-
C
public static final NaceSection C
-
D
public static final NaceSection D
-
E
public static final NaceSection E
-
F
public static final NaceSection F
-
G
public static final NaceSection G
-
H
public static final NaceSection H
-
I
public static final NaceSection I
-
J
public static final NaceSection J
-
K
public static final NaceSection K
-
L
public static final NaceSection L
-
M
public static final NaceSection M
-
N
public static final NaceSection N
-
O
public static final NaceSection O
-
P
public static final NaceSection P
-
Q
public static final NaceSection Q
-
R
public static final NaceSection R
-
S
public static final NaceSection S
-
T
public static final NaceSection T
-
U
public static final NaceSection U
-
-
Method Detail
-
values
public static NaceSection[] 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 (NaceSection c : NaceSection.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NaceSection 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
-
getCode
public String getCode()
-
-