org.eclipse.datatools.modelbase.sql.accesscontrol
Interface Privilege

All Superinterfaces:
SQLObject
All Known Subinterfaces:
DoubleObjectPrivilege, TablePrivilege
All Known Implementing Classes:
PrivilegeImpl

public interface Privilege
extends SQLObject

A representation of the model object 'Privilege'. Reference: 5WD-02-Foundation-2002-12 4.34.2 Privileges

The following features are supported:

See Also:
SQLAccessControlPackage.getPrivilege()

Method Summary
 java.lang.String getAction()
          Returns the value of the 'Action' attribute.
 EList getActionObjects()
          Returns the value of the 'Action Objects' reference list.
 AuthorizationIdentifier getGrantee()
          Returns the value of the 'Grantee' container reference.
 AuthorizationIdentifier getGrantor()
          Returns the value of the 'Grantor' reference.
 SQLObject getObject()
          Returns the value of the 'Object' reference.
 boolean isGrantable()
          Returns the value of the 'Grantable' attribute.
 boolean isWithHierarchy()
          Returns the value of the 'With Hierarchy' attribute.
 void setAction(java.lang.String value)
          Sets the value of the 'Action' attribute.
 void setGrantable(boolean value)
          Sets the value of the 'Grantable' attribute.
 void setGrantee(AuthorizationIdentifier value)
          Sets the value of the 'Grantee' container reference.
 void setGrantor(AuthorizationIdentifier value)
          Sets the value of the 'Grantor' reference.
 void setObject(SQLObject value)
          Sets the value of the 'Object' reference.
 void setWithHierarchy(boolean value)
          Sets the value of the 'With Hierarchy' attribute.
 
Methods inherited from interface org.eclipse.datatools.modelbase.sql.schema.SQLObject
addEAnnotation, addEAnnotationDetail, getComments, getDependencies, getDescription, getEAnnotation, getEAnnotationDetail, getLabel, getPrivileges, removeEAnnotationDetail, setAnnotationDetail, setDescription, setLabel
 

Method Detail

isGrantable

public boolean isGrantable()
Returns the value of the 'Grantable' attribute.

If the meaning of the 'Grantable' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Grantable' attribute.
See Also:
setGrantable(boolean), SQLAccessControlPackage.getPrivilege_Grantable()

setGrantable

public void setGrantable(boolean value)
Sets the value of the 'Grantable' attribute.

Parameters:
value - the new value of the 'Grantable' attribute.
See Also:
isGrantable()

getAction

public java.lang.String getAction()
Returns the value of the 'Action' attribute.

If the meaning of the 'Action' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Action' attribute.
See Also:
setAction(String), SQLAccessControlPackage.getPrivilege_Action()

setAction

public void setAction(java.lang.String value)
Sets the value of the 'Action' attribute.

Parameters:
value - the new value of the 'Action' attribute.
See Also:
getAction()

isWithHierarchy

public boolean isWithHierarchy()
Returns the value of the 'With Hierarchy' attribute.

If the meaning of the 'With Hierarchy' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'With Hierarchy' attribute.
See Also:
setWithHierarchy(boolean), SQLAccessControlPackage.getPrivilege_WithHierarchy()

setWithHierarchy

public void setWithHierarchy(boolean value)
Sets the value of the 'With Hierarchy' attribute.

Parameters:
value - the new value of the 'With Hierarchy' attribute.
See Also:
isWithHierarchy()

getGrantor

public AuthorizationIdentifier getGrantor()
Returns the value of the 'Grantor' reference. It is bidirectional and its opposite is 'Granted Privilege'.

If the meaning of the 'Grantor' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Grantor' reference.
See Also:
setGrantor(AuthorizationIdentifier), SQLAccessControlPackage.getPrivilege_Grantor(), AuthorizationIdentifier.getGrantedPrivilege()

setGrantor

public void setGrantor(AuthorizationIdentifier value)
Sets the value of the 'Grantor' reference.

Parameters:
value - the new value of the 'Grantor' reference.
See Also:
getGrantor()

getGrantee

public AuthorizationIdentifier getGrantee()
Returns the value of the 'Grantee' container reference. It is bidirectional and its opposite is 'Received Privilege'.

If the meaning of the 'Grantee' container reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Grantee' container reference.
See Also:
setGrantee(AuthorizationIdentifier), SQLAccessControlPackage.getPrivilege_Grantee(), AuthorizationIdentifier.getReceivedPrivilege()

setGrantee

public void setGrantee(AuthorizationIdentifier value)
Sets the value of the 'Grantee' container reference.

Parameters:
value - the new value of the 'Grantee' container reference.
See Also:
getGrantee()

getActionObjects

public EList getActionObjects()
Returns the value of the 'Action Objects' reference list. The list contents are of type SQLObject.

If the meaning of the 'Action Objects' reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Action Objects' reference list.
See Also:
SQLAccessControlPackage.getPrivilege_ActionObjects()

getObject

public SQLObject getObject()
Returns the value of the 'Object' reference. It is bidirectional and its opposite is 'Privileges'.

If the meaning of the 'Object' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Object' reference.
See Also:
setObject(SQLObject), SQLAccessControlPackage.getPrivilege_Object(), SQLObject.getPrivileges()

setObject

public void setObject(SQLObject value)
Sets the value of the 'Object' reference.

Parameters:
value - the new value of the 'Object' reference.
See Also:
getObject()


Copyright © 2007 Actuate, IBM Corporation, Sybase, Inc. and others. All rights reserved.