Interface FragmentCase

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<FragmentCase>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChoiceIn<Flowspec>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, FlowspecType

    public interface FragmentCase
    extends org.opendaylight.yangtools.yang.binding.DataObject, org.opendaylight.yangtools.yang.binding.Augmentable<FragmentCase>, FlowspecType

    This class represents the following YANG schema fragment defined in module bgp-flowspec

     case fragment-case {
       list fragments {
         uses fragment-value;
       }
     }
     
    The schema path to identify an instance is bgp-flowspec/flowspec-destination/flowspec/flowspec-type/fragment-case
    • Field Detail

      • QNAME

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

      • implementedInterface

        default Class<FragmentCase> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getFragments

        @Nullable List<Fragments> getFragments()
        Returns:
        java.util.List fragments, or null if not present
      • nonnullFragments

        default @NonNull List<Fragments> nonnullFragments()
        Returns:
        java.util.List fragments, or an empty list if it is not present