-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
issue #3437 fix remote index processing for new logical_resource_iden…
…t recs Signed-off-by: Robin Arnold <robin.arnold@ibm.com>
- Loading branch information
1 parent
8c5cc75
commit ca0bfa0
Showing
9 changed files
with
164 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
fhir-remote-index/src/main/java/com/ibm/fhir/remote/index/database/ResourceTypeValue.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
/* | ||
* (C) Copyright IBM Corp. 2022 | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
package com.ibm.fhir.remote.index.database; | ||
|
||
|
||
/** | ||
* A DTO representing a record from the resource_types table | ||
*/ | ||
public class ResourceTypeValue { | ||
private final String resourceType; | ||
private final int resourceTypeId; | ||
|
||
/** | ||
* Canonical constructor | ||
* @param resourceType | ||
* @param resourceTypeId | ||
*/ | ||
public ResourceTypeValue(String resourceType, int resourceTypeId) { | ||
this.resourceType = resourceType; | ||
this.resourceTypeId = resourceTypeId; | ||
} | ||
|
||
|
||
/** | ||
* @return the resourceType | ||
*/ | ||
public String getResourceType() { | ||
return resourceType; | ||
} | ||
|
||
|
||
/** | ||
* @return the resourceTypeId | ||
*/ | ||
public int getResourceTypeId() { | ||
return resourceTypeId; | ||
} | ||
} |