Enum SchemaMountStatements
- java.lang.Object
-
- java.lang.Enum<SchemaMountStatements>
-
- org.opendaylight.yangtools.rfc8528.model.api.SchemaMountStatements
-
- All Implemented Interfaces:
Serializable
,Comparable<SchemaMountStatements>
,Immutable
,MutationBehaviour<Immutable>
,StatementDefinition
@NonNullByDefault public enum SchemaMountStatements extends Enum<SchemaMountStatements> implements StatementDefinition
StatementDefinition
s for statements defined by RFC7952.- Author:
- Robert Varga
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MOUNT_POINT
-
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 SchemaMountStatements
valueOf(String name)
Returns the enum constant of this type with the specified name.static SchemaMountStatements[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MOUNT_POINT
public static final SchemaMountStatements MOUNT_POINT
-
-
Method Detail
-
values
public static SchemaMountStatements[] 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 (SchemaMountStatements c : SchemaMountStatements.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SchemaMountStatements 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
-
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.
-
getStatementName
public QName getStatementName()
Description copied from interface:StatementDefinition
Returns name of the statement.- Specified by:
getStatementName
in interfaceStatementDefinition
- Returns:
- Name of the statement
-
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
-
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.
-
-