org.eclipse.wst.rdb.internal.models.sql.accesscontrol
Interface Privilege

All Superinterfaces:
org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier
All Known Subinterfaces:
DoubleObjectPrivilege, TablePrivilege
All Known Implementing Classes:
PrivilegeImpl

public interface Privilege
extends org.eclipse.emf.ecore.EModelElement

A representation of the model object 'Privilege'.

The following features are supported:

See Also:
SQLAccessControlPackage.getPrivilege()

Method Summary
 java.lang.String getAction()
          Returns the value of the 'Action' attribute.
 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.
 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 setGrantor(AuthorizationIdentifier value)
          Sets the value of the 'Grantor' reference.
 void setObject(SQLObject value)
          Sets the value of the 'Object' reference.
 
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

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()

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()

getObject

public SQLObject getObject()
Returns the value of the 'Object' reference.

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()

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()