Interface TerminationPointEvent

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<TerminationPointEvent>, org.opendaylight.yangtools.yang.binding.BaseNotification, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, IgpTerminationPointAttributes, L3UnicastIgpTopologyType, org.opendaylight.yangtools.yang.binding.Notification<TerminationPointEvent>, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.TpAttributes

    @Generated("mdsal-binding-generator")
    public interface TerminationPointEvent
    extends org.opendaylight.yangtools.yang.binding.DataObject, org.opendaylight.yangtools.yang.binding.Notification<TerminationPointEvent>, org.opendaylight.yangtools.yang.binding.Augmentable<TerminationPointEvent>, L3UnicastIgpTopologyType, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.TpAttributes, IgpTerminationPointAttributes

    This class represents the following YANG schema fragment defined in module l3-unicast-igp-topology

     notification termination-point-event {
       leaf igp-event-type {
         type igp-event-type;
       }
       leaf topology-ref {
         type nt:topology-ref;
       }
       leaf node-ref {
         type nt:node-ref;
       }
       uses l3-unicast-igp-topology-type;
       uses nt:tp-attributes;
       uses igp-termination-point-attributes;
     }
     

    To create instances of this class use TerminationPointEventBuilder.

    See Also:
    TerminationPointEventBuilder
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
        YANG identifier of the statement represented by this class.
    • Method Detail

      • implementedInterface

        default Class<TerminationPointEvent> 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 IgpTerminationPointAttributes
        Specified by:
        implementedInterface in interface L3UnicastIgpTopologyType
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.Notification<TerminationPointEvent>
        Specified by:
        implementedInterface in interface org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.TpAttributes
      • bindingHashCode

        static int bindingHashCode​(@NonNull TerminationPointEvent 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 TerminationPointEvent thisObj,
                                     Object obj)
        Default implementation of Object.equals(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 TerminationPointEvent 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
      • getIgpEventType

        IgpEventType getIgpEventType()
        Return igpEventType, or null if it is not present.
        Returns:
        IgpEventType igpEventType, or null if it is not present.
      • requireIgpEventType

        default @NonNull IgpEventType requireIgpEventType()
        Return igpEventType, guaranteed to be non-null.
        Returns:
        IgpEventType igpEventType, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if igpEventType is not present
      • getTopologyRef

        org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.TopologyId getTopologyRef()
        Return topologyRef, or null if it is not present.
        Returns:
        TopologyId topologyRef, or null if it is not present.
      • requireTopologyRef

        default @NonNull org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.TopologyId requireTopologyRef()
        Return topologyRef, guaranteed to be non-null.
        Returns:
        TopologyId topologyRef, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if topologyRef is not present
      • getNodeRef

        org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId getNodeRef()
        Return nodeRef, or null if it is not present.
        Returns:
        NodeId nodeRef, or null if it is not present.
      • requireNodeRef

        default @NonNull org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId requireNodeRef()
        Return nodeRef, guaranteed to be non-null.
        Returns:
        NodeId nodeRef, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if nodeRef is not present