Package com.spotfire.ws.im.ds
Class ProcedureMetadata.Parameter
java.lang.Object
com.spotfire.ws.im.ds.ProcedureMetadata.Parameter
- Enclosing class:
- ProcedureMetadata
This class implements a representation of metadata for an in-parameter for
a stored procedure.
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
NULLABLE
public static final int NULLABLENull allowed.- See Also:
-
NO_NULLS
public static final int NO_NULLSNull not allowed.- See Also:
-
NULLABLE_UNKNOWN
public static final int NULLABLE_UNKNOWNNullable unknown.- See Also:
-
TYPE_ATTR
Type attribute.- See Also:
-
PARAMETER_DATA_TYPE_ATTR
Data type attribute.- See Also:
-
NULLABLE_ATTR
Nullable.- See Also:
-
-
Constructor Details
-
Parameter
Creates a new metadata representation for a stored procedure parameter.- Parameters:
name
- The name of the parametertype
- The parameter type;description
- Description text. May be null.dataType
- Data type.nullable
- NULLABLE, NO_NULLS or NULLABLE_UNKNOWN.
-
-
Method Details
-
getName
Returns parameter name.- Returns:
- the name
-
getType
Returns parameter type.- Returns:
- the type
-
getDataType
Returns data type.- Returns:
- the data type
-
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
Returnsnullable
value as string.- Returns:
- the nullable string
-