schemacrawler.schema
Enum ProcedureColumnType

java.lang.Object
  extended by java.lang.Enum<ProcedureColumnType>
      extended by schemacrawler.schema.ProcedureColumnType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ProcedureColumnType>

public enum ProcedureColumnType
extends java.lang.Enum<ProcedureColumnType>

An enumeration wrapper around procedure column types.


Enum Constant Summary
in
          In.
inOut
          In/ out.
out
          Out.
result
          Return.
returnValue
          Return.
unknown
          Unknown.
 
Method Summary
 int getId()
          Gets the id.
 java.lang.String toString()
          
static ProcedureColumnType valueOf(int id)
          Gets the enum value from the integer.
static ProcedureColumnType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ProcedureColumnType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

unknown

public static final ProcedureColumnType unknown
Unknown.


in

public static final ProcedureColumnType in
In.


inOut

public static final ProcedureColumnType inOut
In/ out.


out

public static final ProcedureColumnType out
Out.


returnValue

public static final ProcedureColumnType returnValue
Return.


result

public static final ProcedureColumnType result
Return.

Method Detail

values

public static ProcedureColumnType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ProcedureColumnType c : ProcedureColumnType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ProcedureColumnType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

valueOf

public static ProcedureColumnType valueOf(int id)
Gets the enum value from the integer.

Parameters:
id - Id of the integer
Returns:
ForeignKeyDeferrability

getId

public int getId()
Gets the id.

Returns:
id

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Enum<ProcedureColumnType>
See Also:
Object.toString()


Copyright © 2003-2009 Sualeh Fatehi. All Rights Reserved.