ISE-ComProg-After-Midterm/screwdriver-3.5.6/box/snippets/java/jpa2/StringParameter.java

27 lines
406 B
Java
Raw Permalink Normal View History

2020-10-29 09:38:56 +00:00
package +zoccolo+.jpa;
public class StringParameter implements SearchParameter<String> {
private final String name;
private final String value;
public StringParameter(String name, String value) {
this.name = name;
this.value = value;
}
public String getName() {
return name;
}
public String getValue() {
return value;
}
public Class<String> getType() {
return String.class;
}
}