Interface BitmaskTwoByteValue
- All Superinterfaces:
org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>,org.opendaylight.yangtools.binding.BindingObject,org.opendaylight.yangtools.binding.DataContainer,org.opendaylight.yangtools.binding.Grouping
- All Known Subinterfaces:
TcpFlags
@Generated("mdsal-binding-generator")
public interface BitmaskTwoByteValue
extends org.opendaylight.yangtools.binding.Grouping
This class represents the following YANG schema fragment defined in module bgp-flowspec
grouping bitmask-two-byte-value {
leaf op {
type bitmask-operand;
}
leaf value {
type uint16;
}
}
-
Method Summary
Modifier and TypeMethodDescriptiongetOp()Return op, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint16getValue()Return value, ornullif it is not present.default @NonNull BitmaskOperandReturn op, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint16Return value, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
getOp
BitmaskOperand getOp()Return op, ornullif it is not present.- Returns:
BitmaskOperandop, ornullif it is not present.
-
requireOp
Return op, guaranteed to be non-null.- Returns:
BitmaskOperandop, guaranteed to be non-null.- Throws:
NoSuchElementException- if op is not present
-
getValue
org.opendaylight.yangtools.yang.common.Uint16 getValue()Return value, ornullif it is not present.- Returns:
Uint16value, ornullif it is not present.
-
requireValue
default @NonNull org.opendaylight.yangtools.yang.common.Uint16 requireValue()Return value, guaranteed to be non-null.- Returns:
Uint16value, guaranteed to be non-null.- Throws:
NoSuchElementException- if value is not present
-