net.sourceforge.squirrel_sql.plugins.hibernate.completion
Class HQLCompletionInfoCollection

java.lang.Object
  extended by net.sourceforge.squirrel_sql.plugins.hibernate.completion.HQLCompletionInfoCollection
All Implemented Interfaces:
MappingInfoProvider

public class HQLCompletionInfoCollection
extends Object
implements MappingInfoProvider


Constructor Summary
HQLCompletionInfoCollection(HibernateConnection con)
           
 
Method Summary
 MappedClassInfo getExactMappedClassInfoFor(String className)
           
 ISyntaxHighlightTokenMatcher getHqlSyntaxHighlightTokenMatcher()
           
 CompletionCandidates getInfosStartingWith(CompletionParser parser)
           
 MappedClassInfo getMappedClassInfoFor(String token)
           
 boolean isFunction(String name)
           
 boolean isKeyword(String name)
           
 boolean isMappeadClass(String name)
           
 boolean isMappedAttribute(String name)
           
 boolean mayBeClassOrAliasName(String token)
           
 void setCurrentAliasInfos(ArrayList<AliasInfo> aliasInfos)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HQLCompletionInfoCollection

public HQLCompletionInfoCollection(HibernateConnection con)
Method Detail

getInfosStartingWith

public CompletionCandidates getInfosStartingWith(CompletionParser parser)

setCurrentAliasInfos

public void setCurrentAliasInfos(ArrayList<AliasInfo> aliasInfos)

getMappedClassInfoFor

public MappedClassInfo getMappedClassInfoFor(String token)
Specified by:
getMappedClassInfoFor in interface MappingInfoProvider

mayBeClassOrAliasName

public boolean mayBeClassOrAliasName(String token)
Specified by:
mayBeClassOrAliasName in interface MappingInfoProvider

getExactMappedClassInfoFor

public MappedClassInfo getExactMappedClassInfoFor(String className)
Specified by:
getExactMappedClassInfoFor in interface MappingInfoProvider

getHqlSyntaxHighlightTokenMatcher

public ISyntaxHighlightTokenMatcher getHqlSyntaxHighlightTokenMatcher()

isMappeadClass

public boolean isMappeadClass(String name)

isFunction

public boolean isFunction(String name)

isKeyword

public boolean isKeyword(String name)

isMappedAttribute

public boolean isMappedAttribute(String name)


Copyright © 2001-2012. All Rights Reserved.