test_class.declarator: validator
test_class.modifier: private
test_class.original_string: private LocalValidatorFactoryBean validator;
test_class.type: LocalValidatorFactoryBean
test_class.var_name: validator
test_class.file: dataprep-backend-service/src/test/java/org/talend/dataprep/transformation/aggregation/api/AggregationParametersTest.java
test_class.identifier: AggregationParametersTest
test_case.body: @Test
      public void invalidParametersPreparationIdNoOperations() {
          // given parameters with a preparation preparation id
          AggregationParameters parameters = new AggregationParameters();
          parameters.setPreparationId("prep#1234");
  
          // when
          Set<ConstraintViolation<AggregationParameters>> constraintViolations = validator.validate(parameters);
  
          // then 2 violations (operations and groupBy are empty)
          Assert.assertEquals(2, constraintViolations.size());
      }
test_case.class_method_signature: AggregationParametersTest.invalidParametersPreparationIdNoOperations()
test_case.full_signature: @Test public void invalidParametersPreparationIdNoOperations()
test_case.identifier: invalidParametersPreparationIdNoOperations
test_case.invocations: setPreparationId validate assertEquals size
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void invalidParametersPreparationIdNoOperations()
focal_class.declarator: datasetId
focal_class.modifier: private
focal_class.original_string: private String datasetId;
focal_class.type: String
focal_class.var_name: datasetId
focal_class.declarator: preparationId
focal_class.modifier: private
focal_class.original_string: private String preparationId;
focal_class.type: String
focal_class.var_name: preparationId
focal_class.declarator: stepId = "head"
focal_class.modifier: private
focal_class.original_string: private String stepId = "head";
focal_class.type: String
focal_class.var_name: stepId
focal_class.declarator: groupBy
focal_class.modifier: @NotEmpty
      private
focal_class.original_string: @NotEmpty
      private List<String> groupBy;
focal_class.type: List<String>
focal_class.var_name: groupBy
focal_class.declarator: operations
focal_class.modifier: @NotEmpty
      private
focal_class.original_string: @NotEmpty
      private List<AggregationOperation> operations;
