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

All Superinterfaces:
org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.ENamedElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier, SQLObject

public interface RoleAuthorization
extends SQLObject

A representation of the model object 'Role Authorization'. Reference: 5WD-02-Foundation-2002-12 4.34.3 Roles

The following features are supported:

See Also:
SQLAccessControlPackage.getRoleAuthorization()

Method Summary
 AuthorizationIdentifier getGrantee()
          Returns the value of the 'Grantee' reference.
 AuthorizationIdentifier getGrantor()
          Returns the value of the 'Grantor' reference.
 Role getRole()
          Returns the value of the 'Role' reference.
 boolean isGrantable()
          Returns the value of the 'Grantable' attribute.
 void setGrantable(boolean value)
          Sets the value of the 'Grantable' attribute.
 void setGrantee(AuthorizationIdentifier value)
          Sets the value of the 'Grantee' reference.
 void setGrantor(AuthorizationIdentifier value)
          Sets the value of the 'Grantor' reference.
 void setRole(Role value)
          Sets the value of the 'Role' reference.
 
Methods inherited from interface org.eclipse.datatools.modelbase.sql.schema.SQLObject
addEAnnotation, addEAnnotationDetail, getComments, getDependencies, getDescription, getEAnnotation, getEAnnotationDetail, getExtensions, getLabel, getPrivileges, removeEAnnotationDetail, setAnnotationDetail, setDescription, setLabel
 
Methods inherited from interface org.eclipse.emf.ecore.ENamedElement
getName, setName
 
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
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

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

setGrantable

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

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

getRole

Role getRole()
Returns the value of the 'Role' reference. It is bidirectional and its opposite is 'Role Authorization'.

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

Returns:
the value of the 'Role' reference.
See Also:
setRole(Role), SQLAccessControlPackage.getRoleAuthorization_Role(), Role.getRoleAuthorization()

setRole

void setRole(Role value)
Sets the value of the 'Role' reference.

Parameters:
value - the new value of the 'Role' reference.
See Also:
getRole()

getGrantee

AuthorizationIdentifier getGrantee()
Returns the value of the 'Grantee' reference. It is bidirectional and its opposite is 'Received Role Authorization'.

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

Returns:
the value of the 'Grantee' reference.
See Also:
setGrantee(AuthorizationIdentifier), SQLAccessControlPackage.getRoleAuthorization_Grantee(), AuthorizationIdentifier.getReceivedRoleAuthorization()

setGrantee

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

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

getGrantor

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

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.getRoleAuthorization_Grantor(), AuthorizationIdentifier.getGrantedRoleAuthorization()

setGrantor

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

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