public class StoredProcedureParameter extends Object
@Target({TYPE}) @Retention(RUNTIME) public @interface StoredProcedureParameter { String name() default ""; ParameterMode mode() default ParameterMode.IN; Class type(); }
<p>Java class for stored-procedure-parameter complex type.
<p>The following schema fragment specifies the expected content contained within this class.
<pre> <complexType name="stored-procedure-parameter"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> </sequence> <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="class" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="mode" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}parameter-mode" /> </restriction> </complexContent> </complexType> </pre>
| Modifier and Type | Field and Description |
|---|---|
protected String |
clazz |
protected String |
description |
protected ParameterMode |
mode |
protected String |
name |
| Constructor and Description |
|---|
StoredProcedureParameter() |
| Modifier and Type | Method and Description |
|---|---|
String |
getClazz()
Gets the value of the clazz property.
|
String |
getDescription()
Gets the value of the description property.
|
ParameterMode |
getMode()
Gets the value of the mode property.
|
String |
getName()
Gets the value of the name property.
|
void |
setClazz(String value)
Sets the value of the clazz property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setMode(ParameterMode value)
Sets the value of the mode property.
|
void |
setName(String value)
Sets the value of the name property.
|
protected String description
protected String name
protected String clazz
protected ParameterMode mode
public String getDescription()
Gets the value of the description property.
Stringpublic void setDescription(String value)
Sets the value of the description property.
value - allowed object is
Stringpublic String getName()
Gets the value of the name property.
Stringpublic void setName(String value)
Sets the value of the name property.
value - allowed object is
Stringpublic String getClazz()
Gets the value of the clazz property.
Stringpublic void setClazz(String value)
Sets the value of the clazz property.
value - allowed object is
Stringpublic ParameterMode getMode()
Gets the value of the mode property.
ParameterModepublic void setMode(ParameterMode value)
Sets the value of the mode property.
value - allowed object is
ParameterModeCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.