Top Description Methods
org.hibernate.loader.plan.spi

public Interface QuerySpaces

Known Direct Subinterfaces
org.hibernate.loader.plan.build.spi.ExpandingQuerySpaces
Imports
java.util.List

Models a collection of QuerySpace references and exposes the ability to find a QuerySpace by its UID

todo : make this hierarchical... that would be needed to truly work for hql parser

Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public QuerySpace

Returns:

The match, null is returned if no match.
findQuerySpaceByUid
(String
The QuerySpace uid to match
uid
)

Locate a QuerySpace by its uid.

public QuerySpace

Returns:

The QuerySpace
getQuerySpaceByUid
(String
The uid to resolve
uid
)

Like findQuerySpaceByUid, except that here an exception is thrown if the uid cannot be resolved.

public List<QuerySpace>

Returns:

The roots
getRootQuerySpaces
()

Gets the root QuerySpace references.

Method Detail

findQuerySpaceByUidback to summary
public QuerySpace findQuerySpaceByUid(String uid)

Locate a QuerySpace by its uid.

Parameters
uid:String

The QuerySpace uid to match

Returns:QuerySpace

The match, null is returned if no match.

See Also
QuerySpace#getUid()
getQuerySpaceByUidback to summary
public QuerySpace getQuerySpaceByUid(String uid)

Like findQuerySpaceByUid, except that here an exception is thrown if the uid cannot be resolved.

Parameters
uid:String

The uid to resolve

Returns:QuerySpace

The QuerySpace

Exceptions
QuerySpaceUidNotRegisteredException:
Rather than return null
getRootQuerySpacesback to summary
public List<QuerySpace> getRootQuerySpaces()

Gets the root QuerySpace references.

Returns:List<QuerySpace>

The roots