All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinispan.query.dsl.impl.ParameterExpression Maven / Gradle / Ivy

There is a newer version: 9.1.7.Final
Show newest version
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