Enum Class StatementNamespace
- All Implemented Interfaces:
Serializable
,Comparable<StatementNamespace>
,Constable
YANG statement namespaces which we process.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe namespace foraugment
statements.The namespace for amodule
's data root interface.The namespace of allfeature
statements, bullet 3.The namespace of allgrouping
statements, bullet 6.The namespace of allidentity
statements, bullet 4.The namespace for alist
'skey
statement.The namespace of alltypedef
statements, bullet 5.The namespace of all RFC8040ietf-restconf:yang-data
statements. -
Method Summary
Modifier and TypeMethodDescriptionboolean
@NonNull String
suffix()
static StatementNamespace
Returns the enum constant of this class with the specified name.static StatementNamespace[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FEATURE
The namespace of allfeature
statements, bullet 3. -
IDENTITY
The namespace of allidentity
statements, bullet 4. -
TYPEDEF
The namespace of alltypedef
statements, bullet 5. -
GROUPING
The namespace of allgrouping
statements, bullet 6. -
YANG_DATA
The namespace of all RFC8040ietf-restconf:yang-data
statements. These sit outside of the usual YANG statement namespaces, but may overlap in the usual case when template names conform to YANGidentifier
rules. -
AUGMENT
The namespace foraugment
statements. These are specific to Java Binding. -
ACTION
-
ANYDATA
-
ANYXML
-
CASE
-
CHOICE
-
CONTAINER
-
INPUT
-
LEAF
-
LIST
-
LEAF_LIST
-
KEY
The namespace for alist
'skey
statement. This typically does not conflict, but could in case of
In this case the key-derived FooKey gets shifted tomodule foo { list foo { // results Foo key bar; // triggers FooKey as a sibling to Foo leaf bar { type string; } } container foo-key; // results in FooKey }
$KE
. -
NOTIFICATION
-
OUTPUT
-
RPC
-
DATA_ROOT
The namespace for amodule
's data root interface. This typically does not conflict, but could in case of
In this case the module-derived FooData gets shifted tomodule foo { // results in FooData container foo-data; // results in FooData as well }
$D
.
-
-
Method Details
-
values
Returns 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
-
valueOf
Returns 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 nameNullPointerException
- if the argument is null
-
suffix
-
resistant
public boolean resistant()
-