Enum IetfYangSmiv2ExtensionsMapping
- java.lang.Object
-
- java.lang.Enum<IetfYangSmiv2ExtensionsMapping>
-
- org.opendaylight.yangtools.rfc6643.model.api.IetfYangSmiv2ExtensionsMapping
-
- All Implemented Interfaces:
Serializable
,Comparable<IetfYangSmiv2ExtensionsMapping>
,Immutable
,MutationBehaviour<Immutable>
,StatementDefinition
@Beta public enum IetfYangSmiv2ExtensionsMapping extends Enum<IetfYangSmiv2ExtensionsMapping> implements StatementDefinition
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALIAS
DEFVAL
DISPLAY_HINT
IMPLIED
MAX_ACCESS
OBJECT_ID
SUB_ID
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<ArgumentDefinition>
getArgumentDefinition()
Returns name of statement argument or null, if statement does not have argument.Class<? extends DeclaredStatement<?>>
getDeclaredRepresentationClass()
Returns class which represents declared version of statement associated with this definition.Class<? extends EffectiveStatement<?,?>>
getEffectiveRepresentationClass()
Returns class which represents derived behaviour from supplied statement.QName
getStatementName()
Returns name of the statement.static IetfYangSmiv2ExtensionsMapping
valueOf(String name)
Returns the enum constant of this type with the specified name.static IetfYangSmiv2ExtensionsMapping[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DISPLAY_HINT
public static final IetfYangSmiv2ExtensionsMapping DISPLAY_HINT
-
MAX_ACCESS
public static final IetfYangSmiv2ExtensionsMapping MAX_ACCESS
-
DEFVAL
public static final IetfYangSmiv2ExtensionsMapping DEFVAL
-
IMPLIED
public static final IetfYangSmiv2ExtensionsMapping IMPLIED
-
SUB_ID
public static final IetfYangSmiv2ExtensionsMapping SUB_ID
-
OBJECT_ID
public static final IetfYangSmiv2ExtensionsMapping OBJECT_ID
-
ALIAS
public static final IetfYangSmiv2ExtensionsMapping ALIAS
-
-
Method Detail
-
values
public static IetfYangSmiv2ExtensionsMapping[] 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 (IetfYangSmiv2ExtensionsMapping c : IetfYangSmiv2ExtensionsMapping.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IetfYangSmiv2ExtensionsMapping 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
-
getStatementName
public QName getStatementName()
Description copied from interface:StatementDefinition
Returns name of the statement.- Specified by:
getStatementName
in interfaceStatementDefinition
- Returns:
- Name of the statement
-
getArgumentDefinition
public Optional<ArgumentDefinition> getArgumentDefinition()
Description copied from interface:StatementDefinition
Returns name of statement argument or null, if statement does not have argument.- Specified by:
getArgumentDefinition
in interfaceStatementDefinition
- Returns:
- argument name or null, if statement does not take argument.
-
getDeclaredRepresentationClass
public Class<? extends DeclaredStatement<?>> getDeclaredRepresentationClass()
Description copied from interface:StatementDefinition
Returns class which represents declared version of statement associated with this definition. This class should be an interface which provides convenience access to declared substatements.- Specified by:
getDeclaredRepresentationClass
in interfaceStatementDefinition
- Returns:
- class which represents declared version of statement associated with this definition.
-
getEffectiveRepresentationClass
public Class<? extends EffectiveStatement<?,?>> getEffectiveRepresentationClass()
Description copied from interface:StatementDefinition
Returns class which represents derived behaviour from supplied statement. This class should be an interface which defines convenience access to statement properties, namespace items and substatements.- Specified by:
getEffectiveRepresentationClass
in interfaceStatementDefinition
- Returns:
- class which represents effective version of statement associated with this definition
-
-