org.modeshape.connector.meta.jdbc
Class ProcedureMetadata

java.lang.Object
  extended by org.modeshape.connector.meta.jdbc.ProcedureMetadata

public class ProcedureMetadata
extends Object

Container for column-level metadata. The fields in this class roughly parallel the information returned from the DatabaseMetaData.getProcedures(String, String, String) method.


Constructor Summary
ProcedureMetadata(String name, String description, int type)
           
 
Method Summary
 String getDescription()
           
 String getName()
           
 int getType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcedureMetadata

public ProcedureMetadata(String name,
                         String description,
                         int type)
Method Detail

getName

public String getName()
Returns:
the procedure name (PROCEDURE_NAME in the DatabaseMetaData.getProcedures(String, String, String) result set).

getDescription

public String getDescription()
Returns:
the procedure description (REMARKS in the DatabaseMetaData.getProcedures(String, String, String) result set).

getType

public int getType()
Returns:
the kind of procedure (PROCEDURE_TYPE in the DatabaseMetaData.getProcedures(String, String, String) result set).


Copyright © 2008-2010 JBoss, a division of Red Hat. All Rights Reserved.