Interface Lsp

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

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

    This class represents the following YANG schema fragment defined in module odl-pcep-ietf-stateful

     container lsp {
       uses pcep:object;
       container tlvs {
         uses lsp-error-code-tlv;
         uses lsp-identifiers-tlv;
         uses rsvp-error-spec-tlv;
         uses symbolic-path-name-tlv;
         uses pcep:vs-tlv;
         uses pcep:vendor-information-tlvs;
         uses path-binding-tlv;
       }
       leaf plsp-id {
         type plsp-id;
       }
       leaf delegate {
         type boolean;
         default false;
       }
       leaf sync {
         type boolean;
         default false;
       }
       leaf remove {
         type boolean;
         default false;
       }
       leaf administrative {
         type boolean;
         default false;
       }
       leaf operational {
         type operational-status;
       }
     }
     
    The schema path to identify an instance is odl-pcep-ietf-stateful/lsp-object/lsp

    To create instances of this class use LspBuilder.

    See Also:
    LspBuilder
    • Field Detail

      • QNAME

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

      • implementedInterface

        default Class<Lsp> 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 Lsp 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 Lsp 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 Lsp 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.ietf.stateful.rev200720.lsp.object.lsp.Tlvs tlvs, or null if it is not present.
      • getPlspId

        PlspId getPlspId()
        Return plspId, or null if it is not present.
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.ietf.stateful.rev200720.PlspId plspId, or null if it is not present.
      • getDelegate

        Boolean getDelegate()
        Return delegate, or null if it is not present.
        Returns:
        java.lang.Boolean delegate, or null if it is not present.
      • isDelegate

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

        Boolean getSync()
        Return sync, or null if it is not present.
        Returns:
        java.lang.Boolean sync, or null if it is not present.
      • isSync

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

        Boolean getRemove()
        Return remove, or null if it is not present.
        Returns:
        java.lang.Boolean remove, or null if it is not present.
      • isRemove

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

        Boolean getAdministrative()
        Return administrative, or null if it is not present.
        Returns:
        java.lang.Boolean administrative, or null if it is not present.
      • isAdministrative

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

        OperationalStatus getOperational()
        Return operational, or null if it is not present.
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.ietf.stateful.rev200720.OperationalStatus operational, or null if it is not present.