// Path: src/main/java/io/vertx/jdbcclient/impl/SqlOutParamImpl.java
// public class SqlOutParamImpl implements SqlOutParam {
// 
//   final Object value;
//   final int type;
//   final boolean in;
// 
//   public SqlOutParamImpl(Object value, int type) {
//     this.value = value;
//     this.type = type;
//     in = true;
//   }
// 
//   public SqlOutParamImpl(int type) {
//     this.value = null;
//     this.type = type;
//     in = false;
//   }
// 
//   @Override
//   public boolean in() {
//     return in;
//   }
// 
//   @Override
//   public int type() {
//     return type;
//   }
// 
//   @Override
//   public Object value() {
//     return value;
//   }
// }


import io.vertx.codegen.annotations.VertxGen;
import io.vertx.jdbcclient.impl.SqlOutParamImpl;
import java.sql.JDBCType;
/*
 * Copyright (c) 2011-2014 The original author or authors
 * ------------------------------------------------------
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * and Apache License v2.0 which accompanies this distribution.
 *
 *     The Eclipse Public License is available at
 *     http://www.eclipse.org/legal/epl-v10.html
 *
 *     The Apache License v2.0 is available at
 *     http://www.opensource.org/licenses/apache2.0.php
 *
 * You may elect to redistribute this code under either of these licenses.
 */
package io.vertx.jdbcclient;



/**
 * Tag if a parameter is of type OUT or INOUT.
 *
 * By default parameters are of type IN as they are provided by the user to the RDBMs engine. There are however cases
 * where these must be tagged as OUT/INOUT when dealing with stored procedures/functions or complex statements.
 *
 * This interface allows marking the type of the param as required by the JDBC API.
 */
@VertxGen
public interface SqlOutParam {

  /**
   * Factory for a OUT parameter of type {@code out}.
   * @param out the kind of the type according to JDBC types.
   * @return new marker
   */
  static SqlOutParam OUT(int out) {
// Path: src/main/java/io/vertx/jdbcclient/impl/SqlOutParamImpl.java
// public class SqlOutParamImpl implements SqlOutParam {
// 
//   final Object value;
//   final int type;
//   final boolean in;
// 
//   public SqlOutParamImpl(Object value, int type) {
//     this.value = value;
//     this.type = type;
//     in = true;
//   }
// 
//   public SqlOutParamImpl(int type) {
//     this.value = null;
//     this.type = type;
//     in = false;
//   }
// 
//   @Override
//   public boolean in() {
//     return in;
//   }
// 
//   @Override
//   public int type() {
//     return type;
//   }
// 
//   @Override
//   public Object value() {
//     return value;
//   }
// }


// Path: src/main/java/io/vertx/jdbcclient/SqlOutParam.java
import io.vertx.codegen.annotations.VertxGen;
import io.vertx.jdbcclient.impl.SqlOutParamImpl;
import java.sql.JDBCType;

/*
 * Copyright (c) 2011-2014 The original author or authors
 * ------------------------------------------------------
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * and Apache License v2.0 which accompanies this distribution.
 *
 *     The Eclipse Public License is available at
 *     http://www.eclipse.org/legal/epl-v10.html
 *
 *     The Apache License v2.0 is available at
 *     http://www.opensource.org/licenses/apache2.0.php
 *
 * You may elect to redistribute this code under either of these licenses.
 */
package io.vertx.jdbcclient;



/**
 * Tag if a parameter is of type OUT or INOUT.
 *
 * By default parameters are of type IN as they are provided by the user to the RDBMs engine. There are however cases
 * where these must be tagged as OUT/INOUT when dealing with stored procedures/functions or complex statements.
 *
 * This interface allows marking the type of the param as required by the JDBC API.
 */
@VertxGen
public interface SqlOutParam {

  /**
   * Factory for a OUT parameter of type {@code out}.
   * @param out the kind of the type according to JDBC types.
   * @return new marker
   */
  static SqlOutParam OUT(int out) {
    return new SqlOutParamImpl(out);