public class CardinalityLeafSpec extends CardinalitySpec
| Modifier and Type | Class and Description |
|---|---|
static class |
CardinalityLeafSpec.CardinalityRelationship |
pathElement| Constructor and Description |
|---|
CardinalityLeafSpec(String rawKey,
Object rhs) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
applyCardinality(String inputKey,
Object input,
WalkedPath walkedPath,
Object parentContainer)
If this CardinalitySpec matches the inputkey, then do the work of modifying the data and return true.
|
Object |
applyToParentContainer(String inputKey,
Object input,
WalkedPath walkedPath,
Object parentContainer)
This should only be used by composite specs with an '@' child
|
apply, getPathElement, parsepublic boolean applyCardinality(String inputKey, Object input, WalkedPath walkedPath, Object parentContainer)
applyCardinality in class CardinalitySpecpublic Object applyToParentContainer(String inputKey, Object input, WalkedPath walkedPath, Object parentContainer)
Copyright © 2023. All rights reserved.