focal_class.type: List<AggregationOperation>
focal_class.var_name: operations
focal_class.declarator: filter
focal_class.modifier: private
focal_class.original_string: private String filter;
focal_class.type: String
focal_class.var_name: filter
focal_class.declarator: sampleSize
focal_class.modifier: private
focal_class.original_string: private String sampleSize;
focal_class.type: String
focal_class.var_name: sampleSize
focal_class.file: dataprep-backend-service/src/main/java/org/talend/dataprep/transformation/aggregation/api/AggregationParameters.java
focal_class.identifier: AggregationParameters
focal_class.class_method_signature: AggregationParameters.AggregationParameters()
focal_class.full_signature: public  AggregationParameters()
focal_class.identifier: AggregationParameters
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  AggregationParameters()
focal_class.class_method_signature: AggregationParameters.getDatasetId()
focal_class.full_signature: public String getDatasetId()
focal_class.identifier: getDatasetId
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getDatasetId()
focal_class.class_method_signature: AggregationParameters.setDatasetId(String datasetId)
focal_class.full_signature: public void setDatasetId(String datasetId)
focal_class.identifier: setDatasetId
focal_class.modifiers: public
focal_class.parameters: (String datasetId)
focal_class.return: void
focal_class.signature: void setDatasetId(String datasetId)
focal_class.class_method_signature: AggregationParameters.getPreparationId()
focal_class.full_signature: public String getPreparationId()
focal_class.identifier: getPreparationId
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getPreparationId()
focal_class.class_method_signature: AggregationParameters.setPreparationId(String preparationId)
focal_class.full_signature: public void setPreparationId(String preparationId)
focal_class.identifier: setPreparationId
focal_class.modifiers: public
focal_class.parameters: (String preparationId)
focal_class.return: void
focal_class.signature: void setPreparationId(String preparationId)
focal_class.class_method_signature: AggregationParameters.getStepId()
focal_class.full_signature: public String getStepId()
focal_class.identifier: getStepId
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getStepId()
focal_class.class_method_signature: AggregationParameters.setStepId(String stepId)
focal_class.full_signature: public void setStepId(String stepId)
focal_class.identifier: setStepId
focal_class.modifiers: public
focal_class.parameters: (String stepId)
focal_class.return: void
focal_class.signature: void setStepId(String stepId)
focal_class.class_method_signature: AggregationParameters.getGroupBy()
focal_class.full_signature: public List<String> getGroupBy()
focal_class.identifier: getGroupBy
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<String>
focal_class.signature: List<String> getGroupBy()
focal_class.class_method_signature: AggregationParameters.setGroupBy(List<String> groupBy)
focal_class.full_signature: public void setGroupBy(List<String> groupBy)
focal_class.identifier: setGroupBy
focal_class.modifiers: public
focal_class.parameters: (List<String> groupBy)
focal_class.return: void
focal_class.signature: void setGroupBy(List<String> groupBy)
focal_class.class_method_signature: AggregationParameters.addGroupBy(String groupBy)
focal_class.full_signature: public void addGroupBy(String groupBy)
focal_class.identifier: addGroupBy
focal_class.modifiers: public
focal_class.parameters: (String groupBy)
focal_class.return: void
focal_class.signature: void addGroupBy(String groupBy)
focal_class.class_method_signature: AggregationParameters.getFilter()
focal_class.full_signature: public String getFilter()
focal_class.identifier: getFilter
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getFilter()
focal_class.class_method_signature: AggregationParameters.setFilter(String filter)
focal_class.full_signature: public void setFilter(String filter)
focal_class.identifier: setFilter
focal_class.modifiers: public
focal_class.parameters: (String filter)
focal_class.return: void
focal_class.signature: void setFilter(String filter)
focal_class.class_method_signature: AggregationParameters.getOperations()
focal_class.full_signature: public List<AggregationOperation> getOperations()
focal_class.identifier: getOperations
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<AggregationOperation>
focal_class.signature: List<AggregationOperation> getOperations()
focal_class.class_method_signature: AggregationParameters.setOperations(List<AggregationOperation> operations)
focal_class.full_signature: public void setOperations(List<AggregationOperation> operations)
focal_class.identifier: setOperations
focal_class.modifiers: public
focal_class.parameters: (List<AggregationOperation> operations)
focal_class.return: void
focal_class.signature: void setOperations(List<AggregationOperation> operations)
focal_class.class_method_signature: AggregationParameters.addOperation(AggregationOperation operation)
focal_class.full_signature: public void addOperation(AggregationOperation operation)
focal_class.identifier: addOperation
focal_class.modifiers: public
focal_class.parameters: (AggregationOperation operation)
focal_class.return: void
focal_class.signature: void addOperation(AggregationOperation operation)
focal_class.class_method_signature: AggregationParameters.getSampleSize()
focal_class.full_signature: public Long getSampleSize()
focal_class.identifier: getSampleSize
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Long
focal_class.signature: Long getSampleSize()
focal_class.class_method_signature: AggregationParameters.setSampleSize(String sampleSize)
focal_class.full_signature: public void setSampleSize(String sampleSize)
focal_class.identifier: setSampleSize
focal_class.modifiers: public
focal_class.parameters: (String sampleSize)
focal_class.return: void
focal_class.signature: void setSampleSize(String sampleSize)
focal_class.class_method_signature: AggregationParameters.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_method.body: public void setPreparationId(String preparationId) {
          this.preparationId = preparationId;
      }
focal_method.class_method_signature: AggregationParameters.setPreparationId(String preparationId)
focal_method.full_signature: public void setPreparationId(String preparationId)
focal_method.identifier: setPreparationId
focal_method.modifiers: public
focal_method.parameters: (String preparationId)
focal_method.return: void
focal_method.signature: void setPreparationId(String preparationId)