org.infinispan.query.dsl.impl.ParameterExpression Maven / Gradle / Ivy
package org.infinispan.query.dsl.impl;
import org.infinispan.query.dsl.Expression;
import org.infinispan.query.dsl.impl.logging.Log;
import org.jboss.logging.Logger;
/**
* @author [email protected]
* @since 8.0
*/
public final class ParameterExpression implements Expression {
private static final Log log = Logger.getMessageLogger(Log.class, ParameterExpression.class.getName());
private final String paramName;
public ParameterExpression(String paramName) {
if (paramName == null || paramName.isEmpty()) {
throw log.parameterNameCannotBeNulOrEmpty();
}
this.paramName = paramName;
}
public String getParamName() {
return paramName;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy