Interface SctpMatchFields

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:
    SctpMatch

    @Generated("mdsal-binding-generator")
    public interface SctpMatchFields
    extends org.opendaylight.yangtools.yang.binding.DataObject

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

     grouping sctp-match-fields {
       leaf sctp-source-port {
         type inet:port-number;
       }
       leaf sctp-destination-port {
         type inet:port-number;
       }
     }
     
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
      YANG identifier of the statement represented by this class.
    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber getSctpDestinationPort()
      Return sctpDestinationPort, or null if it is not present.
      org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber getSctpSourcePort()
      Return sctpSourcePort, or null if it is not present.
      Class<? extends SctpMatchFields> implementedInterface()  
      default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber requireSctpDestinationPort()
      Return sctpDestinationPort, guaranteed to be non-null.
      default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber requireSctpSourcePort()
      Return sctpSourcePort, guaranteed to be non-null.
    • 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

        Class<? extends SctpMatchFields> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getSctpSourcePort

        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber getSctpSourcePort()
        Return sctpSourcePort, or null if it is not present.
             
                 SCTP source port.
             
         
        Returns:
        PortNumber sctpSourcePort, or null if it is not present.
      • requireSctpSourcePort

        default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber requireSctpSourcePort()
        Return sctpSourcePort, guaranteed to be non-null.
             
                 SCTP source port.
             
         
        Returns:
        PortNumber sctpSourcePort, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if sctpSourcePort is not present
      • getSctpDestinationPort

        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber getSctpDestinationPort()
        Return sctpDestinationPort, or null if it is not present.
             
                 SCTP destination port.
             
         
        Returns:
        PortNumber sctpDestinationPort, or null if it is not present.
      • requireSctpDestinationPort

        default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber requireSctpDestinationPort()
        Return sctpDestinationPort, guaranteed to be non-null.
             
                 SCTP destination port.
             
         
        Returns:
        PortNumber sctpDestinationPort, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if sctpDestinationPort is not present