Dependable, Providerpublic class RoleGrantDescriptor extends TupleDescriptor implements Provider
| Modifier and Type | Field | Description |
|---|---|---|
private java.lang.String |
grantee |
|
private java.lang.String |
grantor |
|
private boolean |
isDef |
|
private java.lang.String |
roleName |
|
private UUID |
uuid |
|
private boolean |
withAdminOption |
ACTIVATION, ALIAS, COLUMNS_IN_TABLE, COLUMNS_PERMISSION, CONGLOMERATE, CONSTRAINT, DEFAULT, FILE, HEAP, INDEX, PERM, PREPARED_STATEMENT, ROLE_GRANT, ROUTINE_PERMISSION, SCHEMA, SEQUENCE, STORED_PREPARED_STATEMENT, TABLE, TABLE_PERMISSION, TRIGGER, VIEW| Constructor | Description |
|---|---|
RoleGrantDescriptor(DataDictionary dd,
UUID uuid,
java.lang.String roleName,
java.lang.String grantee,
java.lang.String grantor,
boolean withAdminOption,
boolean isDef) |
Constructor
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
drop(LanguageConnectionContext lcc) |
Drop this role.descriptor
|
java.lang.String |
getClassType() |
Get the provider's type.
|
DependableFinder |
getDependableFinder() |
Get an object which can be written to disk and which,
when read from disk, will find or reconstruct this in-memory
Dependable.
|
java.lang.String |
getDescriptorName() |
|
java.lang.String |
getDescriptorType() |
Each descriptor must identify itself with its type; i.e index, check
constraint whatever.
|
java.lang.String |
getGrantee() |
|
java.lang.String |
getGrantor() |
|
UUID |
getObjectID() |
Get the provider's UUID
|
java.lang.String |
getObjectName() |
Return the name of this Provider.
|
java.lang.String |
getRoleName() |
|
UUID |
getUUID() |
|
boolean |
isDef() |
|
boolean |
isPersistent() |
Is this provider persistent?
|
boolean |
isWithAdminOption() |
|
void |
setWithAdminOption(boolean b) |
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetColumnDependableFinder, getDataDictionary, getDependableFinder, setDataDictionaryprivate final UUID uuid
private final java.lang.String roleName
private final java.lang.String grantee
private final java.lang.String grantor
private boolean withAdminOption
private final boolean isDef
public RoleGrantDescriptor(DataDictionary dd, UUID uuid, java.lang.String roleName, java.lang.String grantee, java.lang.String grantor, boolean withAdminOption, boolean isDef)
dd - data dictionaryuuid - unique identification in time and space of this role
descriptorroleName - grantee - grantor - withAdminOption - isDef - public UUID getUUID()
public java.lang.String getGrantee()
public java.lang.String getGrantor()
public boolean isDef()
public java.lang.String getRoleName()
public boolean isWithAdminOption()
public void setWithAdminOption(boolean b)
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getDescriptorType()
TupleDescriptorgetDescriptorType in class TupleDescriptorpublic java.lang.String getDescriptorName()
getDescriptorName in class TupleDescriptorpublic void drop(LanguageConnectionContext lcc) throws StandardException
StandardException - Could not be dropped.public UUID getObjectID()
getObjectID in interface Dependablepublic boolean isPersistent()
isPersistent in interface DependableisPersistent in class TupleDescriptorpublic java.lang.String getObjectName()
getObjectName in interface Dependablepublic java.lang.String getClassType()
getClassType in interface Dependablepublic DependableFinder getDependableFinder()
DependablegetDependableFinder in interface DependableDependable.getDependableFinder()Apache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.