/** * Transfer elements common to both operations and models * * @param fromModel * @param toModel */ void populate(ModelNode fromModel, ModelNode toModel) throws OperationFailedException { CommonAttributes.START.validateAndSet(fromModel, toModel); CommonAttributes.BATCHING.validateAndSet(fromModel, toModel); CommonAttributes.INDEXING.validateAndSet(fromModel, toModel); CommonAttributes.JNDI_NAME.validateAndSet(fromModel, toModel); CommonAttributes.CACHE_MODULE.validateAndSet(fromModel, toModel); CommonAttributes.INDEXING_PROPERTIES.validateAndSet(fromModel, toModel); }