blob: 24cb2af58eb81405b84d0604136c15568c98a76a [file] [log] [blame]
/*
Derby - Class org.apache.derbyTesting.functionTests.tests.lang.AnsiSignatures
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package org.apache.derbyTesting.functionTests.tests.lang;
import java.math.BigDecimal;
import java.sql.Blob;
import java.sql.Clob;
import java.sql.Date;
import java.sql.SQLException;
import java.sql.Time;
import java.sql.Timestamp;
import org.apache.derby.iapi.types.HarmonySerialBlob;
import org.apache.derby.iapi.types.HarmonySerialClob;
/**
* <p>
* These are methods for testing ANSI routine resolution. The resolution rules
* are described in DERBY-3652. Methods which return -1 are methods which we
* expect will never be matched.
* </p>
*/
public class AnsiSignatures
{
///////////////////////////////////////////////////////////////////////////////////
//
// CONSTANTS
//
///////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////
//
// This block of methods is used to test whether Derby matches
// primitives and wrapper objects according to the ANSI rules.
// The ANSI rules are described in DERBY-3652.
//
///////////////////////////////////////////////////////////////////
//
// BOOLEAN
//
// legal resolutions
public static boolean boolean_boolean_boolean( boolean a ) { return a; }
public static boolean boolean_boolean_boolean( int a ) { return false; }
public static boolean boolean_boolean_boolean( byte a ) { return false; }
public static boolean boolean_boolean_boolean( short a ) { return false; }
public static boolean boolean_boolean_boolean( long a ) { return false; }
public static boolean boolean_boolean_boolean( float a ) { return false; }
public static boolean boolean_boolean_boolean( double a ) { return false; }
public static boolean boolean_boolean_boolean( Byte a ) { return false; }
public static boolean boolean_boolean_boolean( Short a ) { return false; }
public static boolean boolean_boolean_boolean( Long a ) { return false; }
public static boolean boolean_boolean_boolean( Float a ) { return false; }
public static boolean boolean_boolean_boolean( Double a ) { return false; }
public static boolean boolean_boolean_boolean( BigDecimal a ) { return false; }
public static boolean boolean_boolean_boolean( Date a ) { return false; }
public static boolean boolean_boolean_boolean( Time a ) { return false; }
public static boolean boolean_boolean_boolean( Timestamp a ) { return false; }
public static boolean boolean_boolean_boolean( String a ) { return false; }
public static boolean boolean_boolean_boolean( Clob a ) { return false; }
public static boolean boolean_boolean_boolean( Blob a ) { return false; }
public static boolean boolean_boolean_boolean( Object a ) { return false; }
public static Boolean boolean_Boolean_boolean( boolean a ) { return a; }
public static Boolean boolean_Boolean_boolean( int a ) { return Boolean.FALSE; }
public static Boolean boolean_Boolean_boolean( byte a ) { return Boolean.FALSE; }
public static Boolean boolean_Boolean_boolean( short a ) { return Boolean.FALSE; }
public static Boolean boolean_Boolean_boolean( long a ) { return Boolean.FALSE; }
public static Boolean boolean_Boolean_boolean( float a ) { return Boolean.FALSE; }
public static Boolean boolean_Boolean_boolean( double a ) { return Boolean.FALSE; }
public static Boolean boolean_Boolean_boolean( Byte a ) { return Boolean.FALSE; }
public static Boolean boolean_Boolean_boolean( Short a ) { return Boolean.FALSE; }
public static Boolean boolean_Boolean_boolean( Long a ) { return Boolean.FALSE; }
public static Boolean boolean_Boolean_boolean( Float a ) { return Boolean.FALSE; }
public static Boolean boolean_Boolean_boolean( Double a ) { return Boolean.FALSE; }
public static Boolean boolean_Boolean_boolean( BigDecimal a ) { return Boolean.FALSE; }
public static Boolean boolean_Boolean_boolean( Date a ) { return Boolean.FALSE; }
public static Boolean boolean_Boolean_boolean( Time a ) { return Boolean.FALSE; }
public static Boolean boolean_Boolean_boolean( Timestamp a ) { return Boolean.FALSE; }
public static Boolean boolean_Boolean_boolean( String a ) { return Boolean.FALSE; }
public static Boolean boolean_Boolean_boolean( Clob a ) { return Boolean.FALSE; }
public static Boolean boolean_Boolean_boolean( Blob a ) { return Boolean.FALSE; }
public static Boolean boolean_Boolean_boolean( Object a ) { return Boolean.FALSE; }
public static boolean boolean_boolean_Boolean( Boolean a ) { return a.booleanValue(); }
public static boolean boolean_boolean_Boolean( int a ) { return false; }
public static boolean boolean_boolean_Boolean( byte a ) { return false; }
public static boolean boolean_boolean_Boolean( short a ) { return false; }
public static boolean boolean_boolean_Boolean( long a ) { return false; }
public static boolean boolean_boolean_Boolean( float a ) { return false; }
public static boolean boolean_boolean_Boolean( double a ) { return false; }
public static boolean boolean_boolean_Boolean( Byte a ) { return false; }
public static boolean boolean_boolean_Boolean( Short a ) { return false; }
public static boolean boolean_boolean_Boolean( Long a ) { return false; }
public static boolean boolean_boolean_Boolean( Float a ) { return false; }
public static boolean boolean_boolean_Boolean( Double a ) { return false; }
public static boolean boolean_boolean_Boolean( BigDecimal a ) { return false; }
public static boolean boolean_boolean_Boolean( Date a ) { return false; }
public static boolean boolean_boolean_Boolean( Time a ) { return false; }
public static boolean boolean_boolean_Boolean( Timestamp a ) { return false; }
public static boolean boolean_boolean_Boolean( String a ) { return false; }
public static boolean boolean_boolean_Boolean( Clob a ) { return false; }
public static boolean boolean_boolean_Boolean( Blob a ) { return false; }
public static boolean boolean_boolean_Boolean( Object a ) { return false; }
public static Boolean boolean_Boolean_Boolean( Boolean a ) { return a; }
public static Boolean boolean_Boolean_Boolean( int a ) { return Boolean.FALSE; }
public static Boolean boolean_Boolean_Boolean( byte a ) { return Boolean.FALSE; }
public static Boolean boolean_Boolean_Boolean( short a ) { return Boolean.FALSE; }
public static Boolean boolean_Boolean_Boolean( long a ) { return Boolean.FALSE; }
public static Boolean boolean_Boolean_Boolean( float a ) { return Boolean.FALSE; }
public static Boolean boolean_Boolean_Boolean( double a ) { return Boolean.FALSE; }
public static Boolean boolean_Boolean_Boolean( Byte a ) { return Boolean.FALSE; }
public static Boolean boolean_Boolean_Boolean( Short a ) { return Boolean.FALSE; }
public static Boolean boolean_Boolean_Boolean( Long a ) { return Boolean.FALSE; }
public static Boolean boolean_Boolean_Boolean( Float a ) { return Boolean.FALSE; }
public static Boolean boolean_Boolean_Boolean( Double a ) { return Boolean.FALSE; }
public static Boolean boolean_Boolean_Boolean( BigDecimal a ) { return Boolean.FALSE; }
public static Boolean boolean_Boolean_Boolean( Date a ) { return Boolean.FALSE; }
public static Boolean boolean_Boolean_Boolean( Time a ) { return Boolean.FALSE; }
public static Boolean boolean_Boolean_Boolean( Timestamp a ) { return Boolean.FALSE; }
public static Boolean boolean_Boolean_Boolean( String a ) { return Boolean.FALSE; }
public static Boolean boolean_Boolean_Boolean( Clob a ) { return Boolean.FALSE; }
public static Boolean boolean_Boolean_Boolean( Blob a ) { return Boolean.FALSE; }
public static Boolean boolean_Boolean_Boolean( Object a ) { return Boolean.FALSE; }
// bad return type
public static byte boolean_badreturn_byte_int( int a ) { return (byte) -1; }
public static boolean boolean_amb_boolean_boolean( boolean a ) { return false; }
public static boolean boolean_amb_boolean_boolean( Boolean a ) { return false; }
public static Boolean boolean_amb_Boolean_boolean( boolean a ) { return Boolean.FALSE; }
public static Boolean boolean_amb_Boolean_boolean( Boolean a ) { return Boolean.FALSE; }
// unresolvable
public static boolean boolean_unres_boolean( int a ) { return false; }
public static boolean boolean_unres_boolean( byte a ) { return false; }
public static boolean boolean_unres_boolean( short a ) { return false; }
public static boolean boolean_unres_boolean( long a ) { return false; }
public static boolean boolean_unres_boolean( float a ) { return false; }
public static boolean boolean_unres_boolean( double a ) { return false; }
public static boolean boolean_unres_boolean( Integer a ) { return false; }
public static boolean boolean_unres_boolean( Byte a ) { return false; }
public static boolean boolean_unres_boolean( Short a ) { return false; }
public static boolean boolean_unres_boolean( Long a ) { return false; }
public static boolean boolean_unres_boolean( Float a ) { return false; }
public static boolean boolean_unres_boolean( Double a ) { return false; }
public static boolean boolean_unres_boolean( BigDecimal a ) { return false; }
public static boolean boolean_unres_boolean( Date a ) { return false; }
public static boolean boolean_unres_boolean( Time a ) { return false; }
public static boolean boolean_unres_boolean( Timestamp a ) { return false; }
public static boolean boolean_unres_boolean( String a ) { return false; }
public static boolean boolean_unres_boolean( Clob a ) { return false; }
public static boolean boolean_unres_boolean( Blob a ) { return false; }
public static boolean boolean_unres_boolean( Object a ) { return false; }
public static Boolean boolean_unres_Boolean( int a ) { return Boolean.FALSE; }
public static Boolean boolean_unres_Boolean( byte a ) { return Boolean.FALSE; }
public static Boolean boolean_unres_Boolean( short a ) { return Boolean.FALSE; }
public static Boolean boolean_unres_Boolean( long a ) { return Boolean.FALSE; }
public static Boolean boolean_unres_Boolean( float a ) { return Boolean.FALSE; }
public static Boolean boolean_unres_Boolean( double a ) { return Boolean.FALSE; }
public static Boolean boolean_unres_Boolean( Integer a ) { return Boolean.FALSE; }
public static Boolean boolean_unres_Boolean( Byte a ) { return Boolean.FALSE; }
public static Boolean boolean_unres_Boolean( Short a ) { return Boolean.FALSE; }
public static Boolean boolean_unres_Boolean( Long a ) { return Boolean.FALSE; }
public static Boolean boolean_unres_Boolean( Float a ) { return Boolean.FALSE; }
public static Boolean boolean_unres_Boolean( Double a ) { return Boolean.FALSE; }
public static Boolean boolean_unres_Boolean( BigDecimal a ) { return Boolean.FALSE; }
public static Boolean boolean_unres_Boolean( Date a ) { return Boolean.FALSE; }
public static Boolean boolean_unres_Boolean( Time a ) { return Boolean.FALSE; }
public static Boolean boolean_unres_Boolean( Timestamp a ) { return Boolean.FALSE; }
public static Boolean boolean_unres_Boolean( String a ) { return Boolean.FALSE; }
public static Boolean boolean_unres_Boolean( Clob a ) { return Boolean.FALSE; }
public static Boolean boolean_unres_Boolean( Blob a ) { return Boolean.FALSE; }
public static Boolean boolean_unres_Boolean( Object a ) { return Boolean.FALSE; }
//
// SMALLINT
//
// legal resolutions
public static short smallint_short_short( short a ) { return a; }
public static short smallint_short_short( boolean a ) { return (short) -1; }
public static short smallint_short_short( byte a ) { return (short) -1; }
public static short smallint_short_short( int a ) { return (short) -1; }
public static short smallint_short_short( long a ) { return (short) -1; }
public static short smallint_short_short( float a ) { return (short) -1; }
public static short smallint_short_short( double a ) { return (short) -1; }
public static short smallint_short_short( Boolean a ) { return (short) -1; }
public static short smallint_short_short( Byte a ) { return (short) -1; }
public static short smallint_short_short( Short a ) { return (short) -1; }
public static short smallint_short_short( Long a ) { return (short) -1; }
public static short smallint_short_short( Float a ) { return (short) -1; }
public static short smallint_short_short( Double a ) { return (short) -1; }
public static short smallint_short_short( BigDecimal a ) { return (short) -1; }
public static short smallint_short_short( Date a ) { return (short) -1; }
public static short smallint_short_short( Time a ) { return (short) -1; }
public static short smallint_short_short( Timestamp a ) { return (short) -1; }
public static short smallint_short_short( String a ) { return (short) -1; }
public static short smallint_short_short( Clob a ) { return (short) -1; }
public static short smallint_short_short( Blob a ) { return (short) -1; }
public static short smallint_short_short( Object a ) { return (short) -1; }
public static short smallint_short_Integer( Integer a ) { return a.shortValue(); }
public static short smallint_short_Integer( boolean a ) { return (short) -1; }
public static short smallint_short_Integer( byte a ) { return (short) -1; }
public static short smallint_short_Integer( int a ) { return (short) -1; }
public static short smallint_short_Integer( long a ) { return (short) -1; }
public static short smallint_short_Integer( float a ) { return (short) -1; }
public static short smallint_short_Integer( double a ) { return (short) -1; }
public static short smallint_short_Integer( Boolean a ) { return (short) -1; }
public static short smallint_short_Integer( Byte a ) { return (short) -1; }
public static short smallint_short_Integer( Short a ) { return (short) -1; }
public static short smallint_short_Integer( Long a ) { return (short) -1; }
public static short smallint_short_Integer( Float a ) { return (short) -1; }
public static short smallint_short_Integer( Double a ) { return (short) -1; }
public static short smallint_short_Integer( BigDecimal a ) { return (short) -1; }
public static short smallint_short_Integer( Date a ) { return (short) -1; }
public static short smallint_short_Integer( Time a ) { return (short) -1; }
public static short smallint_short_Integer( Timestamp a ) { return (short) -1; }
public static short smallint_short_Integer( String a ) { return (short) -1; }
public static short smallint_short_Integer( Clob a ) { return (short) -1; }
public static short smallint_short_Integer( Blob a ) { return (short) -1; }
public static short smallint_short_Integer( Object a ) { return (short) -1; }
public static Integer smallint_Integer_short( short a ) { return (int) a; }
public static Integer smallint_Integer_short( boolean a ) { return -1; }
public static Integer smallint_Integer_short( byte a ) { return -1; }
public static Integer smallint_Integer_short( int a ) { return -1; }
public static Integer smallint_Integer_short( long a ) { return -1; }
public static Integer smallint_Integer_short( float a ) { return -1; }
public static Integer smallint_Integer_short( double a ) { return -1; }
public static Integer smallint_Integer_short( Boolean a ) { return -1; }
public static Integer smallint_Integer_short( Byte a ) { return -1; }
public static Integer smallint_Integer_short( Short a ) { return -1; }
public static Integer smallint_Integer_short( Long a ) { return -1; }
public static Integer smallint_Integer_short( Float a ) { return -1; }
public static Integer smallint_Integer_short( Double a ) { return -1; }
public static Integer smallint_Integer_short( BigDecimal a ) { return -1; }
public static Integer smallint_Integer_short( Date a ) { return -1; }
public static Integer smallint_Integer_short( Time a ) { return -1; }
public static Integer smallint_Integer_short( Timestamp a ) { return -1; }
public static Integer smallint_Integer_short( String a ) { return -1; }
public static Integer smallint_Integer_short( Clob a ) { return -1; }
public static Integer smallint_Integer_short( Blob a ) { return -1; }
public static Integer smallint_Integer_short( Object a ) { return -1; }
public static Integer smallint_Integer_Integer( Integer a ) { return a; }
public static Integer smallint_Integer_Integer( boolean a ) { return -1; }
public static Integer smallint_Integer_Integer( byte a ) { return -1; }
public static Integer smallint_Integer_Integer( int a ) { return -1; }
public static Integer smallint_Integer_Integer( long a ) { return -1; }
public static Integer smallint_Integer_Integer( float a ) { return -1; }
public static Integer smallint_Integer_Integer( double a ) { return -1; }
public static Integer smallint_Integer_Integer( Boolean a ) { return -1; }
public static Integer smallint_Integer_Integer( Byte a ) { return -1; }
public static Integer smallint_Integer_Integer( Short a ) { return -1; }
public static Integer smallint_Integer_Integer( Long a ) { return -1; }
public static Integer smallint_Integer_Integer( Float a ) { return -1; }
public static Integer smallint_Integer_Integer( Double a ) { return -1; }
public static Integer smallint_Integer_Integer( BigDecimal a ) { return -1; }
public static Integer smallint_Integer_Integer( Date a ) { return -1; }
public static Integer smallint_Integer_Integer( Time a ) { return -1; }
public static Integer smallint_Integer_Integer( Timestamp a ) { return -1; }
public static Integer smallint_Integer_Integer( String a ) { return -1; }
public static Integer smallint_Integer_Integer( Clob a ) { return -1; }
public static Integer smallint_Integer_Integer( Blob a ) { return -1; }
public static Integer smallint_Integer_Integer( Object a ) { return -1; }
// outside the spec. these should not resolve.
public static short smallint_bad_short_Short( Short a ) { return (short) -1; }
public static Short smallint_bad_Short_short( short a ) { return (short) -1; }
public static Short smallint_bad_Short_Short( Short a ) { return (short) -1; }
// bad return type
public static byte smallint_badreturn_byte_short( short a ) { return (byte) -1; }
// illegal ambiguity
public static short smallint_amb_short_short( short a ) { return (short) -1; }
public static short smallint_amb_short_short( Integer a ) { return (short) -1; }
public static Integer smallint_amb_Integer_short( short a ) { return -1; }
public static Integer smallint_amb_Integer_short( Integer a ) { return -1; }
public static byte smallint_amb_byte_short( short a ) { return (byte) -1; }
public static byte smallint_amb_byte_short( Integer a ) { return (byte) -1; }
// unresolvable
public static short smallint_unres_short( boolean a ) { return (short) -1; }
public static short smallint_unres_short( byte a ) { return (short) -1; }
public static short smallint_unres_short( int a ) { return (short) -1; }
public static short smallint_unres_short( long a ) { return (short) -1; }
public static short smallint_unres_short( float a ) { return (short) -1; }
public static short smallint_unres_short( double a ) { return (short) -1; }
public static short smallint_unres_short( Boolean a ) { return (short) -1; }
public static short smallint_unres_short( Byte a ) { return (short) -1; }
public static short smallint_unres_short( Short a ) { return (short) -1; }
public static short smallint_unres_short( Long a ) { return (short) -1; }
public static short smallint_unres_short( Float a ) { return (short) -1; }
public static short smallint_unres_short( Double a ) { return (short) -1; }
public static short smallint_unres_short( BigDecimal a ) { return (short) -1; }
public static short smallint_unres_short( Date a ) { return (short) -1; }
public static short smallint_unres_short( Time a ) { return (short) -1; }
public static short smallint_unres_short( Timestamp a ) { return (short) -1; }
public static short smallint_unres_short( String a ) { return (short) -1; }
public static short smallint_unres_short( Clob a ) { return (short) -1; }
public static short smallint_unres_short( Blob a ) { return (short) -1; }
public static short smallint_unres_short( Object a ) { return (short) -1; }
public static Short smallint_unres_Short( boolean a ) { return (short) -1; }
public static Short smallint_unres_Short( byte a ) { return (short) -1; }
public static Short smallint_unres_Short( short a ) { return (short) -1; }
public static Short smallint_unres_Short( int a ) { return (short) -1; }
public static Short smallint_unres_Short( long a ) { return (short) -1; }
public static Short smallint_unres_Short( float a ) { return (short) -1; }
public static Short smallint_unres_Short( double a ) { return (short) -1; }
public static Short smallint_unres_Short( Boolean a ) { return (short) -1; }
public static Short smallint_unres_Short( Byte a ) { return (short) -1; }
public static Short smallint_unres_Short( Short a ) { return (short) -1; }
public static Short smallint_unres_Short( Long a ) { return (short) -1; }
public static Short smallint_unres_Short( Float a ) { return (short) -1; }
public static Short smallint_unres_Short( Double a ) { return (short) -1; }
public static Short smallint_unres_Short( BigDecimal a ) { return (short) -1; }
public static Short smallint_unres_Short( Date a ) { return (short) -1; }
public static Short smallint_unres_Short( Time a ) { return (short) -1; }
public static Short smallint_unres_Short( Timestamp a ) { return (short) -1; }
public static Short smallint_unres_Short( String a ) { return (short) -1; }
public static Short smallint_unres_Short( Clob a ) { return (short) -1; }
public static Short smallint_unres_Short( Blob a ) { return (short) -1; }
public static Short smallint_unres_Short( Object a ) { return (short) -1; }
//
// INTEGER
//
// legal resolutions
public static int integer_int_int( int a ) { return a; }
public static int integer_int_int( boolean a ) { return -1; }
public static int integer_int_int( byte a ) { return -1; }
public static int integer_int_int( short a ) { return -1; }
public static int integer_int_int( long a ) { return -1; }
public static int integer_int_int( float a ) { return -1; }
public static int integer_int_int( double a ) { return -1; }
public static int integer_int_int( Boolean a ) { return -1; }
public static int integer_int_int( Byte a ) { return -1; }
public static int integer_int_int( Short a ) { return -1; }
public static int integer_int_int( Long a ) { return -1; }
public static int integer_int_int( Float a ) { return -1; }
public static int integer_int_int( Double a ) { return -1; }
public static int integer_int_int( BigDecimal a ) { return -1; }
public static int integer_int_int( Date a ) { return -1; }
public static int integer_int_int( Time a ) { return -1; }
public static int integer_int_int( Timestamp a ) { return -1; }
public static int integer_int_int( String a ) { return -1; }
public static int integer_int_int( Clob a ) { return -1; }
public static int integer_int_int( Blob a ) { return -1; }
public static int integer_int_int( Object a ) { return -1; }
public static int integer_int_Integer( Integer a ) { return a.intValue(); }
public static int integer_int_Integer( boolean a ) { return -1; }
public static int integer_int_Integer( byte a ) { return -1; }
public static int integer_int_Integer( short a ) { return -1; }
public static int integer_int_Integer( long a ) { return -1; }
public static int integer_int_Integer( float a ) { return -1; }
public static int integer_int_Integer( double a ) { return -1; }
public static int integer_int_Integer( Boolean a ) { return -1; }
public static int integer_int_Integer( Byte a ) { return -1; }
public static int integer_int_Integer( Short a ) { return -1; }
public static int integer_int_Integer( Long a ) { return -1; }
public static int integer_int_Integer( Float a ) { return -1; }
public static int integer_int_Integer( Double a ) { return -1; }
public static int integer_int_Integer( BigDecimal a ) { return -1; }
public static int integer_int_Integer( Date a ) { return -1; }
public static int integer_int_Integer( Time a ) { return -1; }
public static int integer_int_Integer( Timestamp a ) { return -1; }
public static int integer_int_Integer( String a ) { return -1; }
public static int integer_int_Integer( Clob a ) { return -1; }
public static int integer_int_Integer( Blob a ) { return -1; }
public static int integer_int_Integer( Object a ) { return -1; }
public static Integer integer_Integer_int( int a ) { return a; }
public static Integer integer_Integer_int( boolean a ) { return 1; }
public static Integer integer_Integer_int( byte a ) { return -1; }
public static Integer integer_Integer_int( short a ) { return -1; }
public static Integer integer_Integer_int( long a ) { return -1; }
public static Integer integer_Integer_int( float a ) { return -1; }
public static Integer integer_Integer_int( double a ) { return -1; }
public static Integer integer_Integer_int( Boolean a ) { return -1; }
public static Integer integer_Integer_int( Byte a ) { return -1; }
public static Integer integer_Integer_int( Short a ) { return -1; }
public static Integer integer_Integer_int( Long a ) { return -1; }
public static Integer integer_Integer_int( Float a ) { return -1; }
public static Integer integer_Integer_int( Double a ) { return -1; }
public static Integer integer_Integer_int( BigDecimal a ) { return -1; }
public static Integer integer_Integer_int( Date a ) { return -1; }
public static Integer integer_Integer_int( Time a ) { return -1; }
public static Integer integer_Integer_int( Timestamp a ) { return -1; }
public static Integer integer_Integer_int( String a ) { return -1; }
public static Integer integer_Integer_int( Clob a ) { return -1; }
public static Integer integer_Integer_int( Blob a ) { return -1; }
public static Integer integer_Integer_int( Object a ) { return -1; }
public static Integer integer_Integer_Integer( Integer a ) { return a; }
public static Integer integer_Integer_Integer( boolean a ) { return -1; }
public static Integer integer_Integer_Integer( byte a ) { return -1; }
public static Integer integer_Integer_Integer( short a ) { return -1; }
public static Integer integer_Integer_Integer( long a ) { return -1; }
public static Integer integer_Integer_Integer( float a ) { return -1; }
public static Integer integer_Integer_Integer( double a ) { return -1; }
public static Integer integer_Integer_Integer( Boolean a ) { return -1; }
public static Integer integer_Integer_Integer( Byte a ) { return -1; }
public static Integer integer_Integer_Integer( Short a ) { return -1; }
public static Integer integer_Integer_Integer( Long a ) { return -1; }
public static Integer integer_Integer_Integer( Float a ) { return -1; }
public static Integer integer_Integer_Integer( Double a ) { return -1; }
public static Integer integer_Integer_Integer( BigDecimal a ) { return -1; }
public static Integer integer_Integer_Integer( Date a ) { return -1; }
public static Integer integer_Integer_Integer( Time a ) { return -1; }
public static Integer integer_Integer_Integer( Timestamp a ) { return -1; }
public static Integer integer_Integer_Integer( String a ) { return -1; }
public static Integer integer_Integer_Integer( Clob a ) { return -1; }
public static Integer integer_Integer_Integer( Blob a ) { return -1; }
public static Integer integer_Integer_Integer( Object a ) { return -1; }
// bad return type
public static byte integer_badreturn_byte_int( int a ) { return (byte) -1; }
// illegal ambiguity
public static int integer_amb_int_int( int a ) { return -1; }
public static int integer_amb_int_int( Integer a ) { return -1; }
public static Integer integer_amb_Integer_int( int a ) { return -1; }
public static Integer integer_amb_Integer_int( Integer a ) { return -1; }
public static byte integer_amb_byte_int( int a ) { return (byte) -1; }
public static byte integer_amb_byte_int( Integer a ) { return (byte) -1; }
// unresolvable
public static int integer_unres_int( boolean a ) { return -1; }
public static int integer_unres_int( byte a ) { return -1; }
public static int integer_unres_int( short a ) { return -1; }
public static int integer_unres_int( long a ) { return -1; }
public static int integer_unres_int( float a ) { return -1; }
public static int integer_unres_int( double a ) { return -1; }
public static int integer_unres_int( Boolean a ) { return -1; }
public static int integer_unres_int( Byte a ) { return -1; }
public static int integer_unres_int( Short a ) { return -1; }
public static int integer_unres_int( Long a ) { return -1; }
public static int integer_unres_int( Float a ) { return -1; }
public static int integer_unres_int( Double a ) { return -1; }
public static int integer_unres_int( BigDecimal a ) { return -1; }
public static int integer_unres_int( Date a ) { return -1; }
public static int integer_unres_int( Time a ) { return -1; }
public static int integer_unres_int( Timestamp a ) { return -1; }
public static int integer_unres_int( String a ) { return -1; }
public static int integer_unres_int( Clob a ) { return -1; }
public static int integer_unres_int( Blob a ) { return -1; }
public static int integer_unres_int( Object a ) { return -1; }
public static Integer integer_unres_Integer( boolean a ) { return -1; }
public static Integer integer_unres_Integer( byte a ) { return -1; }
public static Integer integer_unres_Integer( short a ) { return -1; }
public static Integer integer_unres_Integer( long a ) { return -1; }
public static Integer integer_unres_Integer( float a ) { return -1; }
public static Integer integer_unres_Integer( double a ) { return -1; }
public static Integer integer_unres_Integer( Boolean a ) { return -1; }
public static Integer integer_unres_Integer( Byte a ) { return -1; }
public static Integer integer_unres_Integer( Short a ) { return -1; }
public static Integer integer_unres_Integer( Long a ) { return -1; }
public static Integer integer_unres_Integer( Float a ) { return -1; }
public static Integer integer_unres_Integer( Double a ) { return -1; }
public static Integer integer_unres_Integer( BigDecimal a ) { return -1; }
public static Integer integer_unres_Integer( Date a ) { return -1; }
public static Integer integer_unres_Integer( Time a ) { return -1; }
public static Integer integer_unres_Integer( Timestamp a ) { return -1; }
public static Integer integer_unres_Integer( String a ) { return -1; }
public static Integer integer_unres_Integer( Clob a ) { return -1; }
public static Integer integer_unres_Integer( Blob a ) { return -1; }
public static Integer integer_unres_Integer( Object a ) { return -1; }
//
// BIGINT
//
// legal resolutions
public static long bigint_long_long( long a ) { return a; }
public static long bigint_long_long( boolean a ) { return -1L; }
public static long bigint_long_long( byte a ) { return -1L; }
public static long bigint_long_long( short a ) { return -1L; }
public static long bigint_long_long( int a ) { return -1L; }
public static long bigint_long_long( float a ) { return -1L; }
public static long bigint_long_long( double a ) { return -1L; }
public static long bigint_long_long( Boolean a ) { return -1L; }
public static long bigint_long_long( Byte a ) { return -1L; }
public static long bigint_long_long( Short a ) { return -1L; }
public static long bigint_long_long( Integer a ) { return -1L; }
public static long bigint_long_long( Float a ) { return -1L; }
public static long bigint_long_long( Double a ) { return -1L; }
public static long bigint_long_long( BigDecimal a ) { return -1L; }
public static long bigint_long_long( Date a ) { return -1L; }
public static long bigint_long_long( Time a ) { return -1L; }
public static long bigint_long_long( Timestamp a ) { return -1L; }
public static long bigint_long_long( String a ) { return -1L; }
public static long bigint_long_long( Clob a ) { return -1L; }
public static long bigint_long_long( Blob a ) { return -1L; }
public static long bigint_long_long( Object a ) { return -1L; }
public static long bigint_long_Long( Long a ) { return a.longValue(); }
public static long bigint_long_Long( boolean a ) { return -1L; }
public static long bigint_long_Long( byte a ) { return -1L; }
public static long bigint_long_Long( short a ) { return -1L; }
public static long bigint_long_Long( int a ) { return -1L; }
public static long bigint_long_Long( float a ) { return -1L; }
public static long bigint_long_Long( double a ) { return -1L; }
public static long bigint_long_Long( Boolean a ) { return -1L; }
public static long bigint_long_Long( Byte a ) { return -1L; }
public static long bigint_long_Long( Short a ) { return -1L; }
public static long bigint_long_Long( Integer a ) { return -1L; }
public static long bigint_long_Long( Float a ) { return -1L; }
public static long bigint_long_Long( Double a ) { return -1L; }
public static long bigint_long_Long( BigDecimal a ) { return -1L; }
public static long bigint_long_Long( Date a ) { return -1L; }
public static long bigint_long_Long( Time a ) { return -1L; }
public static long bigint_long_Long( Timestamp a ) { return -1L; }
public static long bigint_long_Long( String a ) { return -1L; }
public static long bigint_long_Long( Clob a ) { return -1L; }
public static long bigint_long_Long( Blob a ) { return -1L; }
public static long bigint_long_Long( Object a ) { return -1L; }
public static Long bigint_Long_long( long a ) { return a; }
public static Long bigint_Long_long( boolean a ) { return -1L; }
public static Long bigint_Long_long( byte a ) { return -1L; }
public static Long bigint_Long_long( short a ) { return -1L; }
public static Long bigint_Long_long( int a ) { return -1L; }
public static Long bigint_Long_long( float a ) { return -1L; }
public static Long bigint_Long_long( double a ) { return -1L; }
public static Long bigint_Long_long( Boolean a ) { return -1L; }
public static Long bigint_Long_long( Byte a ) { return -1L; }
public static Long bigint_Long_long( Short a ) { return -1L; }
public static Long bigint_Long_long( Integer a ) { return -1L; }
public static Long bigint_Long_long( Float a ) { return -1L; }
public static Long bigint_Long_long( Double a ) { return -1L; }
public static Long bigint_Long_long( BigDecimal a ) { return -1L; }
public static Long bigint_Long_long( Date a ) { return -1L; }
public static Long bigint_Long_long( Time a ) { return -1L; }
public static Long bigint_Long_long( Timestamp a ) { return -1L; }
public static Long bigint_Long_long( String a ) { return -1L; }
public static Long bigint_Long_long( Clob a ) { return -1L; }
public static Long bigint_Long_long( Blob a ) { return -1L; }
public static Long bigint_Long_long( Object a ) { return -1L; }
public static Long bigint_Long_Long( Long a ) { return a; }
public static Long bigint_Long_Long( boolean a ) { return -1L; }
public static Long bigint_Long_Long( byte a ) { return -1L; }
public static Long bigint_Long_Long( short a ) { return -1L; }
public static Long bigint_Long_Long( int a ) { return -1L; }
public static Long bigint_Long_Long( float a ) { return -1L; }
public static Long bigint_Long_Long( double a ) { return -1L; }
public static Long bigint_Long_Long( Boolean a ) { return -1L; }
public static Long bigint_Long_Long( Byte a ) { return -1L; }
public static Long bigint_Long_Long( Short a ) { return -1L; }
public static Long bigint_Long_Long( Integer a ) { return -1L; }
public static Long bigint_Long_Long( Float a ) { return -1L; }
public static Long bigint_Long_Long( Double a ) { return -1L; }
public static Long bigint_Long_Long( BigDecimal a ) { return -1L; }
public static Long bigint_Long_Long( Date a ) { return -1L; }
public static Long bigint_Long_Long( Time a ) { return -1L; }
public static Long bigint_Long_Long( Timestamp a ) { return -1L; }
public static Long bigint_Long_Long( String a ) { return -1L; }
public static Long bigint_Long_Long( Clob a ) { return -1L; }
public static Long bigint_Long_Long( Blob a ) { return -1L; }
public static Long bigint_Long_Long( Object a ) { return -1L; }
// bad return type
public static byte bigint_badreturn_byte_long( long a ) { return (byte) -1; }
// illegal ambiguity
public static long bigint_amb_long_long( long a ) { return -1L; }
public static long bigint_amb_long_long( Long a ) { return -1L; }
public static Long bigint_amb_Long_long( long a ) { return -1L; }
public static Long bigint_amb_Long_long( Long a ) { return -1L; }
public static byte bigint_amb_byte_long( long a ) { return (byte) -1; }
public static byte bigint_amb_byte_long( Long a ) { return (byte) -1; }
// unresolvable
public static long bigint_unres_long( boolean a ) { return -1L; }
public static long bigint_unres_long( byte a ) { return -1L; }
public static long bigint_unres_long( short a ) { return -1L; }
public static long bigint_unres_long( int a ) { return -1L; }
public static long bigint_unres_long( float a ) { return -1L; }
public static long bigint_unres_long( double a ) { return -1L; }
public static long bigint_unres_long( Boolean a ) { return -1L; }
public static long bigint_unres_long( Byte a ) { return -1L; }
public static long bigint_unres_long( Short a ) { return -1L; }
public static long bigint_unres_long( Integer a ) { return -1L; }
public static long bigint_unres_long( Float a ) { return -1L; }
public static long bigint_unres_long( Double a ) { return -1L; }
public static long bigint_unres_long( BigDecimal a ) { return -1L; }
public static long bigint_unres_long( Date a ) { return -1L; }
public static long bigint_unres_long( Time a ) { return -1L; }
public static long bigint_unres_long( Timestamp a ) { return -1L; }
public static long bigint_unres_long( String a ) { return -1L; }
public static long bigint_unres_long( Clob a ) { return -1L; }
public static long bigint_unres_long( Blob a ) { return -1L; }
public static long bigint_unres_long( Object a ) { return -1L; }
public static Long bigint_unres_Long( boolean a ) { return -1L; }
public static Long bigint_unres_Long( byte a ) { return -1L; }
public static Long bigint_unres_Long( short a ) { return -1L; }
public static Long bigint_unres_Long( int a ) { return -1L; }
public static Long bigint_unres_Long( float a ) { return -1L; }
public static Long bigint_unres_Long( double a ) { return -1L; }
public static Long bigint_unres_Long( Boolean a ) { return -1L; }
public static Long bigint_unres_Long( Byte a ) { return -1L; }
public static Long bigint_unres_Long( Short a ) { return -1L; }
public static Long bigint_unres_Long( Integer a ) { return -1L; }
public static Long bigint_unres_Long( Float a ) { return -1L; }
public static Long bigint_unres_Long( Double a ) { return -1L; }
public static Long bigint_unres_Long( BigDecimal a ) { return -1L; }
public static Long bigint_unres_Long( Date a ) { return -1L; }
public static Long bigint_unres_Long( Time a ) { return -1L; }
public static Long bigint_unres_Long( Timestamp a ) { return -1L; }
public static Long bigint_unres_Long( String a ) { return -1L; }
public static Long bigint_unres_Long( Clob a ) { return -1L; }
public static Long bigint_unres_Long( Blob a ) { return -1L; }
public static Long bigint_unres_Long( Object a ) { return -1L; }
//
// REAL
//
// legal resolutions
public static float real_float_float( float a ) { return a; }
public static float real_float_float( boolean a ) { return -1.0F; }
public static float real_float_float( byte a ) { return -1.0F; }
public static float real_float_float( short a ) { return -1.0F; }
public static float real_float_float( int a ) { return -1.0F; }
public static float real_float_float( long a ) { return -1.0F; }
public static float real_float_float( double a ) { return -1.0F; }
public static float real_float_float( Boolean a ) { return -1.0F; }
public static float real_float_float( Byte a ) { return -1.0F; }
public static float real_float_float( Short a ) { return -1.0F; }
public static float real_float_float( Integer a ) { return -1.0F; }
public static float real_float_float( Long a ) { return -1.0F; }
public static float real_float_float( Double a ) { return -1.0F; }
public static float real_float_float( BigDecimal a ) { return -1.0F; }
public static float real_float_float( Date a ) { return -1.0F; }
public static float real_float_float( Time a ) { return -1.0F; }
public static float real_float_float( Timestamp a ) { return -1.0F; }
public static float real_float_float( String a ) { return -1.0F; }
public static float real_float_float( Clob a ) { return -1.0F; }
public static float real_float_float( Blob a ) { return -1.0F; }
public static float real_float_float( Object a ) { return -1.0F; }
public static float real_float_Float( Float a ) { return a.floatValue(); }
public static float real_float_Float( boolean a ) { return -1.0F; }
public static float real_float_Float( byte a ) { return -1.0F; }
public static float real_float_Float( short a ) { return -1.0F; }
public static float real_float_Float( int a ) { return -1.0F; }
public static float real_float_Float( long a ) { return -1.0F; }
public static float real_float_Float( double a ) { return -1.0F; }
public static float real_float_Float( Boolean a ) { return -1.0F; }
public static float real_float_Float( Byte a ) { return -1.0F; }
public static float real_float_Float( Short a ) { return -1.0F; }
public static float real_float_Float( Integer a ) { return -1.0F; }
public static float real_float_Float( Long a ) { return -1.0F; }
public static float real_float_Float( Double a ) { return -1.0F; }
public static float real_float_Float( BigDecimal a ) { return -1.0F; }
public static float real_float_Float( Date a ) { return -1.0F; }
public static float real_float_Float( Time a ) { return -1.0F; }
public static float real_float_Float( Timestamp a ) { return -1.0F; }
public static float real_float_Float( String a ) { return -1.0F; }
public static float real_float_Float( Clob a ) { return -1.0F; }
public static float real_float_Float( Blob a ) { return -1.0F; }
public static float real_float_Float( Object a ) { return -1.0F; }
public static Float real_Float_float( float a ) { return a; }
public static Float real_Float_float( boolean a ) { return -1.0F; }
public static Float real_Float_float( byte a ) { return -1.0F; }
public static Float real_Float_float( short a ) { return -1.0F; }
public static Float real_Float_float( int a ) { return -1.0F; }
public static Float real_Float_float( long a ) { return -1.0F; }
public static Float real_Float_float( double a ) { return -1.0F; }
public static Float real_Float_float( Boolean a ) { return -1.0F; }
public static Float real_Float_float( Byte a ) { return -1.0F; }
public static Float real_Float_float( Short a ) { return -1.0F; }
public static Float real_Float_float( Integer a ) { return -1.0F; }
public static Float real_Float_float( Long a ) { return -1.0F; }
public static Float real_Float_float( Double a ) { return -1.0F; }
public static Float real_Float_float( BigDecimal a ) { return -1.0F; }
public static Float real_Float_float( Date a ) { return -1.0F; }
public static Float real_Float_float( Time a ) { return -1.0F; }
public static Float real_Float_float( Timestamp a ) { return -1.0F; }
public static Float real_Float_float( String a ) { return -1.0F; }
public static Float real_Float_float( Clob a ) { return -1.0F; }
public static Float real_Float_float( Blob a ) { return -1.0F; }
public static Float real_Float_float( Object a ) { return -1.0F; }
public static Float real_Float_Float( Float a ) { return a; }
public static Float real_Float_Float( boolean a ) { return -1.0F; }
public static Float real_Float_Float( byte a ) { return -1.0F; }
public static Float real_Float_Float( short a ) { return -1.0F; }
public static Float real_Float_Float( int a ) { return -1.0F; }
public static Float real_Float_Float( long a ) { return -1.0F; }
public static Float real_Float_Float( double a ) { return -1.0F; }
public static Float real_Float_Float( Boolean a ) { return -1.0F; }
public static Float real_Float_Float( Byte a ) { return -1.0F; }
public static Float real_Float_Float( Short a ) { return -1.0F; }
public static Float real_Float_Float( Integer a ) { return -1.0F; }
public static Float real_Float_Float( Long a ) { return -1.0F; }
public static Float real_Float_Float( Double a ) { return -1.0F; }
public static Float real_Float_Float( BigDecimal a ) { return -1.0F; }
public static Float real_Float_Float( Date a ) { return -1.0F; }
public static Float real_Float_Float( Time a ) { return -1.0F; }
public static Float real_Float_Float( Timestamp a ) { return -1.0F; }
public static Float real_Float_Float( String a ) { return -1.0F; }
public static Float real_Float_Float( Clob a ) { return -1.0F; }
public static Float real_Float_Float( Blob a ) { return -1.0F; }
public static Float real_Float_Float( Object a ) { return -1.0F; }
// bad return type
public static byte real_badreturn_byte_float( float a ) { return (byte) -1; }
// illegal ambiguity
public static float real_amb_float_float( float a ) { return -1.0F; }
public static float real_amb_float_float( Float a ) { return -1.0F; }
public static Float real_amb_Float_float( float a ) { return -1.0F; }
public static Float real_amb_Float_float( Float a ) { return -1.0F; }
public static byte real_amb_byte_float( float a ) { return (byte) -1; }
public static byte real_amb_byte_float( Float a ) { return (byte) -1; }
// unresolvable
public static float real_unres_float( boolean a ) { return -1.0F; }
public static float real_unres_float( byte a ) { return -1.0F; }
public static float real_unres_float( short a ) { return -1.0F; }
public static float real_unres_float( int a ) { return -1.0F; }
public static float real_unres_float( long a ) { return -1.0F; }
public static float real_unres_float( double a ) { return -1.0F; }
public static float real_unres_float( Boolean a ) { return -1.0F; }
public static float real_unres_float( Byte a ) { return -1.0F; }
public static float real_unres_float( Short a ) { return -1.0F; }
public static float real_unres_float( Integer a ) { return -1.0F; }
public static float real_unres_float( Long a ) { return -1.0F; }
public static float real_unres_float( Double a ) { return -1.0F; }
public static float real_unres_float( BigDecimal a ) { return -1.0F; }
public static float real_unres_float( Date a ) { return -1.0F; }
public static float real_unres_float( Time a ) { return -1.0F; }
public static float real_unres_float( Timestamp a ) { return -1.0F; }
public static float real_unres_float( String a ) { return -1.0F; }
public static float real_unres_float( Clob a ) { return -1.0F; }
public static float real_unres_float( Blob a ) { return -1.0F; }
public static float real_unres_float( Object a ) { return -1.0F; }
public static Float real_unres_Float( boolean a ) { return -1.0F; }
public static Float real_unres_Float( byte a ) { return -1.0F; }
public static Float real_unres_Float( short a ) { return -1.0F; }
public static Float real_unres_Float( int a ) { return -1.0F; }
public static Float real_unres_Float( long a ) { return -1.0F; }
public static Float real_unres_Float( double a ) { return -1.0F; }
public static Float real_unres_Float( Boolean a ) { return -1.0F; }
public static Float real_unres_Float( Byte a ) { return -1.0F; }
public static Float real_unres_Float( Short a ) { return -1.0F; }
public static Float real_unres_Float( Integer a ) { return -1.0F; }
public static Float real_unres_Float( Long a ) { return -1.0F; }
public static Float real_unres_Float( Double a ) { return -1.0F; }
public static Float real_unres_Float( BigDecimal a ) { return -1.0F; }
public static Float real_unres_Float( Date a ) { return -1.0F; }
public static Float real_unres_Float( Time a ) { return -1.0F; }
public static Float real_unres_Float( Timestamp a ) { return -1.0F; }
public static Float real_unres_Float( String a ) { return -1.0F; }
public static Float real_unres_Float( Clob a ) { return -1.0F; }
public static Float real_unres_Float( Blob a ) { return -1.0F; }
public static Float real_unres_Float( Object a ) { return -1.0F; }
//
// DOUBLE
//
// legal resolutions
public static double double_double_double( double a ) { return a; }
public static double double_double_double( boolean a ) { return -1.0; }
public static double double_double_double( byte a ) { return -1.0; }
public static double double_double_double( short a ) { return -1.0; }
public static double double_double_double( int a ) { return -1.0; }
public static double double_double_double( long a ) { return -1.0; }
public static double double_double_double( float a ) { return -1.0; }
public static double double_double_double( Boolean a ) { return -1.0; }
public static double double_double_double( Byte a ) { return -1.0; }
public static double double_double_double( Short a ) { return -1.0; }
public static double double_double_double( Integer a ) { return -1.0; }
public static double double_double_double( Long a ) { return -1.0; }
public static double double_double_double( Float a ) { return -1.0; }
public static double double_double_double( BigDecimal a ) { return -1.0; }
public static double double_double_double( Date a ) { return -1.0; }
public static double double_double_double( Time a ) { return -1.0; }
public static double double_double_double( Timestamp a ) { return -1.0; }
public static double double_double_double( String a ) { return -1.0; }
public static double double_double_double( Clob a ) { return -1.0; }
public static double double_double_double( Blob a ) { return -1.0; }
public static double double_double_double( Object a ) { return -1.0; }
public static double double_double_Double( Double a ) { return a.doubleValue(); }
public static double double_double_Double( boolean a ) { return -1.0; }
public static double double_double_Double( byte a ) { return -1.0; }
public static double double_double_Double( short a ) { return -1.0; }
public static double double_double_Double( int a ) { return -1.0; }
public static double double_double_Double( long a ) { return -1.0; }
public static double double_double_Double( float a ) { return -1.0; }
public static double double_double_Double( Boolean a ) { return -1.0; }
public static double double_double_Double( Byte a ) { return -1.0; }
public static double double_double_Double( Short a ) { return -1.0; }
public static double double_double_Double( Integer a ) { return -1.0; }
public static double double_double_Double( Long a ) { return -1.0; }
public static double double_double_Double( Float a ) { return -1.0; }
public static double double_double_Double( BigDecimal a ) { return -1.0; }
public static double double_double_Double( Date a ) { return -1.0; }
public static double double_double_Double( Time a ) { return -1.0; }
public static double double_double_Double( Timestamp a ) { return -1.0; }
public static double double_double_Double( String a ) { return -1.0; }
public static double double_double_Double( Clob a ) { return -1.0; }
public static double double_double_Double( Blob a ) { return -1.0; }
public static double double_double_Double( Object a ) { return -1.0; }
public static Double double_Double_double( double a ) { return a; }
public static Double double_Double_double( boolean a ) { return -1.0; }
public static Double double_Double_double( byte a ) { return -1.0; }
public static Double double_Double_double( short a ) { return -1.0; }
public static Double double_Double_double( int a ) { return -1.0; }
public static Double double_Double_double( long a ) { return -1.0; }
public static Double double_Double_double( float a ) { return -1.0; }
public static Double double_Double_double( Boolean a ) { return -1.0; }
public static Double double_Double_double( Byte a ) { return -1.0; }
public static Double double_Double_double( Short a ) { return -1.0; }
public static Double double_Double_double( Integer a ) { return -1.0; }
public static Double double_Double_double( Long a ) { return -1.0; }
public static Double double_Double_double( Float a ) { return -1.0; }
public static Double double_Double_double( BigDecimal a ) { return -1.0; }
public static Double double_Double_double( Date a ) { return -1.0; }
public static Double double_Double_double( Time a ) { return -1.0; }
public static Double double_Double_double( Timestamp a ) { return -1.0; }
public static Double double_Double_double( String a ) { return -1.0; }
public static Double double_Double_double( Clob a ) { return -1.0; }
public static Double double_Double_double( Blob a ) { return -1.0; }
public static Double double_Double_double( Object a ) { return -1.0; }
public static Double double_Double_Double( Double a ) { return a; }
public static Double double_Double_Double( boolean a ) { return -1.0; }
public static Double double_Double_Double( byte a ) { return -1.0; }
public static Double double_Double_Double( short a ) { return -1.0; }
public static Double double_Double_Double( int a ) { return -1.0; }
public static Double double_Double_Double( long a ) { return -1.0; }
public static Double double_Double_Double( float a ) { return -1.0; }
public static Double double_Double_Double( Boolean a ) { return -1.0; }
public static Double double_Double_Double( Byte a ) { return -1.0; }
public static Double double_Double_Double( Short a ) { return -1.0; }
public static Double double_Double_Double( Integer a ) { return -1.0; }
public static Double double_Double_Double( Long a ) { return -1.0; }
public static Double double_Double_Double( Float a ) { return -1.0; }
public static Double double_Double_Double( BigDecimal a ) { return -1.0; }
public static Double double_Double_Double( Date a ) { return -1.0; }
public static Double double_Double_Double( Time a ) { return -1.0; }
public static Double double_Double_Double( Timestamp a ) { return -1.0; }
public static Double double_Double_Double( String a ) { return -1.0; }
public static Double double_Double_Double( Clob a ) { return -1.0; }
public static Double double_Double_Double( Blob a ) { return -1.0; }
public static Double double_Double_Double( Object a ) { return -1.0; }
// bad return type
public static byte double_badreturn_byte_double( double a ) { return (byte) -1; }
// illegal ambiguity
public static double double_amb_double_double( double a ) { return -1.0; }
public static double double_amb_double_double( Double a ) { return -1.0; }
public static Double double_amb_Double_double( double a ) { return -1.0; }
public static Double double_amb_Double_double( Double a ) { return -1.0; }
public static byte double_amb_byte_double( double a ) { return (byte) -1; }
public static byte double_amb_byte_double( Double a ) { return (byte) -1; }
// unresolvable
public static double double_unres_double( boolean a ) { return -1.0; }
public static double double_unres_double( byte a ) { return -1.0; }
public static double double_unres_double( short a ) { return -1.0; }
public static double double_unres_double( int a ) { return -1.0; }
public static double double_unres_double( long a ) { return -1.0; }
public static double double_unres_double( float a ) { return -1.0; }
public static double double_unres_double( Boolean a ) { return -1.0; }
public static double double_unres_double( Byte a ) { return -1.0; }
public static double double_unres_double( Short a ) { return -1.0; }
public static double double_unres_double( Integer a ) { return -1.0; }
public static double double_unres_double( Long a ) { return -1.0; }
public static double double_unres_double( Float a ) { return -1.0; }
public static double double_unres_double( BigDecimal a ) { return -1.0; }
public static double double_unres_double( Date a ) { return -1.0; }
public static double double_unres_double( Time a ) { return -1.0; }
public static double double_unres_double( Timestamp a ) { return -1.0; }
public static double double_unres_double( String a ) { return -1.0; }
public static double double_unres_double( Clob a ) { return -1.0; }
public static double double_unres_double( Blob a ) { return -1.0; }
public static double double_unres_double( Object a ) { return -1.0; }
public static Double double_unres_Double( boolean a ) { return -1.0; }
public static Double double_unres_Double( byte a ) { return -1.0; }
public static Double double_unres_Double( short a ) { return -1.0; }
public static Double double_unres_Double( int a ) { return -1.0; }
public static Double double_unres_Double( long a ) { return -1.0; }
public static Double double_unres_Double( float a ) { return -1.0; }
public static Double double_unres_Double( Boolean a ) { return -1.0; }
public static Double double_unres_Double( Byte a ) { return -1.0; }
public static Double double_unres_Double( Short a ) { return -1.0; }
public static Double double_unres_Double( Integer a ) { return -1.0; }
public static Double double_unres_Double( Long a ) { return -1.0; }
public static Double double_unres_Double( Float a ) { return 1.0; }
public static Double double_unres_Double( BigDecimal a ) { return -1.0; }
public static Double double_unres_Double( Date a ) { return -1.0; }
public static Double double_unres_Double( Time a ) { return -1.0; }
public static Double double_unres_Double( Timestamp a ) { return -1.0; }
public static Double double_unres_Double( String a ) { return -1.0; }
public static Double double_unres_Double( Clob a ) { return -1.0; }
public static Double double_unres_Double( Blob a ) { return -1.0; }
public static Double double_unres_Double( Object a ) { return -1.0; }
//
// NUMERIC
//
// legal resolutions
public static BigDecimal numeric_BigDecimal_BigDecimal( BigDecimal a ) { return a; }
public static BigDecimal numeric_BigDecimal_BigDecimal( boolean a ) { return new BigDecimal( -1.0 ); }
public static BigDecimal numeric_BigDecimal_BigDecimal( byte a ) { return new BigDecimal( -1.0 ); }
public static BigDecimal numeric_BigDecimal_BigDecimal( int a ) { return new BigDecimal( -1.0 ); }
public static BigDecimal numeric_BigDecimal_BigDecimal( short a ) { return new BigDecimal( -1.0 ); }
public static BigDecimal numeric_BigDecimal_BigDecimal( long a ) { return new BigDecimal( -1.0 ); }
public static BigDecimal numeric_BigDecimal_BigDecimal( float a ) { return new BigDecimal( -1.0 ); }
public static BigDecimal numeric_BigDecimal_BigDecimal( double a ) { return new BigDecimal( -1.0 ); }
public static BigDecimal numeric_BigDecimal_BigDecimal( Boolean a ) { return new BigDecimal( -1.0 ); }
public static BigDecimal numeric_BigDecimal_BigDecimal( Byte a ) { return new BigDecimal( -1.0 ); }
public static BigDecimal numeric_BigDecimal_BigDecimal( Short a ) { return new BigDecimal( -1.0 ); }
public static BigDecimal numeric_BigDecimal_BigDecimal( Integer a ) { return new BigDecimal( -1.0 ); }
public static BigDecimal numeric_BigDecimal_BigDecimal( Long a ) { return new BigDecimal( -1.0 ); }
public static BigDecimal numeric_BigDecimal_BigDecimal( Float a ) { return new BigDecimal( -1.0 ); }
public static BigDecimal numeric_BigDecimal_BigDecimal( Double a ) { return new BigDecimal( -1.0 ); }
public static BigDecimal numeric_BigDecimal_BigDecimal( Date a ) { return new BigDecimal( -1.0 ); }
public static BigDecimal numeric_BigDecimal_BigDecimal( Time a ) { return new BigDecimal( -1.0 ); }
public static BigDecimal numeric_BigDecimal_BigDecimal( Timestamp a ) { return new BigDecimal( -1.0 ); }
public static BigDecimal numeric_BigDecimal_BigDecimal( String a ) { return new BigDecimal( -1.0 ); }
public static BigDecimal numeric_BigDecimal_BigDecimal( Clob a ) { return new BigDecimal( -1.0 ); }
public static BigDecimal numeric_BigDecimal_BigDecimal( Blob a ) { return new BigDecimal( -1.0 ); }
public static BigDecimal numeric_BigDecimal_BigDecimal( Object a ) { return new BigDecimal( -1.0 ); }
//
// DECIMAL
//
// legal resolutions
public static BigDecimal decimal_BigDecimal_BigDecimal( BigDecimal a ) { return a; }
public static BigDecimal decimal_BigDecimal_BigDecimal( boolean a ) { return new BigDecimal( -1.0 ); }
public static BigDecimal decimal_BigDecimal_BigDecimal( byte a ) { return new BigDecimal( -1.0 ); }
public static BigDecimal decimal_BigDecimal_BigDecimal( int a ) { return new BigDecimal( -1.0 ); }
public static BigDecimal decimal_BigDecimal_BigDecimal( short a ) { return new BigDecimal( -1.0 ); }
public static BigDecimal decimal_BigDecimal_BigDecimal( long a ) { return new BigDecimal( -1.0 ); }
public static BigDecimal decimal_BigDecimal_BigDecimal( float a ) { return new BigDecimal( -1.0 ); }
public static BigDecimal decimal_BigDecimal_BigDecimal( double a ) { return new BigDecimal( -1.0 ); }
public static BigDecimal decimal_BigDecimal_BigDecimal( Boolean a ) { return new BigDecimal( -1.0 ); }
public static BigDecimal decimal_BigDecimal_BigDecimal( Byte a ) { return new BigDecimal( -1.0 ); }
public static BigDecimal decimal_BigDecimal_BigDecimal( Short a ) { return new BigDecimal( -1.0 ); }
public static BigDecimal decimal_BigDecimal_BigDecimal( Integer a ) { return new BigDecimal( -1.0 ); }
public static BigDecimal decimal_BigDecimal_BigDecimal( Long a ) { return new BigDecimal( -1.0 ); }
public static BigDecimal decimal_BigDecimal_BigDecimal( Float a ) { return new BigDecimal( -1.0 ); }
public static BigDecimal decimal_BigDecimal_BigDecimal( Double a ) { return new BigDecimal( -1.0 ); }
public static BigDecimal decimal_BigDecimal_BigDecimal( Date a ) { return new BigDecimal( -1.0 ); }
public static BigDecimal decimal_BigDecimal_BigDecimal( Time a ) { return new BigDecimal( -1.0 ); }
public static BigDecimal decimal_BigDecimal_BigDecimal( Timestamp a ) { return new BigDecimal( -1.0 ); }
public static BigDecimal decimal_BigDecimal_BigDecimal( String a ) { return new BigDecimal( -1.0 ); }
public static BigDecimal decimal_BigDecimal_BigDecimal( Clob a ) { return new BigDecimal( -1.0 ); }
public static BigDecimal decimal_BigDecimal_BigDecimal( Blob a ) { return new BigDecimal( -1.0 ); }
public static BigDecimal decimal_BigDecimal_BigDecimal( Object a ) { return new BigDecimal( -1.0 ); }
//
// VARCHAR
//
// legal resolutions
public static String varchar_String_String( String a ) { return a; }
public static String varchar_String_String( boolean a ) { return "-1"; }
public static String varchar_String_String( byte a ) { return "-1"; }
public static String varchar_String_String( short a ) { return "-1"; }
public static String varchar_String_String( int a ) { return "-1"; }
public static String varchar_String_String( long a ) { return "-1"; }
public static String varchar_String_String( float a ) { return "-1"; }
public static String varchar_String_String( double a ) { return "-1"; }
public static String varchar_String_String( Boolean a ) { return "-1"; }
public static String varchar_String_String( Byte a ) { return "-1"; }
public static String varchar_String_String( Short a ) { return "-1"; }
public static String varchar_String_String( Integer a ) { return "-1"; }
public static String varchar_String_String( Long a ) { return "-1"; }
public static String varchar_String_String( Float a ) { return "-1"; }
public static String varchar_String_String( Double a ) { return "-1"; }
public static String varchar_String_String( Date a ) { return "-1"; }
public static String varchar_String_String( Time a ) { return "-1"; }
public static String varchar_String_String( Timestamp a ) { return "-1"; }
public static String varchar_String_String( Clob a ) { return "-1"; }
public static String varchar_String_String( Blob a ) { return "-1"; }
public static String varchar_String_String( Object a ) { return "-1"; }
//
// CHAR
//
// legal resolutions
public static String char_String_String( String a ) { return a; }
public static String char_String_String( boolean a ) { return "-1"; }
public static String char_String_String( byte a ) { return "-1"; }
public static String char_String_String( short a ) { return "-1"; }
public static String char_String_String( int a ) { return "-1"; }
public static String char_String_String( long a ) { return "-1"; }
public static String char_String_String( float a ) { return "-1"; }
public static String char_String_String( double a ) { return "-1"; }
public static String char_String_String( Boolean a ) { return "-1"; }
public static String char_String_String( Byte a ) { return "-1"; }
public static String char_String_String( Short a ) { return "-1"; }
public static String char_String_String( Integer a ) { return "-1"; }
public static String char_String_String( Long a ) { return "-1"; }
public static String char_String_String( Float a ) { return "-1"; }
public static String char_String_String( Double a ) { return "-1"; }
public static String char_String_String( Date a ) { return "-1"; }
public static String char_String_String( Time a ) { return "-1"; }
public static String char_String_String( Timestamp a ) { return "-1"; }
public static String char_String_String( Clob a ) { return "-1"; }
public static String char_String_String( Blob a ) { return "-1"; }
public static String char_String_String( Object a ) { return "-1"; }
//
// LONGVARCHAR
//
// legal resolutions
public static String longvarchar_String_String( String a ) { return a; }
public static String longvarchar_String_String( boolean a ) { return "-1"; }
public static String longvarchar_String_String( byte a ) { return "-1"; }
public static String longvarchar_String_String( short a ) { return "-1"; }
public static String longvarchar_String_String( int a ) { return "-1"; }
public static String longvarchar_String_String( long a ) { return "-1"; }
public static String longvarchar_String_String( float a ) { return "-1"; }
public static String longvarchar_String_String( double a ) { return "-1"; }
public static String longvarchar_String_String( Boolean a ) { return "-1"; }
public static String longvarchar_String_String( Byte a ) { return "-1"; }
public static String longvarchar_String_String( Short a ) { return "-1"; }
public static String longvarchar_String_String( Integer a ) { return "-1"; }
public static String longvarchar_String_String( Long a ) { return "-1"; }
public static String longvarchar_String_String( Float a ) { return "-1"; }
public static String longvarchar_String_String( Double a ) { return "-1"; }
public static String longvarchar_String_String( Date a ) { return "-1"; }
public static String longvarchar_String_String( Time a ) { return "-1"; }
public static String longvarchar_String_String( Timestamp a ) { return "-1"; }
public static String longvarchar_String_String( Clob a ) { return "-1"; }
public static String longvarchar_String_String( Blob a ) { return "-1"; }
public static String longvarchar_String_String( Object a ) { return "-1"; }
//
// Mixed types
//
public static long bigint__smallint_int_bigint_real_double
(
short a,
Integer b,
long c,
Float d,
double e
)
{ return c; }
public static Long flipped_bigint__smallint_int_bigint_real_double
(
Integer a,
int b,
Long c,
float d,
Double e
)
{ return c; }
//
// BINARY
//
// legal resolutions
public static byte[] binary_bytes_bytes( byte[] a ) { return a; }
public static byte[] binary_bytes_bytes( boolean a ) { return new byte[] { (byte) -1 }; }
public static byte[] binary_bytes_bytes( byte a ) { return new byte[] { (byte) -1 }; }
public static byte[] binary_bytes_bytes( int a ) { return new byte[] { (byte) -1 }; }
public static byte[] binary_bytes_bytes( long a ) { return new byte[] { (byte) -1 }; }
public static byte[] binary_bytes_bytes( float a ) { return new byte[] { (byte) -1 }; }
public static byte[] binary_bytes_bytes( double a ) { return new byte[] { (byte) -1 }; }
public static byte[] binary_bytes_bytes( Boolean a ) { return new byte[] { (byte) -1 }; }
public static byte[] binary_bytes_bytes( Byte a ) { return new byte[] { (byte) -1 }; }
public static byte[] binary_bytes_bytes( Short a ) { return new byte[] { (byte) -1 }; }
public static byte[] binary_bytes_bytes( Long a ) { return new byte[] { (byte) -1 }; }
public static byte[] binary_bytes_bytes( Float a ) { return new byte[] { (byte) -1 }; }
public static byte[] binary_bytes_bytes( Double a ) { return new byte[] { (byte) -1 }; }
public static byte[] binary_bytes_bytes( BigDecimal a ) { return new byte[] { (byte) -1 }; }
public static byte[] binary_bytes_bytes( Date a ) { return new byte[] { (byte) -1 }; }
public static byte[] binary_bytes_bytes( Time a ) { return new byte[] { (byte) -1 }; }
public static byte[] binary_bytes_bytes( Timestamp a ) { return new byte[] { (byte) -1 }; }
public static byte[] binary_bytes_bytes( String a ) { return new byte[] { (byte) -1 }; }
public static byte[] binary_bytes_bytes( Clob a ) { return new byte[] { (byte) -1 }; }
public static byte[] binary_bytes_bytes( Blob a ) { return new byte[] { (byte) -1 }; }
public static byte[] binary_bytes_bytes( Object a ) { return new byte[] { (byte) -1 }; }
public static byte[] binary_bytes_int( int a ) { return new byte[] { (byte) a }; }
// bad return type
public static int binary_badreturn_bytes_bytes( byte[] a ) { return -1; }
//
// VARBINARY
//
// legal resolutions
public static byte[] varbinary_bytes_bytes( byte[] a ) { return a; }
public static byte[] varbinary_bytes_bytes( boolean a ) { return new byte[] { (byte) -1 }; }
public static byte[] varbinary_bytes_bytes( byte a ) { return new byte[] { (byte) -1 }; }
public static byte[] varbinary_bytes_bytes( int a ) { return new byte[] { (byte) -1 }; }
public static byte[] varbinary_bytes_bytes( long a ) { return new byte[] { (byte) -1 }; }
public static byte[] varbinary_bytes_bytes( float a ) { return new byte[] { (byte) -1 }; }
public static byte[] varbinary_bytes_bytes( double a ) { return new byte[] { (byte) -1 }; }
public static byte[] varbinary_bytes_bytes( Boolean a ) { return new byte[] { (byte) -1 }; }
public static byte[] varbinary_bytes_bytes( Byte a ) { return new byte[] { (byte) -1 }; }
public static byte[] varbinary_bytes_bytes( Short a ) { return new byte[] { (byte) -1 }; }
public static byte[] varbinary_bytes_bytes( Long a ) { return new byte[] { (byte) -1 }; }
public static byte[] varbinary_bytes_bytes( Float a ) { return new byte[] { (byte) -1 }; }
public static byte[] varbinary_bytes_bytes( Double a ) { return new byte[] { (byte) -1 }; }
public static byte[] varbinary_bytes_bytes( BigDecimal a ) { return new byte[] { (byte) -1 }; }
public static byte[] varbinary_bytes_bytes( Date a ) { return new byte[] { (byte) -1 }; }
public static byte[] varbinary_bytes_bytes( Time a ) { return new byte[] { (byte) -1 }; }
public static byte[] varbinary_bytes_bytes( Timestamp a ) { return new byte[] { (byte) -1 }; }
public static byte[] varbinary_bytes_bytes( String a ) { return new byte[] { (byte) -1 }; }
public static byte[] varbinary_bytes_bytes( Clob a ) { return new byte[] { (byte) -1 }; }
public static byte[] varbinary_bytes_bytes( Blob a ) { return new byte[] { (byte) -1 }; }
public static byte[] varbinary_bytes_bytes( Object a ) { return new byte[] { (byte) -1 }; }
public static byte[] varbinary_bytes_int( int a ) { return new byte[] { (byte) a }; }
// bad return type
public static int varbinary_badreturn_bytes_bytes( byte[] a ) { return -1; }
//
// LONGVARBINARY
//
// legal resolutions
public static byte[] longvarbinary_bytes_bytes( byte[] a ) { return a; }
public static byte[] longvarbinary_bytes_bytes( boolean a ) { return new byte[] { (byte) -1 }; }
public static byte[] longvarbinary_bytes_bytes( byte a ) { return new byte[] { (byte) -1 }; }
public static byte[] longvarbinary_bytes_bytes( int a ) { return new byte[] { (byte) -1 }; }
public static byte[] longvarbinary_bytes_bytes( long a ) { return new byte[] { (byte) -1 }; }
public static byte[] longvarbinary_bytes_bytes( float a ) { return new byte[] { (byte) -1 }; }
public static byte[] longvarbinary_bytes_bytes( double a ) { return new byte[] { (byte) -1 }; }
public static byte[] longvarbinary_bytes_bytes( Boolean a ) { return new byte[] { (byte) -1 }; }
public static byte[] longvarbinary_bytes_bytes( Byte a ) { return new byte[] { (byte) -1 }; }
public static byte[] longvarbinary_bytes_bytes( Short a ) { return new byte[] { (byte) -1 }; }
public static byte[] longvarbinary_bytes_bytes( Long a ) { return new byte[] { (byte) -1 }; }
public static byte[] longvarbinary_bytes_bytes( Float a ) { return new byte[] { (byte) -1 }; }
public static byte[] longvarbinary_bytes_bytes( Double a ) { return new byte[] { (byte) -1 }; }
public static byte[] longvarbinary_bytes_bytes( BigDecimal a ) { return new byte[] { (byte) -1 }; }
public static byte[] longvarbinary_bytes_bytes( Date a ) { return new byte[] { (byte) -1 }; }
public static byte[] longvarbinary_bytes_bytes( Time a ) { return new byte[] { (byte) -1 }; }
public static byte[] longvarbinary_bytes_bytes( Timestamp a ) { return new byte[] { (byte) -1 }; }
public static byte[] longvarbinary_bytes_bytes( String a ) { return new byte[] { (byte) -1 }; }
public static byte[] longvarbinary_bytes_bytes( Clob a ) { return new byte[] { (byte) -1 }; }
public static byte[] longvarbinary_bytes_bytes( Blob a ) { return new byte[] { (byte) -1 }; }
public static byte[] longvarbinary_bytes_bytes( Object a ) { return new byte[] { (byte) -1 }; }
public static byte[] longvarbinary_bytes_int( int a ) { return new byte[] { (byte) a }; }
// bad return type
public static int longvarbinary_badreturn_bytes_bytes( byte[] a ) { return -1; }
//
// DATE
//
// legal resolutions
public static Date date_Date_Date( Date a ) { return a; }
public static Date date_Date_Date( boolean a ) { return new Date( -1L ); }
public static Date date_Date_Date( byte a ) { return new Date( -1L ); }
public static Date date_Date_Date( short a ) { return new Date( -1L ); }
public static Date date_Date_Date( int a ) { return new Date( -1L ); }
public static Date date_Date_Date( long a ) { return new Date( -1L ); }
public static Date date_Date_Date( float a ) { return new Date( -1L ); }
public static Date date_Date_Date( double a ) { return new Date( -1L ); }
public static Date date_Date_Date( Boolean a ) { return new Date( -1L ); }
public static Date date_Date_Date( Byte a ) { return new Date( -1L ); }
public static Date date_Date_Date( Short a ) { return new Date( -1L ); }
public static Date date_Date_Date( Integer a ) { return new Date( -1L ); }
public static Date date_Date_Date( Long a ) { return new Date( -1L ); }
public static Date date_Date_Date( Float a ) { return new Date( -1L ); }
public static Date date_Date_Date( Double a ) { return new Date( -1L ); }
public static Date date_Date_Date( Time a ) { return new Date( -1L ); }
public static Date date_Date_Date( Timestamp a ) { return new Date( -1L ); }
public static Date date_Date_Date( String a ) { return new Date( -1L ); }
public static Date date_Date_Date( Clob a ) { return new Date( -1L ); }
public static Date date_Date_Date( Blob a ) { return new Date( -1L ); }
public static Date date_Date_Date( Object a ) { return new Date( -1L ); }
//
// TIME
//
// legal resolutions
public static Time time_Time_Time( Time a ) { return a; }
public static Time time_Time_Time( boolean a ) { return new Time( -1L ); }
public static Time time_Time_Time( byte a ) { return new Time( -1L ); }
public static Time time_Time_Time( short a ) { return new Time( -1L ); }
public static Time time_Time_Time( int a ) { return new Time( -1L ); }
public static Time time_Time_Time( long a ) { return new Time( -1L ); }
public static Time time_Time_Time( float a ) { return new Time( -1L ); }
public static Time time_Time_Time( double a ) { return new Time( -1L ); }
public static Time time_Time_Time( Boolean a ) { return new Time( -1L ); }
public static Time time_Time_Time( Byte a ) { return new Time( -1L ); }
public static Time time_Time_Time( Short a ) { return new Time( -1L ); }
public static Time time_Time_Time( Integer a ) { return new Time( -1L ); }
public static Time time_Time_Time( Long a ) { return new Time( -1L ); }
public static Time time_Time_Time( Float a ) { return new Time( -1L ); }
public static Time time_Time_Time( Double a ) { return new Time( -1L ); }
public static Time time_Time_Time( Date a ) { return new Time( -1L ); }
public static Time time_Time_Time( Timestamp a ) { return new Time( -1L ); }
public static Time time_Time_Time( String a ) { return new Time( -1L ); }
public static Time time_Time_Time( Clob a ) { return new Time( -1L ); }
public static Time time_Time_Time( Blob a ) { return new Time( -1L ); }
public static Time time_Time_Time( Object a ) { return new Time( -1L ); }
//
// TIMESTAMP
//
// legal resolutions
public static Timestamp timestamp_Timestamp_Timestamp( Timestamp a ) { return a; }
public static Timestamp timestamp_Timestamp_Timestamp( boolean a ) { return new Timestamp( -1L ); }
public static Timestamp timestamp_Timestamp_Timestamp( byte a ) { return new Timestamp( -1L ); }
public static Timestamp timestamp_Timestamp_Timestamp( short a ) { return new Timestamp( -1L ); }
public static Timestamp timestamp_Timestamp_Timestamp( int a ) { return new Timestamp( -1L ); }
public static Timestamp timestamp_Timestamp_Timestamp( long a ) { return new Timestamp( -1L ); }
public static Timestamp timestamp_Timestamp_Timestamp( float a ) { return new Timestamp( -1L ); }
public static Timestamp timestamp_Timestamp_Timestamp( double a ) { return new Timestamp( -1L ); }
public static Timestamp timestamp_Timestamp_Timestamp( Boolean a ) { return new Timestamp( -1L ); }
public static Timestamp timestamp_Timestamp_Timestamp( Byte a ) { return new Timestamp( -1L ); }
public static Timestamp timestamp_Timestamp_Timestamp( Short a ) { return new Timestamp( -1L ); }
public static Timestamp timestamp_Timestamp_Timestamp( Integer a ) { return new Timestamp( -1L ); }
public static Timestamp timestamp_Timestamp_Timestamp( Long a ) { return new Timestamp( -1L ); }
public static Timestamp timestamp_Timestamp_Timestamp( Float a ) { return new Timestamp( -1L ); }
public static Timestamp timestamp_Timestamp_Timestamp( Double a ) { return new Timestamp( -1L ); }
public static Timestamp timestamp_Timestamp_Timestamp( Date a ) { return new Timestamp( -1L ); }
public static Timestamp timestamp_Timestamp_Timestamp( Time a ) { return new Timestamp( -1L ); }
public static Timestamp timestamp_Timestamp_Timestamp( String a ) { return new Timestamp( -1L ); }
public static Timestamp timestamp_Timestamp_Timestamp( Clob a ) { return new Timestamp( -1L ); }
public static Timestamp timestamp_Timestamp_Timestamp( Blob a ) { return new Timestamp( -1L ); }
public static Timestamp timestamp_Timestamp_Timestamp( Object a ) { return new Timestamp( -1L ); }
//
// CLOB
//
// legal resolutions
public static Clob clob_Clob_String( String a ) { return new HarmonySerialClob( a ); }
public static Clob clob_Clob_String( boolean a ) { return new HarmonySerialClob( "-1" ); }
public static Clob clob_Clob_String( byte a ) { return new HarmonySerialClob( "-1" ); }
public static Clob clob_Clob_String( int a ) { return new HarmonySerialClob( "-1" ); }
public static Clob clob_Clob_String( long a ) { return new HarmonySerialClob( "-1" ); }
public static Clob clob_Clob_String( float a ) { return new HarmonySerialClob( "-1" ); }
public static Clob clob_Clob_String( double a ) { return new HarmonySerialClob( "-1" ); }
public static Clob clob_Clob_String( Boolean a ) { return new HarmonySerialClob( "-1" ); }
public static Clob clob_Clob_String( Byte a ) { return new HarmonySerialClob( "-1" ); }
public static Clob clob_Clob_String( Short a ) { return new HarmonySerialClob( "-1" ); }
public static Clob clob_Clob_String( Long a ) { return new HarmonySerialClob( "-1" ); }
public static Clob clob_Clob_String( Float a ) { return new HarmonySerialClob( "-1" ); }
public static Clob clob_Clob_String( Double a ) { return new HarmonySerialClob( "-1" ); }
public static Clob clob_Clob_String( BigDecimal a ) { return new HarmonySerialClob( "-1" ); }
public static Clob clob_Clob_String( Date a ) { return new HarmonySerialClob( "-1" ); }
public static Clob clob_Clob_String( Time a ) { return new HarmonySerialClob( "-1" ); }
public static Clob clob_Clob_String( Timestamp a ) { return new HarmonySerialClob( "-1" ); }
public static Clob clob_Clob_String( Clob a ) { return new HarmonySerialClob( "-1" ); }
public static Clob clob_Clob_String( Blob a ) { return new HarmonySerialClob( "-1" ); }
public static Clob clob_Clob_String( Object a ) { return new HarmonySerialClob( "-1" ); }
//
// BLOB
//
// legal resolutions
public static Blob blob_Blob_String( String a ) throws Exception { return new HarmonySerialBlob( a.getBytes( "UTF-8" ) ); }
public static Blob blob_Blob_String( boolean a ) throws SQLException { return new HarmonySerialBlob( new byte[] { (byte) -1 } ); }
public static Blob blob_Blob_String( byte a ) throws SQLException { return new HarmonySerialBlob( new byte[] { (byte) -1 } ); }
public static Blob blob_Blob_String( int a ) throws SQLException { return new HarmonySerialBlob( new byte[] { (byte) -1 } ); }
public static Blob blob_Blob_String( long a ) throws SQLException { return new HarmonySerialBlob( new byte[] { (byte) -1 } ); }
public static Blob blob_Blob_String( float a ) throws SQLException { return new HarmonySerialBlob( new byte[] { (byte) -1 } ); }
public static Blob blob_Blob_String( double a ) throws SQLException { return new HarmonySerialBlob( new byte[] { (byte) -1 } ); }
public static Blob blob_Blob_String( Boolean a ) throws SQLException { return new HarmonySerialBlob( new byte[] { (byte) -1 } ); }
public static Blob blob_Blob_String( Byte a ) throws SQLException { return new HarmonySerialBlob( new byte[] { (byte) -1 } ); }
public static Blob blob_Blob_String( Short a ) throws SQLException { return new HarmonySerialBlob( new byte[] { (byte) -1 } ); }
public static Blob blob_Blob_String( Long a ) throws SQLException { return new HarmonySerialBlob( new byte[] { (byte) -1 } ); }
public static Blob blob_Blob_String( Float a ) throws SQLException { return new HarmonySerialBlob( new byte[] { (byte) -1 } ); }
public static Blob blob_Blob_String( Double a ) throws SQLException { return new HarmonySerialBlob( new byte[] { (byte) -1 } ); }
public static Blob blob_Blob_String( BigDecimal a ) throws SQLException { return new HarmonySerialBlob( new byte[] { (byte) -1 } ); }
public static Blob blob_Blob_String( Date a ) throws SQLException { return new HarmonySerialBlob( new byte[] { (byte) -1 } ); }
public static Blob blob_Blob_String( Time a ) throws SQLException { return new HarmonySerialBlob( new byte[] { (byte) -1 } ); }
public static Blob blob_Blob_String( Timestamp a ) throws SQLException { return new HarmonySerialBlob( new byte[] { (byte) -1 } ); }
public static Blob blob_Blob_String( Clob a ) throws SQLException { return new HarmonySerialBlob( new byte[] { (byte) -1 } ); }
public static Blob blob_Blob_String( Blob a ) throws SQLException { return new HarmonySerialBlob( new byte[] { (byte) -1 } ); }
public static Blob blob_Blob_String( Object a ) throws SQLException { return new HarmonySerialBlob( new byte[] { (byte) -1 } ); }
//
// BLOB arguments
//
public static String varchar_Blob_Blob( Blob a ) throws Exception { return new String( a.getBytes( 1L, (int) a.length() ), "UTF-8" ); }
public static String varchar_Blob_Blob( byte a ) { return "-1"; }
public static String varchar_Blob_Blob( int a ) { return "-1"; }
public static String varchar_Blob_Blob( long a ) { return "-1"; }
public static String varchar_Blob_Blob( float a ) { return "-1"; }
public static String varchar_Blob_Blob( double a ) { return "-1"; }
public static String varchar_Blob_Blob( Byte a ) { return "-1"; }
public static String varchar_Blob_Blob( Short a ) { return "-1"; }
public static String varchar_Blob_Blob( Long a ) { return "-1"; }
public static String varchar_Blob_Blob( Float a ) { return "-1"; }
public static String varchar_Blob_Blob( Double a ) { return "-1"; }
public static String varchar_Blob_Blob( BigDecimal a ) { return "-1"; }
public static String varchar_Blob_Blob( Date a ) { return "-1"; }
public static String varchar_Blob_Blob( Time a ) { return "-1"; }
public static String varchar_Blob_Blob( Timestamp a ) { return "-1"; }
public static String varchar_Blob_Blob( Clob a ) { return "-1"; }
public static String varchar_Blob_Blob( String a ) { return "-1"; }
public static String varchar_Blob_Blob( Object a ) { return "-1"; }
//
// CLOB arguments
//
public static String varchar_Clob_Clob( Clob a ) throws Exception { return a.getSubString( 1L, (int) a.length() ); }
public static String varchar_Clob_Clob( byte a ) { return "-1"; }
public static String varchar_Clob_Clob( int a ) { return "-1"; }
public static String varchar_Clob_Clob( long a ) { return "-1"; }
public static String varchar_Clob_Clob( float a ) { return "-1"; }
public static String varchar_Clob_Clob( double a ) { return "-1"; }
public static String varchar_Clob_Clob( Byte a ) { return "-1"; }
public static String varchar_Clob_Clob( Short a ) { return "-1"; }
public static String varchar_Clob_Clob( Long a ) { return "-1"; }
public static String varchar_Clob_Clob( Float a ) { return "-1"; }
public static String varchar_Clob_Clob( Double a ) { return "-1"; }
public static String varchar_Clob_Clob( BigDecimal a ) { return "-1"; }
public static String varchar_Clob_Clob( Date a ) { return "-1"; }
public static String varchar_Clob_Clob( Time a ) { return "-1"; }
public static String varchar_Clob_Clob( Timestamp a ) { return "-1"; }
public static String varchar_Clob_Clob( Blob a ) { return "-1"; }
public static String varchar_Clob_Clob( String a ) { return "-1"; }
public static String varchar_Clob_Clob( Object a ) { return "-1"; }
//
// Procedure with OUT parameters of wrapper type
//
public static void wrapperProc
(
Long[] bigintarg,
Boolean[] booleanarg,
Double[] doublearg,
Double[] floatarg,
Integer[] intarg,
Float[] realarg,
Integer[] smallintarg
)
{
bigintarg[ 0 ] = 1L;
booleanarg[ 0 ] = Boolean.TRUE;
doublearg[ 0 ] = 1.0;
floatarg[ 0 ] = 1.0;
intarg[ 0 ] = 1;
realarg[ 0 ] = 1.0F;
smallintarg[ 0 ] = 1;
}
}