@ Override public boolean applyCardinality ( String inputKey , Object input , WalkedPath walkedPath , Object parentContainer ) { MatchedElement thisLevel = getMatch ( inputKey , walkedPath ) ; if ( thisLevel == null ) { return false ; } performCardinalityAdjustment ( inputKey , input , walkedPath , ( Map ) parentContainer , thisLevel ) ; return true ; }
If this CardinalitySpec matches the inputkey then do the work of modifying the data and return true .