Interface Rp

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

    @Generated("mdsal-binding-generator")
    public interface Rp
    extends org.opendaylight.yangtools.yang.binding.ChildOf<RpObject>, org.opendaylight.yangtools.yang.binding.Augmentable<Rp>, Object

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

     container rp {
       uses object;
       container tlvs {
         uses order-tlv;
         uses vendor-information-tlvs;
         uses path-setup-type-tlv;
       }
       leaf priority {
         type uint8 {
           range 1..7;
         }
       }
       leaf request-id {
         type request-id;
       }
       leaf reoptimization {
         type boolean;
         default false;
       }
       leaf bi-directional {
         type boolean;
         default false;
       }
       leaf loose {
         type boolean;
         default false;
       }
       leaf path-key {
         type boolean;
         default false;
       }
       leaf fragmentation {
         type boolean;
         default false;
       }
       leaf p2mp {
         type boolean;
         default false;
       }
       leaf ero-compression {
         type boolean;
         default false;
       }
       leaf supply-of {
         type boolean;
         default false;
       }
       leaf order {
         type boolean;
         default false;
       }
       leaf make-before-break {
         type boolean;
         default false;
       }
     }
     
    The schema path to identify an instance is pcep-types/rp-object/rp

    To create instances of this class use RpBuilder.

    See Also:
    RpBuilder
    • Field Detail

      • QNAME

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

      • implementedInterface

        default Class<Rp> 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
      • bindingHashCode

        static int bindingHashCode​(@NonNull Rp obj)
        Default implementation of Object.hashCode() contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent hashing results across all implementations.
        Parameters:
        obj - Object for which to generate hashCode() result.
        Returns:
        Hash code value of data modeled by this interface.
        Throws:
        NullPointerException - if obj is null
      • bindingEquals

        static boolean bindingEquals​(@NonNull Rp thisObj,
                                     Object obj)
        Default implementation of Object.equals(java.lang.Object) contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent equality results across all implementations.
        Parameters:
        thisObj - Object acting as the receiver of equals invocation
        obj - Object acting as argument to equals invocation
        Returns:
        True if thisObj and obj are considered equal
        Throws:
        NullPointerException - if thisObj is null
      • bindingToString

        static String bindingToString​(@NonNull Rp obj)
        Default implementation of Object.toString() contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent string representations across all implementations.
        Parameters:
        obj - Object for which to generate toString() result.
        Returns:
        String value of data modeled by this interface.
        Throws:
        NullPointerException - if obj is null
      • getTlvs

        Tlvs getTlvs()
        Return tlvs, or null if it is not present.
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.rp.object.rp.Tlvs tlvs, or null if it is not present.
      • getPriority

        org.opendaylight.yangtools.yang.common.Uint8 getPriority()
        Return priority, or null if it is not present.
        Returns:
        org.opendaylight.yangtools.yang.common.Uint8 priority, or null if it is not present.
      • getRequestId

        RequestId getRequestId()
        Return requestId, or null if it is not present.
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.RequestId requestId, or null if it is not present.
      • getReoptimization

        Boolean getReoptimization()
        Return reoptimization, or null if it is not present.
        Returns:
        java.lang.Boolean reoptimization, or null if it is not present.
      • isReoptimization

        @Deprecated(forRemoval=true)
        default Boolean isReoptimization()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getBiDirectional

        Boolean getBiDirectional()
        Return biDirectional, or null if it is not present.
        Returns:
        java.lang.Boolean biDirectional, or null if it is not present.
      • isBiDirectional

        @Deprecated(forRemoval=true)
        default Boolean isBiDirectional()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getLoose

        Boolean getLoose()
        Return loose, or null if it is not present.
        Returns:
        java.lang.Boolean loose, or null if it is not present.
      • isLoose

        @Deprecated(forRemoval=true)
        default Boolean isLoose()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getPathKey

        Boolean getPathKey()
        Return pathKey, or null if it is not present.
        Returns:
        java.lang.Boolean pathKey, or null if it is not present.
      • isPathKey

        @Deprecated(forRemoval=true)
        default Boolean isPathKey()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getFragmentation

        Boolean getFragmentation()
        Return fragmentation, or null if it is not present.
        Returns:
        java.lang.Boolean fragmentation, or null if it is not present.
      • isFragmentation

        @Deprecated(forRemoval=true)
        default Boolean isFragmentation()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getP2mp

        Boolean getP2mp()
        Return p2mp, or null if it is not present.
        Returns:
        java.lang.Boolean p2mp, or null if it is not present.
      • isP2mp

        @Deprecated(forRemoval=true)
        default Boolean isP2mp()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getEroCompression

        Boolean getEroCompression()
        Return eroCompression, or null if it is not present.
        Returns:
        java.lang.Boolean eroCompression, or null if it is not present.
      • isEroCompression

        @Deprecated(forRemoval=true)
        default Boolean isEroCompression()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getSupplyOf

        Boolean getSupplyOf()
        Return supplyOf, or null if it is not present.
        Returns:
        java.lang.Boolean supplyOf, or null if it is not present.
      • isSupplyOf

        @Deprecated(forRemoval=true)
        default Boolean isSupplyOf()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getOrder

        Boolean getOrder()
        Return order, or null if it is not present.
        Returns:
        java.lang.Boolean order, or null if it is not present.
      • isOrder

        @Deprecated(forRemoval=true)
        default Boolean isOrder()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getMakeBeforeBreak

        Boolean getMakeBeforeBreak()
        Return makeBeforeBreak, or null if it is not present.
        Returns:
        java.lang.Boolean makeBeforeBreak, or null if it is not present.
      • isMakeBeforeBreak

        @Deprecated(forRemoval=true)
        default Boolean isMakeBeforeBreak()
        Deprecated, for removal: This API element is subject to removal in a future version.