Enum EffectiveStmtCtx.Parent.EffectiveConfig
- java.lang.Object
-
- java.lang.Enum<EffectiveStmtCtx.Parent.EffectiveConfig>
-
- org.opendaylight.yangtools.yang.parser.spi.meta.EffectiveStmtCtx.Parent.EffectiveConfig
-
- All Implemented Interfaces:
Serializable
,Comparable<EffectiveStmtCtx.Parent.EffectiveConfig>
- Enclosing interface:
- EffectiveStmtCtx.Parent
@Beta public static enum EffectiveStmtCtx.Parent.EffectiveConfig extends Enum<EffectiveStmtCtx.Parent.EffectiveConfig>
Effectiveconfig
statement value.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FALSE
We have an effectiveconfig false
statement.IGNORED
We are in a context whereconfig
statements are ignored.TRUE
We have an effectiveconfig true
statement.UNDETERMINED
We are in a context whereconfig
is not determined, such as within agrouping
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable Boolean
asNullable()
Return this value as aBoolean
for use withDataSchemaNode.effectiveConfig()
.static EffectiveStmtCtx.Parent.EffectiveConfig
valueOf(String name)
Returns the enum constant of this type with the specified name.static EffectiveStmtCtx.Parent.EffectiveConfig[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TRUE
public static final EffectiveStmtCtx.Parent.EffectiveConfig TRUE
We have an effectiveconfig true
statement.
-
FALSE
public static final EffectiveStmtCtx.Parent.EffectiveConfig FALSE
We have an effectiveconfig false
statement.
-
IGNORED
public static final EffectiveStmtCtx.Parent.EffectiveConfig IGNORED
We are in a context whereconfig
statements are ignored.
-
UNDETERMINED
public static final EffectiveStmtCtx.Parent.EffectiveConfig UNDETERMINED
We are in a context whereconfig
is not determined, such as within agrouping
.
-
-
Method Detail
-
values
public static EffectiveStmtCtx.Parent.EffectiveConfig[] 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 (EffectiveStmtCtx.Parent.EffectiveConfig c : EffectiveStmtCtx.Parent.EffectiveConfig.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EffectiveStmtCtx.Parent.EffectiveConfig 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
-
asNullable
public @Nullable Boolean asNullable()
Return this value as aBoolean
for use withDataSchemaNode.effectiveConfig()
.- Returns:
- A boolean or null
-
-