|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.derby.iapi.sql.dictionary.TupleDescriptor
org.apache.derby.iapi.sql.dictionary.RoleGrantDescriptor
public class RoleGrantDescriptor
This class is used by rows in the SYS.SYSROLES system table.
An instance contains information for exactly: One <role
definition>, cf. ISO/IEC 9075-2:2003 section 12.4
| Field Summary | |
|---|---|
private java.lang.String |
grantee
|
private java.lang.String |
grantor
|
private boolean |
isDef
|
private java.lang.String |
roleName
|
private UUID |
uuid
|
private boolean |
withAdminOption
|
| Fields inherited from interface org.apache.derby.catalog.Dependable |
|---|
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 Summary | |
|---|---|
RoleGrantDescriptor(DataDictionary dd,
UUID uuid,
java.lang.String roleName,
java.lang.String grantee,
java.lang.String grantor,
boolean withAdminOption,
boolean isDef)
Constructor |
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class org.apache.derby.iapi.sql.dictionary.TupleDescriptor |
|---|
getColumnDependableFinder, getDataDictionary, getDependableFinder, setDataDictionary |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private 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
| Constructor Detail |
|---|
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 - | Method Detail |
|---|
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()
TupleDescriptor
getDescriptorType in class TupleDescriptorpublic java.lang.String getDescriptorName()
getDescriptorName in class TupleDescriptor
public 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()
Dependable
getDependableFinder in interface DependableDependable.getDependableFinder()
|
Built on Wed 2013-06-12 15:21:56+0000, from revision ??? | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||