Interface LabelSet

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject

    public interface LabelSet
    extends org.opendaylight.yangtools.yang.binding.DataObject

    This class represents the following YANG schema fragment defined in module rsvp

     grouping label-set {
       leaf action {
         type enumeration {
           enum inclusive-list {
             value 0;
           }
           enum exclusive-list {
             value 1;
           }
           enum inclusive-range {
             value 2;
           }
           enum exclusive-range {
             value 3;
           }
         }
       }
       container label-type;
       list subchannels;
     }
     
    The schema path to identify an instance is rsvp/label-set
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

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

        LabelSet.Action getAction()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.rsvp.rev150820.LabelSet.Action action, or null if not present
      • getLabelType

        LabelType getLabelType()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.rsvp.rev150820.label.set.LabelType labelType, or null if not present
      • getSubchannels

        @Nullable List<Subchannels> getSubchannels()
        Returns:
        java.util.List subchannels, or null if not present
      • nonnullSubchannels

        default @NonNull List<Subchannels> nonnullSubchannels()
        Returns:
        java.util.List subchannels, or an empty list if it is not present