|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NamedNativeQuery<T>
This interface defines the contract for the named-native-query
xsd type
Method Summary | |
---|---|
QueryHint<NamedNativeQuery<T>> |
createHint()
Creates a new hint element |
NamedNativeQuery<T> |
description(String description)
Sets the description element |
List<QueryHint<NamedNativeQuery<T>>> |
getAllHint()
Returns all hint elements |
String |
getDescription()
Returns the description element |
String |
getName()
Returns the name attribute |
QueryHint<NamedNativeQuery<T>> |
getOrCreateHint()
If not already created, a new hint element will be created and returned. |
String |
getQuery()
Returns the query element |
String |
getResultClass()
Returns the result-class attribute |
String |
getResultSetMapping()
Returns the result-set-mapping attribute |
NamedNativeQuery<T> |
name(String name)
Sets the name attribute |
NamedNativeQuery<T> |
query(String query)
Sets the query element |
NamedNativeQuery<T> |
removeAllHint()
Removes all hint elements |
NamedNativeQuery<T> |
removeDescription()
Removes the description element |
NamedNativeQuery<T> |
removeName()
Removes the name attribute |
NamedNativeQuery<T> |
removeQuery()
Removes the query element |
NamedNativeQuery<T> |
removeResultClass()
Removes the result-class attribute |
NamedNativeQuery<T> |
removeResultSetMapping()
Removes the result-set-mapping attribute |
NamedNativeQuery<T> |
resultClass(String resultClass)
Sets the result-class attribute |
NamedNativeQuery<T> |
resultSetMapping(String resultSetMapping)
Sets the result-set-mapping attribute |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
NamedNativeQuery<T> description(String description)
description
element
description
- the value for the element description
NamedNativeQuery
String getDescription()
description
element
description
NamedNativeQuery<T> removeDescription()
description
element
NamedNativeQuery
NamedNativeQuery<T> query(String query)
query
element
query
- the value for the element query
NamedNativeQuery
String getQuery()
query
element
query
NamedNativeQuery<T> removeQuery()
query
element
NamedNativeQuery
QueryHint<NamedNativeQuery<T>> getOrCreateHint()
hint
element will be created and returned.
Otherwise, the first existing hint
element will be returned.
hint
QueryHint<NamedNativeQuery<T>> createHint()
hint
element
QueryHint>
List<QueryHint<NamedNativeQuery<T>>> getAllHint()
hint
elements
hint
NamedNativeQuery<T> removeAllHint()
hint
elements
QueryHint>
NamedNativeQuery<T> name(String name)
name
attribute
name
- the value for the attribute name
NamedNativeQuery
String getName()
name
attribute
name
NamedNativeQuery<T> removeName()
name
attribute
NamedNativeQuery
NamedNativeQuery<T> resultClass(String resultClass)
result-class
attribute
resultClass
- the value for the attribute result-class
NamedNativeQuery
String getResultClass()
result-class
attribute
result-class
NamedNativeQuery<T> removeResultClass()
result-class
attribute
NamedNativeQuery
NamedNativeQuery<T> resultSetMapping(String resultSetMapping)
result-set-mapping
attribute
resultSetMapping
- the value for the attribute result-set-mapping
NamedNativeQuery
String getResultSetMapping()
result-set-mapping
attribute
result-set-mapping
NamedNativeQuery<T> removeResultSetMapping()
result-set-mapping
attribute
NamedNativeQuery
|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |