public class QueryHint extends Object
@Target({}) @Retention(RUNTIME) public @interface QueryHint { String name(); String value(); }
<p>Java class for query-hint complex type.
<p>The following schema fragment specifies the expected content contained within this class.
<pre> <complexType name="query-hint"> <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" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType> </pre>
| Modifier and Type | Field and Description |
|---|---|
protected String |
description |
protected String |
name |
protected String |
value |
| Constructor and Description |
|---|
QueryHint() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Gets the value of the description property.
|
String |
getName()
Gets the value of the name property.
|
String |
getValue()
Gets the value of the value property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setValue(String value)
Sets the value of the value property.
|
protected String description
protected String name
protected String value
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 getValue()
Gets the value of the value property.
StringCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.