Class MatchEthernetType

  • All Implemented Interfaces:
    MatchInfoBase

    public class MatchEthernetType
    extends MatchInfoHelper<org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.match.EthernetMatch,​org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.match.EthernetMatchBuilder>
    Ethernet type match.
    • Constructor Detail

      • MatchEthernetType

        public MatchEthernetType​(long type)
    • 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.EthernetMatch value)
        Specified by:
        applyValue in class MatchInfoHelper<org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.match.EthernetMatch,​org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.match.EthernetMatchBuilder>
      • populateBuilder

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

        public long getType()
      • 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.EthernetMatch,​org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.match.EthernetMatchBuilder>
      • hashCode

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

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