Skip to content

Commit

Permalink
Merge pull request #173 from MeasureAuthoringTool/develop
Browse files Browse the repository at this point in the history
0.6.8 Final
  • Loading branch information
gregory-akins authored Oct 17, 2023
2 parents 9d4a4af + db9486e commit e31c005
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>gov.cms.madie</groupId>
<artifactId>madie-java-models</artifactId>
<version>0.6.7</version>
<version>0.6.8</version>
<name>madie-java-models</name>
<description>Java based models for MADiE microservices</description>
<properties>
Expand Down
21 changes: 21 additions & 0 deletions src/main/java/gov/cms/madie/models/common/BundleType.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
package gov.cms.madie.models.common;

public enum BundleType {
TRANSACTION("transaction"),
COLLECTION("collection");

private final String bundleType;

private BundleType(String s) {
bundleType = s;
}

public boolean equalsType(String otherType) {
return bundleType.equals(otherType);
}

public String toString() {
return this.bundleType;
}
}

5 changes: 3 additions & 2 deletions src/main/java/gov/cms/madie/models/dto/ExportDTO.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package gov.cms.madie.models.dto;

import gov.cms.madie.models.measure.Measure;
import gov.cms.madie.models.common.BundleType;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
Expand All @@ -13,8 +14,8 @@
@NoArgsConstructor
@AllArgsConstructor
public class ExportDTO {

private Measure measure;

private List<String> testCaseIds;
private BundleType bundleType ;
}

0 comments on commit e31c005

Please sign in to comment.