Class MatchIpProtocol

  • All Implemented Interfaces:
    MatchInfoBase

    public class MatchIpProtocol
    extends MatchInfoHelper<org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.match.IpMatch,​org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.match.IpMatchBuilder>
    IP protocol match.
    • Constructor Detail

      • MatchIpProtocol

        public MatchIpProtocol​(short protocol)
    • Method Detail

      • applyValue

        protected void applyValue​(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder matchBuilder,
                                  org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.match.IpMatch value)
        Specified by:
        applyValue in class MatchInfoHelper<org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.match.IpMatch,​org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.match.IpMatchBuilder>
      • populateBuilder

        protected void populateBuilder​(org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.match.IpMatchBuilder builder)
        Specified by:
        populateBuilder in class MatchInfoHelper<org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.match.IpMatch,​org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.match.IpMatchBuilder>
      • getProtocol

        public short getProtocol()
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class MatchInfoHelper<org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.match.IpMatch,​org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.match.IpMatchBuilder>
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class MatchInfoHelper<org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.match.IpMatch,​org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.match.IpMatchBuilder>
      • toString

        public java.lang.String toString()
        Specified by:
        toString in class MatchInfo