public abstract class FetchReturn extends NonScalarReturn
Represents a return which names a fetched association.
Constructor and Description |
---|
FetchReturn(NonScalarReturn owner,
String ownerProperty,
String alias,
LockMode lockMode)
Creates a return descriptor for an association fetch.
|
Modifier and Type | Method and Description |
---|---|
NonScalarReturn |
getOwner()
Retrieves the return descriptor for the owner of this fetch.
|
String |
getOwnerProperty()
The name of the property on the owner which represents this association.
|
getAlias, getLockMode
public FetchReturn(NonScalarReturn owner, String ownerProperty, String alias, LockMode lockMode)
Creates a return descriptor for an association fetch.
owner
- The return descriptor for the owner of the fetchownerProperty
- The name of the property represernting the association being fetchedalias
- The alias for the fetchlockMode
- The lock mode to apply to the fetched association.public NonScalarReturn getOwner()
Retrieves the return descriptor for the owner of this fetch.
public String getOwnerProperty()
The name of the property on the owner which represents this association.
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.