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
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept0
(OracleASTVisitor visitor) clone()
boolean
isAll()
boolean
boolean
boolean
isUnique()
boolean
void
setAll
(boolean all) void
setForeignKey
(boolean foreignKey) void
setPrimaryKey
(boolean primaryKey) void
setUnique
(boolean unique) void
setUniqueIndex
(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, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getHint, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, output, putAttribute, setHint, setParent, setSourceColumn, 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, hasAfterComment, hasBeforeComment, output, output, putAttribute, setParent
-
Constructor Details
-
OracleSupplementalIdKey
public OracleSupplementalIdKey()
-
-
Method Details
-
accept0
- Specified by:
accept0
in interfaceOracleSQLObject
- Specified by:
accept0
in 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
- Specified by:
clone
in interfaceSQLObject
- Specified by:
clone
in interfaceSQLTableElement
- Overrides:
clone
in classOracleSQLObjectImpl
-