package +zoccolo+.jpa; import javax.persistence.metamodel.SingularAttribute; public class SingularParameter implements SearchParameter { private final String name; private final T value; private final Class type; public SingularParameter(SingularAttribute sa, T value) { this.name = sa.getName(); this.value = value; this.type = sa.getJavaType(); } public String getName() { return name; } public T getValue() { return value; } public Class getType() { return type; } }