public class NativeSQLQueryJoinReturn extends NativeSQLQueryNonScalarReturn
Represents a return defined as part of a native sql query which names a fetched role.
NativeSQLQueryReturn.TraceLogger| Constructor and Description |
|---|
NativeSQLQueryJoinReturn(String alias,
String ownerAlias,
String ownerProperty,
Map propertyResults,
LockMode lockMode)
Construct a return descriptor representing some form of fetch.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getOwnerAlias()
Retrieve the alias of the owner of this fetched association.
|
String |
getOwnerProperty()
Retrieve the property name (relative to the owner) which maps to
the association to be fetched.
|
int |
hashCode() |
getAlias, getLockMode, getPropertyResultsMap, traceLogpublic NativeSQLQueryJoinReturn(String alias, String ownerAlias, String ownerProperty, Map propertyResults, LockMode lockMode)
Construct a return descriptor representing some form of fetch.
alias - The result aliasownerAlias - The owner’s result aliasownerProperty - The owner’s property representing the thing to be fetchedpropertyResults - Any user-supplied column→property mappingslockMode - The lock mode to applypublic String getOwnerAlias()
Retrieve the alias of the owner of this fetched association.
public String getOwnerProperty()
Retrieve the property name (relative to the owner) which maps to the association to be fetched.
public boolean equals(Object o)
equals in class NativeSQLQueryNonScalarReturnpublic int hashCode()
hashCode in class NativeSQLQueryNonScalarReturnCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.