Enum Class ModuleEffectiveStatement.ConformanceType
java.lang.Object
java.lang.Enum<ModuleEffectiveStatement.ConformanceType>
org.opendaylight.yangtools.yang.model.api.stmt.ModuleEffectiveStatement.ConformanceType
- All Implemented Interfaces:
Serializable
,Comparable<ModuleEffectiveStatement.ConformanceType>
,Constable
- Enclosing interface:
- ModuleEffectiveStatement
public static enum ModuleEffectiveStatement.ConformanceType
extends Enum<ModuleEffectiveStatement.ConformanceType>
Conformance type, as defined by RFC7895 and
indirectly referenced in RFC7950. The
NMDA revision of YANG Library does not directly
define these, but makes a distiction on the same concept.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
IMPLEMENT
This module is being implemented. As per RFC7895:Indicates that the server implements one or more protocol-accessible objects defined in the YANG module identified in this entry. This includes deviation statements defined in the module. For YANG version 1.1 modules, there is at most one module entry with conformance type 'implement' for a particular module name, since YANG 1.1 requires that, at most, one revision of a module is implemented. For YANG version 1 modules, there SHOULD NOT be more than one module entry for a particular module name.
-
IMPORT
This module is being used only for reusable constructs. As per RFC7895:Indicates that the server imports reusable definitions from the specified revision of the module but does not implement any protocol-accessible objects from this revision. Multiple module entries for the same module name MAY exist. This can occur if multiple modules import the same module but specify different revision dates in the import statements.
-
-
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
-