|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTemplate
org.eclipse.datatools.sqltools.editor.template.SQLTemplate
public class SQLTemplate
This class extends Template
to add attribute 'template id'.
Field Summary |
---|
Fields inherited from interface org.eclipse.datatools.sqltools.editor.template.TemplateConstant |
---|
AND, ASTERISK, BEGIN, COMMA, DECLARE, DELETE, DOT, DOUBLE_QUOTE, END, EQUAL, EXECUTE, FROM, INSERT, INT, INTELLIGENT_TEMPLATE, LEFT_PARENTHESIS, NEWLINE, NEWLINENUMBER, OUTPUT, RIGHT_PARENTHESIS, SELECT, SEMICOLON, SET, SPACE, TAB, UPDATE, UPDATELINENUMBER, VALUES, VAR, WHERE |
Constructor Summary | |
---|---|
SQLTemplate()
Creates an empty template. |
|
SQLTemplate(SQLTemplate template)
Creates a copy of a template. |
|
SQLTemplate(java.lang.String id,
java.lang.String name,
java.lang.String description,
java.lang.String contextTypeId,
java.lang.String pattern)
Creates a template. |
|
SQLTemplate(java.lang.String id,
java.lang.String name,
java.lang.String description,
java.lang.String contextTypeId,
java.lang.String pattern,
boolean isAutoInsertable,
java.lang.String proposalDescription)
Creates a template. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getId()
|
java.lang.String |
getProposalPopupDescription()
|
void |
setId(java.lang.String id)
|
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SQLTemplate()
public SQLTemplate(SQLTemplate template)
template
- the template to copypublic SQLTemplate(java.lang.String id, java.lang.String name, java.lang.String description, java.lang.String contextTypeId, java.lang.String pattern)
name
- the name of the templatedescription
- the description of the templatecontextTypeId
- the id of the context type in which the template can be appliedpattern
- the template patternpublic SQLTemplate(java.lang.String id, java.lang.String name, java.lang.String description, java.lang.String contextTypeId, java.lang.String pattern, boolean isAutoInsertable, java.lang.String proposalDescription)
name
- the name of the templatedescription
- the description of the templatecontextTypeId
- the id of the context type in which the template can be appliedpattern
- the template patternisAutoInsertable
- the auto insertable property of the templateMethod Detail |
---|
public boolean equals(java.lang.Object o)
public java.lang.String getId()
public void setId(java.lang.String id)
public java.lang.String getProposalPopupDescription()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |