Class MatchEthernetSource
- java.lang.Object
-
- org.opendaylight.genius.mdsalutil.MatchInfo
-
- org.opendaylight.genius.mdsalutil.matches.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>
-
- org.opendaylight.genius.mdsalutil.matches.MatchEthernetSource
-
- All Implemented Interfaces:
MatchInfoBase
public class MatchEthernetSource 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 source match.
-
-
Constructor Summary
Constructors Constructor Description MatchEthernetSource(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress address)
MatchEthernetSource(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress address, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress mask)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
boolean
equals(java.lang.Object other)
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress
getAddress()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress
getMask()
int
hashCode()
protected void
populateBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.match.EthernetMatchBuilder builder)
java.lang.String
toString()
-
Methods inherited from class org.opendaylight.genius.mdsalutil.matches.MatchInfoHelper
createInnerMatchBuilder, setMatch
-
-
-
-
Constructor Detail
-
MatchEthernetSource
public MatchEthernetSource(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress address)
-
MatchEthernetSource
public MatchEthernetSource(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress address, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress mask)
-
-
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 classMatchInfoHelper<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 classMatchInfoHelper<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>
-
getAddress
public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress getAddress()
-
getMask
public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress getMask()
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classMatchInfoHelper<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 classMatchInfoHelper<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>
-
-