org.springframework.jdbc.core.metadata

Class CallParameterMetaData

  • java.lang.Object
    • org.springframework.jdbc.core.metadata.CallParameterMetaData


  • public class CallParameterMetaData
    extends java.lang.Object
    Holder of meta-data for a specific parameter that is used for call processing.
    Since:
    2.5
    Author:
    Thomas Risberg, Juergen Hoeller
    See Also:
    GenericCallMetaDataProvider
    • Constructor Summary

      Constructors 
      Constructor and Description
      CallParameterMetaData(java.lang.String columnName, int columnType, int sqlType, java.lang.String typeName, boolean nullable)
      Constructor taking all the properties.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getParameterName()
      Get the parameter name.
      int getParameterType()
      Get the parameter type.
      int getSqlType()
      Get the parameter SQL type.
      java.lang.String getTypeName()
      Get the parameter type name.
      boolean isNullable()
      Get whether the parameter is nullable.
      boolean isReturnParameter()
      Determine whether the declared parameter qualifies as a 'return' parameter for our purposes: type DatabaseMetaData.procedureColumnReturn or DatabaseMetaData.procedureColumnResult.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CallParameterMetaData

        public CallParameterMetaData(@Nullable
                                     java.lang.String columnName,
                                     int columnType,
                                     int sqlType,
                                     @Nullable
                                     java.lang.String typeName,
                                     boolean nullable)
        Constructor taking all the properties.
    • Method Detail

      • getParameterName

        @Nullable
        public java.lang.String getParameterName()
        Get the parameter name.
      • getParameterType

        public int getParameterType()
        Get the parameter type.
      • isReturnParameter

        public boolean isReturnParameter()
        Determine whether the declared parameter qualifies as a 'return' parameter for our purposes: type DatabaseMetaData.procedureColumnReturn or DatabaseMetaData.procedureColumnResult.
        Since:
        4.3.15
      • getSqlType

        public int getSqlType()
        Get the parameter SQL type.
      • getTypeName

        @Nullable
        public java.lang.String getTypeName()
        Get the parameter type name.
      • isNullable

        public boolean isNullable()
        Get whether the parameter is nullable.