public abstract class SQLObjectImpl extends Object implements SQLObject
| Constructor and Description |
|---|
SQLObjectImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(SQLASTVisitor visitor) |
void |
addAfterComment(List<String> comments) |
void |
addAfterComment(String comment) |
void |
addBeforeComment(List<String> comments) |
void |
addBeforeComment(String comment) |
SQLObject |
clone() |
SQLDataType |
computeDataType() |
boolean |
containsAttribute(String name) |
List<String> |
getAfterCommentsDirect() |
Object |
getAttribute(String name) |
Map<String,Object> |
getAttributes() |
Map<String,Object> |
getAttributesDirect() |
List<String> |
getBeforeCommentsDirect() |
SQLCommentHint |
getHint() |
SQLObject |
getParent() |
int |
getSourceColumn() |
int |
getSourceLine() |
boolean |
hasAfterComment() |
boolean |
hasBeforeComment() |
void |
output(Appendable buf) |
void |
output(StringBuffer buf) |
void |
putAttribute(String name,
Object value) |
void |
setHint(SQLCommentHint hint) |
void |
setParent(SQLObject parent) |
void |
setSourceColumn(int sourceColumn) |
void |
setSourceLine(int sourceLine) |
String |
toString() |
public final void accept(SQLASTVisitor visitor)
public void output(StringBuffer buf)
public void output(Appendable buf)
public Map<String,Object> getAttributes()
getAttributes in interface SQLObjectpublic Object getAttribute(String name)
getAttribute in interface SQLObjectpublic boolean containsAttribute(String name)
containsAttribute in interface SQLObjectpublic void putAttribute(String name, Object value)
putAttribute in interface SQLObjectpublic Map<String,Object> getAttributesDirect()
getAttributesDirect in interface SQLObjectpublic void addBeforeComment(String comment)
addBeforeComment in interface SQLObjectpublic void addBeforeComment(List<String> comments)
addBeforeComment in interface SQLObjectpublic List<String> getBeforeCommentsDirect()
getBeforeCommentsDirect in interface SQLObjectpublic void addAfterComment(String comment)
addAfterComment in interface SQLObjectpublic void addAfterComment(List<String> comments)
addAfterComment in interface SQLObjectpublic List<String> getAfterCommentsDirect()
getAfterCommentsDirect in interface SQLObjectpublic boolean hasBeforeComment()
hasBeforeComment in interface SQLObjectpublic boolean hasAfterComment()
hasAfterComment in interface SQLObjectpublic SQLObject clone()
public SQLDataType computeDataType()
public int getSourceLine()
public void setSourceLine(int sourceLine)
public int getSourceColumn()
public void setSourceColumn(int sourceColumn)
public SQLCommentHint getHint()
public void setHint(SQLCommentHint hint)
Copyright © 2013–2021 Alibaba Group. All rights reserved.