Enum MemoryArea
- java.lang.Object
-
- java.lang.Enum<MemoryArea>
-
- org.apache.plc4x.java.s7.readwrite.MemoryArea
-
- All Implemented Interfaces:
Serializable,Comparable<MemoryArea>
public enum MemoryArea extends Enum<MemoryArea>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COUNTERSDATA_BLOCKSDIRECT_PERIPHERAL_ACCESSFLAGS_MARKERSINPUTSINSTANCE_DATA_BLOCKSLOCAL_DATAOUTPUTSTIMERS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MemoryAreaenumForValue(short value)static List<MemoryArea>enumsForFieldShortName(String fieldValue)static MemoryAreafirstEnumForFieldShortName(String fieldValue)StringgetShortName()shortgetValue()static BooleanisDefined(short value)static MemoryAreavalueOf(String name)Returns the enum constant of this type with the specified name.static MemoryArea[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COUNTERS
public static final MemoryArea COUNTERS
-
TIMERS
public static final MemoryArea TIMERS
-
DIRECT_PERIPHERAL_ACCESS
public static final MemoryArea DIRECT_PERIPHERAL_ACCESS
-
INPUTS
public static final MemoryArea INPUTS
-
OUTPUTS
public static final MemoryArea OUTPUTS
-
FLAGS_MARKERS
public static final MemoryArea FLAGS_MARKERS
-
DATA_BLOCKS
public static final MemoryArea DATA_BLOCKS
-
INSTANCE_DATA_BLOCKS
public static final MemoryArea INSTANCE_DATA_BLOCKS
-
LOCAL_DATA
public static final MemoryArea LOCAL_DATA
-
-
Method Detail
-
values
public static MemoryArea[] 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 (MemoryArea c : MemoryArea.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MemoryArea 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 short getValue()
-
getShortName
public String getShortName()
-
firstEnumForFieldShortName
public static MemoryArea firstEnumForFieldShortName(String fieldValue)
-
enumsForFieldShortName
public static List<MemoryArea> enumsForFieldShortName(String fieldValue)
-
enumForValue
public static MemoryArea enumForValue(short value)
-
isDefined
public static Boolean isDefined(short value)
-
-