Interface Xro

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<Xro>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<ExcludeRouteObject>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, Object, ObjectHeader

    public interface Xro
    extends org.opendaylight.yangtools.yang.binding.ChildOf<ExcludeRouteObject>, org.opendaylight.yangtools.yang.binding.Augmentable<Xro>, Object

    This class represents the following YANG schema fragment defined in module pcep-types

     container xro {
       uses object;
       leaf flags {
         type bits {
           bit fail {
             position 31;
           }
         }
       }
       list subobject {
         uses rsvp:exclude-route-subobjects;
         ordered-by user;
       }
     }
     
    The schema path to identify an instance is pcep-types/exclude-route-object/xro

    To create instances of this class use XroBuilder.

    See Also:
    XroBuilder
    • Field Detail

      • QNAME

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

      • implementedInterface

        default Class<Xro> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
        Specified by:
        implementedInterface in interface Object
        Specified by:
        implementedInterface in interface ObjectHeader
      • getFlags

        @Nullable Xro.Flags getFlags()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.exclude.route.object.Xro.Flags flags, or null if not present
      • getSubobject

        @Nullable List<Subobject> getSubobject()
        Returns:
        java.util.List subobject, or null if not present
      • nonnullSubobject

        default @NonNull List<Subobject> nonnullSubobject()
        Returns:
        java.util.List subobject, or an empty list if it is not present