Top Description Fields Constructors Methods
org.hibernate.boot.jaxb.mapping.spi

public Class JaxbQueryHint

extends Object
implements Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable
Annotations
@XmlAccessorType:FIELD
@XmlType
name:query-hint
namespace:http://xmlns.jcp.org/xml/ns/persistence/orm
propOrder:description
Imports
java.io.Serializable, javax.xml.bind.annotation.XmlAccessType, .XmlAccessorType, .XmlAttribute, .XmlElement, .XmlType

@Target({}) @Retention(RUNTIME) public @interface QueryHint { String name(); String value(); }

Java class for query-hint complex type.

The following schema fragment specifies the expected content contained within this class.

<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>

Field Summary

Modifier and TypeField and Description
protected String
protected String
protected String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

possible object is String
getDescription
()

Gets the value of the description property.

public String

Returns:

possible object is String
getName
()

Gets the value of the name property.

public String

Returns:

possible object is String
getValue
()

Gets the value of the value property.

public void
setDescription(String
allowed object is String
value
)

Sets the value of the description property.

public void
setName(String
allowed object is String
value
)

Sets the value of the name property.

public void
setValue(String
allowed object is String
value
)

Sets the value of the value property.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

descriptionback to summary
protected String description
Annotations
@XmlElement
namespace:http://xmlns.jcp.org/xml/ns/persistence/orm
nameback to summary
protected String name
Annotations
@XmlAttribute
name:name
required:true
valueback to summary
protected String value
Annotations
@XmlAttribute
name:value
required:true

Constructor Detail

JaxbQueryHintback to summary
public JaxbQueryHint()

Method Detail

getDescriptionback to summary
public String getDescription()

Gets the value of the description property.

Returns:String

possible object is String

getNameback to summary
public String getName()

Gets the value of the name property.

Returns:String

possible object is String

getValueback to summary
public String getValue()

Gets the value of the value property.

Returns:String

possible object is String

setDescriptionback to summary
public void setDescription(String value)

Sets the value of the description property.

Parameters
value:String

allowed object is String

setNameback to summary
public void setName(String value)

Sets the value of the name property.

Parameters
value:String

allowed object is String

setValueback to summary
public void setValue(String value)

Sets the value of the value property.

Parameters
value:String

allowed object is String