|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.datatools.modelbase.sql.query.util.SQLQuerySourceInfo
public class SQLQuerySourceInfo
| Constructor Summary | |
|---|---|
SQLQuerySourceInfo()
|
|
SQLQuerySourceInfo(SQLQueryObject queryObjectBackRef)
Constructor. |
|
| Method Summary | |
|---|---|
int |
getColumnNumberEnd()
|
int |
getColumnNumberStart()
|
java.util.List |
getComments()
Returns the List of SQLComments. |
int |
getLineNumberEnd()
|
int |
getLineNumberStart()
|
SQLQueryObject |
getQueryObjectBackReference()
Returns the queryObject that holds this SQLQuerySourceInfo. |
java.lang.String |
getSourceSnippet()
|
int |
getSpanEndOffset()
|
int |
getSpanStartOffset()
|
SQLQuerySourceFormat |
getSqlFormat()
Note: if this SQLQuerySourceInfo's reference to
the SQLQuerySourceFormat is null,
SQLQuerySourceFormat.SQL_SOURCE_FORMAT_DEFAULT instance will be
returned. |
void |
setColumnNumberEnd(int columnNumberEnd)
|
void |
setColumnNumberStart(int columnNumberStart)
|
void |
setComments(java.util.List comments)
Sets the List of SQLComments. |
void |
setLineNumberEnd(int lineNumberEnd)
|
void |
setLineNumberStart(int lineNumberStart)
|
void |
setQueryObjectBackReference(SQLQueryObject queryObjectBackRef)
Sets the queryObject that holds this SQLQuerySourceInfo. |
void |
setSourceSnippet(java.lang.String sourceSnippet)
|
void |
setSpanEndOffset(int spanEndOffset)
|
void |
setSpanStartOffset(int spanStartOffset)
|
void |
setSqlFormat(SQLQuerySourceFormat sqlFormat)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SQLQuerySourceInfo()
public SQLQuerySourceInfo(SQLQueryObject queryObjectBackRef)
SQLQueryObject that holds this
SQLQuerySourceInfo.
queryObjectBackRef - will be hold as a weak reference| Method Detail |
|---|
public SQLQuerySourceFormat getSqlFormat()
Note: if this SQLQuerySourceInfo's reference to
the SQLQuerySourceFormat is null,
SQLQuerySourceFormat.SQL_SOURCE_FORMAT_DEFAULT instance will be
returned. No modifications on its members are allowed as that
SQLQuerySourceFormat instance is final.
sqlFormat or, if that's null,
SQLQuerySourceFormat#SQL_SOURCE_FORMAT_DEFAULTpublic void setSqlFormat(SQLQuerySourceFormat sqlFormat)
sqlFormat - The sqlFormat to set.public java.lang.String getSourceSnippet()
public void setSourceSnippet(java.lang.String sourceSnippet)
sourceSnippet - The sourceSnippet to set.public int getSpanEndOffset()
public void setSpanEndOffset(int spanEndOffset)
spanEndOffset - The spanEndOffset to set.public int getSpanStartOffset()
public void setSpanStartOffset(int spanStartOffset)
spanStartOffset - The spanStartOffset to set.public int getColumnNumberEnd()
public void setColumnNumberEnd(int columnNumberEnd)
columnNumberEnd - The columnNumberEnd to set.public int getColumnNumberStart()
public void setColumnNumberStart(int columnNumberStart)
columnNumberStart - The columnNumberStart to set.public int getLineNumberEnd()
public void setLineNumberEnd(int lineNumberEnd)
lineNumberEnd - The lineNumberEnd to set.public int getLineNumberStart()
public void setLineNumberStart(int lineNumberStart)
lineNumberStart - The lineNumberStart to set.public java.util.List getComments()
SQLComments.
SQLComments.public void setComments(java.util.List comments)
SQLComments.
comments - The List of SQLComments to set.public SQLQueryObject getQueryObjectBackReference()
SQLQuerySourceInfo.
SQLQuerySourceInfo, is hold as a weak referencepublic void setQueryObjectBackReference(SQLQueryObject queryObjectBackRef)
SQLQuerySourceInfo.
queryObjectBackRef - The queryObjectBackRef to set, will be hold as a weak
reference
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||