Interface FragmentValue
- 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:
Fragments
@Generated("mdsal-binding-generator")
public interface FragmentValue
extends org.opendaylight.yangtools.binding.Grouping
This class represents the following YANG schema fragment defined in module bgp-flowspec
grouping fragment-value {
leaf op {
type bitmask-operand;
}
leaf value {
type fragment;
}
}
-
Method Summary
Modifier and TypeMethodDescriptiongetOp()Return op, ornullif it is not present.getValue()Return value, ornullif it is not present.default @NonNull BitmaskOperandReturn op, guaranteed to be non-null.default @NonNull FragmentReturn 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
Fragment getValue()Return value, ornullif it is not present.- Returns:
Fragmentvalue, ornullif it is not present.
-
requireValue
Return value, guaranteed to be non-null.- Returns:
Fragmentvalue, guaranteed to be non-null.- Throws:
NoSuchElementException- if value is not present
-