Class EricMatchInfoHelper<T extends org.opendaylight.yangtools.yang.binding.DataObject,B extends org.opendaylight.yangtools.concepts.Builder<T>>
- java.lang.Object
-
- org.opendaylight.genius.mdsalutil.MatchInfo
-
- org.opendaylight.genius.mdsalutil.ericmatches.EricMatchInfoHelper<T,B>
-
- All Implemented Interfaces:
MatchInfoBase
- Direct Known Subclasses:
MatchNdOptionType
public abstract class EricMatchInfoHelper<T extends org.opendaylight.yangtools.yang.binding.DataObject,B extends org.opendaylight.yangtools.concepts.Builder<T>> extends MatchInfo
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
EricMatchInfoHelper(java.lang.Class<? extends org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.general.rev140714.ExtensionKey> keyClass)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract void
applyValue(org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.eric.match.rev180730.EricAugMatchNodesNodeTableFlowBuilder matchBuilder, T value)
void
createInnerMatchBuilder(java.util.Map<java.lang.Class<?>,java.lang.Object> mapMatchBuilder)
Creater the inner match object.boolean
equals(java.lang.Object other)
int
hashCode()
protected abstract void
populateBuilder(B builder)
void
setMatch(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder matchBuilder, java.util.Map<java.lang.Class<?>,java.lang.Object> mapMatchBuilder)
Set the match to the match builder.
-
-
-
Method Detail
-
createInnerMatchBuilder
public void createInnerMatchBuilder(java.util.Map<java.lang.Class<?>,java.lang.Object> mapMatchBuilder)
Description copied from interface:MatchInfoBase
Creater the inner match object.- Parameters:
mapMatchBuilder
- the map which holds the matches.
-
setMatch
public void setMatch(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder matchBuilder, java.util.Map<java.lang.Class<?>,java.lang.Object> mapMatchBuilder)
Description copied from interface:MatchInfoBase
Set the match to the match builder.- Parameters:
matchBuilder
- the matchbuilder to set the matchmapMatchBuilder
- the map containing the matches
-
applyValue
protected abstract void applyValue(org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.eric.match.rev180730.EricAugMatchNodesNodeTableFlowBuilder matchBuilder, T value)
-
populateBuilder
protected abstract void populateBuilder(B builder)
-
-