com.ibm.fhir.persistence.jdbc.dto.StringParmVal Maven / Gradle / Ivy
/*
* (C) Copyright IBM Corp. 2017,2019
*
* SPDX-License-Identifier: Apache-2.0
*/
package com.ibm.fhir.persistence.jdbc.dto;
import com.ibm.fhir.persistence.exception.FHIRPersistenceException;
/**
* This class defines the Data Transfer Object representing a row in the X_STR_VALUES tables.
*/
public class StringParmVal implements ExtractedParameterValue {
private String resourceType;
private String name;
private String valueString;
// The SearchParameter base type. If "Resource", then this is a Resource-level attribute
private String base;
public StringParmVal() {
super();
}
public void setName(String name) {
this.name = name;
}
public String getName() {
return name;
}
public String getValueString() {
return valueString;
}
public void setValueString(String valueString) {
this.valueString = valueString;
}
public String getResourceType() {
return resourceType;
}
public void setResourceType(String resourceType) {
this.resourceType = resourceType;
}
/**
* We know our type, so we can call the correct method on the visitor
*/
public void accept(ExtractedParameterValueVisitor visitor) throws FHIRPersistenceException {
visitor.visit(this);
}
/**
* @return the base
*/
public String getBase() {
return base;
}
/**
* @param base the base to set
*/
public void setBase(String base) {
this.base = base;
}
}