Enum AccessLevel
- java.lang.Object
-
- java.lang.Enum<AccessLevel>
-
- org.apache.plc4x.java.knxnetip.readwrite.AccessLevel
-
- All Implemented Interfaces:
Serializable,Comparable<AccessLevel>
public enum AccessLevel extends Enum<AccessLevel>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AccessLevelenumForValue(byte value)static List<AccessLevel>enumsForFieldNeedsAuthentication(boolean fieldValue)static List<AccessLevel>enumsForFieldPurpose(String fieldValue)static AccessLevelfirstEnumForFieldNeedsAuthentication(boolean fieldValue)static AccessLevelfirstEnumForFieldPurpose(String fieldValue)booleangetNeedsAuthentication()StringgetPurpose()bytegetValue()static BooleanisDefined(byte value)static AccessLevelvalueOf(String name)Returns the enum constant of this type with the specified name.static AccessLevel[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Level0
public static final AccessLevel Level0
-
Level1
public static final AccessLevel Level1
-
Level2
public static final AccessLevel Level2
-
Level3
public static final AccessLevel Level3
-
Level15
public static final AccessLevel Level15
-
-
Method Detail
-
values
public static AccessLevel[] 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 (AccessLevel c : AccessLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AccessLevel 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 byte getValue()
-
getPurpose
public String getPurpose()
-
firstEnumForFieldPurpose
public static AccessLevel firstEnumForFieldPurpose(String fieldValue)
-
enumsForFieldPurpose
public static List<AccessLevel> enumsForFieldPurpose(String fieldValue)
-
getNeedsAuthentication
public boolean getNeedsAuthentication()
-
firstEnumForFieldNeedsAuthentication
public static AccessLevel firstEnumForFieldNeedsAuthentication(boolean fieldValue)
-
enumsForFieldNeedsAuthentication
public static List<AccessLevel> enumsForFieldNeedsAuthentication(boolean fieldValue)
-
enumForValue
public static AccessLevel enumForValue(byte value)
-
isDefined
public static Boolean isDefined(byte value)
-
-