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 Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
        YANG identifier of the statement represented by this class.
    • Method Detail

      • implementedInterface

        Class<? extends Ordered> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getOrder

        Integer getOrder()
        Return order, or null if it is not present.
        Returns:
        Integer order, or null if it is not present.
      • requireOrder

        default @NonNull Integer requireOrder()
        Return order, guaranteed to be non-null.
        Returns:
        Integer order, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if order is not present