Class OracleSupplementalIdKey
- java.lang.Object
-
- com.alibaba.druid.sql.ast.SQLObjectImpl
-
- com.alibaba.druid.sql.dialect.oracle.ast.OracleSQLObjectImpl
-
- com.alibaba.druid.sql.dialect.oracle.ast.stmt.OracleSupplementalIdKey
-
- All Implemented Interfaces:
SQLObject,SQLTableElement,OracleSQLObject
public class OracleSupplementalIdKey extends OracleSQLObjectImpl implements SQLTableElement
Created by wenshao on 20/05/2017.
-
-
Field Summary
-
Fields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine
-
-
Constructor Summary
Constructors Constructor Description OracleSupplementalIdKey()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept0(OracleASTVisitor visitor)OracleSupplementalIdKeyclone()booleanisAll()booleanisForeignKey()booleanisPrimaryKey()booleanisUnique()booleanisUniqueIndex()voidsetAll(boolean all)voidsetForeignKey(boolean foreignKey)voidsetPrimaryKey(boolean primaryKey)voidsetUnique(boolean unique)voidsetUniqueIndex(boolean uniqueIndex)-
Methods inherited from class com.alibaba.druid.sql.dialect.oracle.ast.OracleSQLObjectImpl
accept0, computeDataType, toString
-
Methods inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
accept, acceptChild, acceptChild, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, cloneTo, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getHint, getParent, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setHint, setParent, setSource, setSourceLine
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.alibaba.druid.sql.ast.SQLObject
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setParent, setSource
-
-
-
-
Method Detail
-
accept0
public void accept0(OracleASTVisitor visitor)
- Specified by:
accept0in interfaceOracleSQLObject- Specified by:
accept0in classOracleSQLObjectImpl
-
isAll
public boolean isAll()
-
setAll
public void setAll(boolean all)
-
isPrimaryKey
public boolean isPrimaryKey()
-
setPrimaryKey
public void setPrimaryKey(boolean primaryKey)
-
isUnique
public boolean isUnique()
-
setUnique
public void setUnique(boolean unique)
-
isForeignKey
public boolean isForeignKey()
-
setForeignKey
public void setForeignKey(boolean foreignKey)
-
isUniqueIndex
public boolean isUniqueIndex()
-
setUniqueIndex
public void setUniqueIndex(boolean uniqueIndex)
-
clone
public OracleSupplementalIdKey clone()
- Specified by:
clonein interfaceSQLObject- Specified by:
clonein interfaceSQLTableElement- Overrides:
clonein classOracleSQLObjectImpl
-
-