Source:
<code>public static void buildTransformation(ModelVersion version, ResourceTransformationDescriptionBuilder parent) { if (InfinispanModel.VERSION_7_0_0.requiresTransformation(version)) { parent.rejectChildResource(RemoteCacheContainerResourceDefinition.WILDCARD_PATH); } else { ResourceTransformationDescriptionBuilder builder = parent.addChildResource(RemoteCacheContainerResourceDefinition.WILDCARD_PATH); if (InfinispanModel.VERSION_13_0_0.requiresTransformation(version)) { builder.getAttributeBuilder() <START> .setDiscard(new DiscardAttributeValueChecker(false, true, ModelNode.FALSE), Attribute.PROPERTIES.getDefinition()) <END> .addRejectCheck(RejectAttributeChecker.DEFINED, Attribute.PROPERTIES.getDefinition()) .end(); } if (InfinispanModel.VERSION_12_0_0.requiresTransformation(version)) { builder.getAttributeBuilder().setValueConverter(AttributeConverter.DEFAULT_VALUE, Attribute.PROTOCOL_VERSION.getName()); } if (InfinispanModel.VERSION_11_0_0.requiresTransformation(version)) { builder.getAttributeBuilder() .setDiscard(new DiscardAttributeValueChecker(false, true, ModelNode.FALSE), Attribute.STATISTICS_ENABLED.getDefinition()) .addRejectCheck(RejectAttributeChecker.DEFINED, Attribute.STATISTICS_ENABLED.getDefinition()) .end(); } RemoteCacheContainerMetric.buildTransformation(version, builder); ConnectionPoolResourceDefinition.buildTransformation(version, builder); SecurityResourceDefinition.buildTransformation(version, builder); RemoteTransactionResourceDefinition.buildTransformation(version, builder); NoNearCacheResourceDefinition.buildTransformation(version, builder); InvalidationNearCacheResourceDefinition.buildTransformation(version, builder); RemoteClusterResourceDefinition.buildTransformation(version, builder); ThreadPoolResourceDefinition.CLIENT.buildTransformation(builder, version); RemoteCacheResourceDefinition.buildTransformation(version, builder); } }</code><technical_language>this is a map attribute, is this FALSE? DiscarcAttributeChecker.UNDEFINED</technical_language>

Target:
public static void buildTransformation(ModelVersion version, ResourceTransformationDescriptionBuilder parent) { if (InfinispanModel.VERSION_7_0_0.requiresTransformation(version)) { parent.rejectChildResource(RemoteCacheContainerResourceDefinition.WILDCARD_PATH); } else { ResourceTransformationDescriptionBuilder builder = parent.addChildResource(RemoteCacheContainerResourceDefinition.WILDCARD_PATH); if (InfinispanModel.VERSION_13_0_0.requiresTransformation(version)) { builder.getAttributeBuilder() .setDiscard(DiscardAttributeChecker.UNDEFINED, Attribute.PROPERTIES.getDefinition()) .addRejectCheck(RejectAttributeChecker.DEFINED, Attribute.PROPERTIES.getDefinition()) .end(); } if (InfinispanModel.VERSION_12_0_0.requiresTransformation(version)) { builder.getAttributeBuilder().setValueConverter(AttributeConverter.DEFAULT_VALUE, Attribute.PROTOCOL_VERSION.getName()); } if (InfinispanModel.VERSION_11_0_0.requiresTransformation(version)) { builder.getAttributeBuilder() .setDiscard(new DiscardAttributeValueChecker(false, true, ModelNode.FALSE), Attribute.STATISTICS_ENABLED.getDefinition()) .addRejectCheck(RejectAttributeChecker.DEFINED, Attribute.STATISTICS_ENABLED.getDefinition()) .end(); } RemoteCacheContainerMetric.buildTransformation(version, builder); ConnectionPoolResourceDefinition.buildTransformation(version, builder); SecurityResourceDefinition.buildTransformation(version, builder); RemoteTransactionResourceDefinition.buildTransformation(version, builder); NoNearCacheResourceDefinition.buildTransformation(version, builder); InvalidationNearCacheResourceDefinition.buildTransformation(version, builder); RemoteClusterResourceDefinition.buildTransformation(version, builder); ThreadPoolResourceDefinition.CLIENT.buildTransformation(builder, version); RemoteCacheResourceDefinition.buildTransformation(version, builder); } }