Enum Class MutabilityMode
- All Implemented Interfaces:
- Serializable,- Comparable<MutabilityMode>,- Constable
Mutability mode represents how a session should interact with external sources of data, such as tags or
 databases.
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionDon't communicate with sources at allOnly read values, don't alter themFull read and write access enabled.
- 
Method SummaryModifier and TypeMethodDescriptionbooleancanRead()booleancanWrite()static MutabilityModeReturns the enum constant of this class with the specified name.static MutabilityMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
OFFDon't communicate with sources at all
- 
READ_ONLYOnly read values, don't alter them
- 
READ_WRITEFull read and write access enabled.
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- 
valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
- NullPointerException- if the argument is null
 
- 
canReadpublic boolean canRead()- Returns:
- false if the designer session has its gateway comm mode set to "off". Avoid reading from data sources.
 
- 
canWritepublic boolean canWrite()- Returns:
- false if the designer session has its gateway comm mode set to "off" or "read-only". Avoid writing back to data sources.
 
 
-