org.hibernate.tool.ide.completion
Class HQLCompletionProposal
java.lang.Object
org.hibernate.tool.ide.completion.HQLCompletionProposal
public class HQLCompletionProposal
- extends Object
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
HQLCompletionProposal
public HQLCompletionProposal(int kind,
int cursorPosition)
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()