pljava 1.0.0

org.postgresql.pljava.example
Class Parameters

java.lang.Object
  extended byorg.postgresql.pljava.example.Parameters

public class Parameters
extends java.lang.Object

Some methods used for testing parameter and return value coersion and resolution of overloaded methods.

Author:
Thomas Hallgren

Constructor Summary
Parameters()
           
 
Method Summary
static double addNumbers(short a, int b, long c, java.math.BigDecimal d, java.math.BigDecimal e, float f, double g)
           
static int addOne(int value)
           
static int addOne(java.lang.Integer value)
           
static int addOneLong(long value)
           
static java.sql.Date getDate()
           
static java.sql.Time getTime()
           
static java.sql.Timestamp getTimestamp()
           
static java.lang.Integer nullOnEven(int value)
           
static void print(java.sql.Date time)
           
static void print(java.sql.Time time)
           
static void print(java.sql.Timestamp time)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Parameters

public Parameters()
Method Detail

addOne

public static int addOne(int value)

addOne

public static int addOne(java.lang.Integer value)

nullOnEven

public static java.lang.Integer nullOnEven(int value)

addOneLong

public static int addOneLong(long value)

addNumbers

public static double addNumbers(short a,
                                int b,
                                long c,
                                java.math.BigDecimal d,
                                java.math.BigDecimal e,
                                float f,
                                double g)

getDate

public static java.sql.Date getDate()

getTime

public static java.sql.Time getTime()

getTimestamp

public static java.sql.Timestamp getTimestamp()

print

public static void print(java.sql.Date time)

print

public static void print(java.sql.Time time)

print

public static void print(java.sql.Timestamp time)

pljava 1.0.0