Enum OpenDaylightExtensionsStatements
- java.lang.Object
-
- java.lang.Enum<OpenDaylightExtensionsStatements>
-
- org.opendaylight.yangtools.odlext.model.api.OpenDaylightExtensionsStatements
-
- All Implemented Interfaces:
Serializable
,Comparable<OpenDaylightExtensionsStatements>
,Immutable
,MutationBehaviour<Immutable>
,StatementDefinition
@Beta public enum OpenDaylightExtensionsStatements extends Enum<OpenDaylightExtensionsStatements> implements StatementDefinition
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUGMENT_IDENTIFIER
CONTEXT_INSTANCE
CONTEXT_REFERENCE
INSTANCE_TARGET
MOUNT
RPC_CONTEXT_REFERENCE
-
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 OpenDaylightExtensionsStatements
valueOf(String name)
Returns the enum constant of this type with the specified name.static OpenDaylightExtensionsStatements[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUGMENT_IDENTIFIER
public static final OpenDaylightExtensionsStatements AUGMENT_IDENTIFIER
-
MOUNT
public static final OpenDaylightExtensionsStatements MOUNT
-
CONTEXT_INSTANCE
public static final OpenDaylightExtensionsStatements CONTEXT_INSTANCE
-
CONTEXT_REFERENCE
public static final OpenDaylightExtensionsStatements CONTEXT_REFERENCE
-
INSTANCE_TARGET
public static final OpenDaylightExtensionsStatements INSTANCE_TARGET
-
RPC_CONTEXT_REFERENCE
public static final OpenDaylightExtensionsStatements RPC_CONTEXT_REFERENCE
-
-
Method Detail
-
values
public static OpenDaylightExtensionsStatements[] 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 (OpenDaylightExtensionsStatements c : OpenDaylightExtensionsStatements.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OpenDaylightExtensionsStatements 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
-
-