public static enum YangLibraryConstants.ContainerName extends Enum<YangLibraryConstants.ContainerName>
Enum Constant and Description |
---|
RFC7895
Container in RFC7895 (pre-NMDA) YANG Library.
|
RFC8525
Container in RFC8525 (NMDA) YANG Library.
|
Modifier and Type | Method and Description |
---|---|
static Optional<YangLibraryConstants.ContainerName> |
forLocalName(String localName) |
String |
getLocalName() |
static YangLibraryConstants.ContainerName |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static YangLibraryConstants.ContainerName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final YangLibraryConstants.ContainerName RFC8525
public static final YangLibraryConstants.ContainerName RFC7895
public static YangLibraryConstants.ContainerName[] values()
for (YangLibraryConstants.ContainerName c : YangLibraryConstants.ContainerName.values()) System.out.println(c);
public static YangLibraryConstants.ContainerName valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getLocalName()
public static Optional<YangLibraryConstants.ContainerName> forLocalName(String localName)
Copyright © 2020 OpenDaylight. All rights reserved.