org.hibernate.tool.ide.completion
Class HQLCompletionProposal

java.lang.Object
  extended by org.hibernate.tool.ide.completion.HQLCompletionProposal

public class HQLCompletionProposal
extends Object


Field Summary
static int ALIAS_REF
           
static int ENTITY_NAME
           
protected static int FIRST_KIND
           
static int FUNCTION
           
static int KEYWORD
           
protected static int LAST_KIND
           
static int PROPERTY
           
 
Constructor Summary
HQLCompletionProposal(int kind, int cursorPosition)
           
 
Method Summary
 String getCompletion()
           
 int getCompletionKind()
           
 int getCompletionLocation()
           
 String getEntityName()
           
 org.hibernate.mapping.Property getProperty()
           
 String getPropertyName()
           
 int getRelevance()
           
 int getReplaceEnd()
           
 int getReplaceStart()
           
 String getShortEntityName()
           
 String getSimpleName()
           
 void setCompletion(String completion)
           
 void setCompletionKind(int completionKind)
           
 void setCompletionLocation(int completionLocation)
           
 void setEntityName(String entityName)
           
 void setProperty(org.hibernate.mapping.Property element)
           
 void setPropertyName(String propertyName)
           
 void setRelevance(int relevance)
           
 void setReplaceEnd(int replaceEnd)
           
 void setReplaceStart(int replaceStart)
           
 void setShortEntityName(String shortEntityName)
           
 void setSimpleName(String simpleName)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ENTITY_NAME

public static final int ENTITY_NAME
See Also:
Constant Field Values

PROPERTY

public static final int PROPERTY
See Also:
Constant Field Values

KEYWORD

public static final int KEYWORD
See Also:
Constant Field Values

FUNCTION

public static final int FUNCTION
See Also:
Constant Field Values

ALIAS_REF

public static final int ALIAS_REF
See Also:
Constant Field Values

FIRST_KIND

protected static final int FIRST_KIND
See Also:
Constant Field Values

LAST_KIND

protected static final int LAST_KIND
See Also:
Constant Field Values
Constructor Detail

HQLCompletionProposal

public HQLCompletionProposal(int kind,
                             int cursorPosition)
Method Detail

getCompletion

public String getCompletion()

setCompletion

public void setCompletion(String completion)

getCompletionKind

public int getCompletionKind()

setCompletionKind

public void setCompletionKind(int completionKind)

getCompletionLocation

public int getCompletionLocation()

setCompletionLocation

public void setCompletionLocation(int completionLocation)

getRelevance

public int getRelevance()

setRelevance

public void setRelevance(int relevance)

getReplaceEnd

public int getReplaceEnd()

setReplaceEnd

public void setReplaceEnd(int replaceEnd)

getReplaceStart

public int getReplaceStart()

setReplaceStart

public void setReplaceStart(int replaceStart)

getSimpleName

public String getSimpleName()

setSimpleName

public void setSimpleName(String simpleName)

toString

public String toString()
Overrides:
toString in class Object

getEntityName

public String getEntityName()

setEntityName

public void setEntityName(String entityName)

getShortEntityName

public String getShortEntityName()

setShortEntityName

public void setShortEntityName(String shortEntityName)

getPropertyName

public String getPropertyName()

setPropertyName

public void setPropertyName(String propertyName)

setProperty

public void setProperty(org.hibernate.mapping.Property element)

getProperty

public org.hibernate.mapping.Property getProperty()