public class NativeSQLQueryJoinReturn extends NativeSQLQueryNonScalarReturn
NativeSQLQueryReturn.TraceLogger
Constructor and Description |
---|
NativeSQLQueryJoinReturn(java.lang.String alias,
java.lang.String ownerAlias,
java.lang.String ownerProperty,
java.util.Map propertyResults,
LockMode lockMode)
Construct a return descriptor representing some form of fetch.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getOwnerAlias()
Retrieve the alias of the owner of this fetched association.
|
java.lang.String |
getOwnerProperty()
Retrieve the property name (relative to the owner) which maps to
the association to be fetched.
|
int |
hashCode() |
getAlias, getLockMode, getPropertyResultsMap, traceLog
public NativeSQLQueryJoinReturn(java.lang.String alias, java.lang.String ownerAlias, java.lang.String ownerProperty, java.util.Map propertyResults, LockMode lockMode)
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 java.lang.String getOwnerAlias()
public java.lang.String getOwnerProperty()
public boolean equals(java.lang.Object o)
equals
in class NativeSQLQueryNonScalarReturn
public int hashCode()
hashCode
in class NativeSQLQueryNonScalarReturn
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.