Class ProcedureMetadata.Parameter

  • Enclosing class:
    ProcedureMetadata

    public static final class ProcedureMetadata.Parameter
    extends Object
    This class implements a representation of metadata for an in-parameter for a stored procedure.
    • Constructor Detail

      • Parameter

        public Parameter​(String name,
                         String type,
                         String description,
                         String dataType,
                         int nullable)
        Creates a new metadata representation for a stored procedure parameter.
        Parameters:
        name - The name of the parameter
        type - The parameter type;
        description - Description text. May be null.
        dataType - Data type.
        nullable - NULLABLE, NO_NULLS or NULLABLE_UNKNOWN.
    • Method Detail

      • getName

        public String getName()
        Returns parameter name.
        Returns:
        the name
      • getType

        public String getType()
        Returns parameter type.
        Returns:
        the type
      • getDataType

        public String getDataType()
        Returns data type.
        Returns:
        the data type
      • getDescription

        public String getDescription()
        Returns parameter description.
        Returns:
        the description
      • getNullable

        public int getNullable()
        Returns one of the following values: NULLABLE, NO_NULLS or NULLABLE_UNKNOWN.
        Returns:
        the nullable value
      • getNullableString

        public String getNullableString()
        Returns nullable value as string.
        Returns:
        the nullable string