Interface Ordered
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.DataContainer,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
Action,Instruction,TableFeatureProperties
@Generated("mdsal-binding-generator") public interface Ordered extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module opendaylight-action-types
grouping ordered { leaf order { type int32; } }
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QNameQNAMEYANG identifier of the statement represented by this class.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description IntegergetOrder()Return order, ornullif it is not present.Class<? extends Ordered>implementedInterface()default @NonNull IntegerrequireOrder()Return order, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends Ordered> implementedInterface()
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataContainer- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getOrder
Integer getOrder()
Return order, ornullif it is not present.- Returns:
Integerorder, ornullif it is not present.
-
requireOrder
default @NonNull Integer requireOrder()
Return order, guaranteed to be non-null.- Returns:
Integerorder, guaranteed to be non-null.- Throws:
NoSuchElementException- if order is not present
-
-