public class SQLBuilderBase.GrantRoleBuilderBase extends SQLBuilderBase.AbstractStatementPart implements SQLBuilder.GrantRoleBuilder
Modifier and Type | Field and Description |
---|---|
protected java.util.Set<SQLBuilder.Privilege> |
privileges |
protected java.lang.String |
role |
protected SQLBuilder.TableNameBuilder |
table |
properties
Constructor and Description |
---|
GrantRoleBuilderBase(SQLBuilder.TableNameBuilder table,
java.lang.String role) |
Modifier and Type | Method and Description |
---|---|
SQLBuilder.GrantRoleBuilder |
all() |
SQLBuilderBase.GrantRoleBuilderBase |
clone()
Creates a copy of the object.
|
SQLBuilder.GrantRoleBuilder |
delete() |
protected java.lang.String |
getPrivilegeName(SQLBuilder.Privilege privilege) |
SQLBuilder.GrantRoleBuilder |
insert() |
SQLBuilder.GrantRoleBuilder |
privilege(SQLBuilder.Privilege privilege) |
SQLBuilder.GrantRoleBuilder |
reference() |
SQLBuilder.GrantRoleBuilder |
select() |
java.lang.String |
toString() |
java.lang.String |
toString(Formatter<ExpressionBuilder.Value> formatter) |
SQLBuilder.GrantRoleBuilder |
trigger() |
SQLBuilder.GrantRoleBuilder |
truncate() |
SQLBuilder.GrantRoleBuilder |
update() |
accept, copyPropertiesFrom, getProperties, getProperty, replace, setProperty
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
copyPropertiesFrom, replace
accept
getProperties, getProperty, setProperty
cloneQuietly, cloneQuietly
protected SQLBuilder.TableNameBuilder table
protected java.lang.String role
protected java.util.Set<SQLBuilder.Privilege> privileges
public GrantRoleBuilderBase(SQLBuilder.TableNameBuilder table, java.lang.String role)
public SQLBuilderBase.GrantRoleBuilderBase clone() throws java.lang.CloneNotSupportedException
Cloneable
clone
in interface ExpressionBuilder.Value
clone
in class ExpressionBuilder.AbstractValue
java.lang.CloneNotSupportedException
- if the instance of the object cannot
be cloned. As this is extending Cloneable
so its sure
it implements it, so this exception may be used for problems on specific
object instances.Object#clone()}.
public SQLBuilder.GrantRoleBuilder privilege(SQLBuilder.Privilege privilege)
privilege
in interface SQLBuilder.GrantRoleBuilder
public SQLBuilder.GrantRoleBuilder select()
select
in interface SQLBuilder.GrantRoleBuilder
public SQLBuilder.GrantRoleBuilder update()
update
in interface SQLBuilder.GrantRoleBuilder
public SQLBuilder.GrantRoleBuilder insert()
insert
in interface SQLBuilder.GrantRoleBuilder
public SQLBuilder.GrantRoleBuilder delete()
delete
in interface SQLBuilder.GrantRoleBuilder
public SQLBuilder.GrantRoleBuilder truncate()
truncate
in interface SQLBuilder.GrantRoleBuilder
public SQLBuilder.GrantRoleBuilder reference()
reference
in interface SQLBuilder.GrantRoleBuilder
public SQLBuilder.GrantRoleBuilder trigger()
trigger
in interface SQLBuilder.GrantRoleBuilder
public SQLBuilder.GrantRoleBuilder all()
all
in interface SQLBuilder.GrantRoleBuilder
protected java.lang.String getPrivilegeName(SQLBuilder.Privilege privilege)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toString(Formatter<ExpressionBuilder.Value> formatter)
toString
in interface ExpressionBuilder.Value