org.eclipse.datatools.modelbase.sql.accesscontrol.impl
Class AuthorizationIdentifierImpl

java.lang.Object
  extended by ENamedElementImpl
      extended by org.eclipse.datatools.modelbase.sql.schema.impl.SQLObjectImpl
          extended by org.eclipse.datatools.modelbase.sql.accesscontrol.impl.AuthorizationIdentifierImpl
All Implemented Interfaces:
AuthorizationIdentifier, SQLObject
Direct Known Subclasses:
GroupImpl, RoleImpl, UserImpl

public abstract class AuthorizationIdentifierImpl
extends SQLObjectImpl
implements AuthorizationIdentifier

An implementation of the model object 'Authorization Identifier'.

The following features are implemented:


Method Summary
 Database basicGetDatabase()
           
 NotificationChain basicSetDatabase(Database newDatabase, NotificationChain msgs)
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
           
 NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
 void eUnset(int featureID)
           
 Database getDatabase()
           
 EList getGrantedPrivilege()
           
 EList getGrantedRoleAuthorization()
           
 EList getOwnedSchema()
           
 EList getReceivedPrivilege()
           
 EList getReceivedRoleAuthorization()
           
 void setDatabase(Database newDatabase)
           
 
Methods inherited from class org.eclipse.datatools.modelbase.sql.schema.impl.SQLObjectImpl
addEAnnotation, addEAnnotationDetail, getComments, getDependencies, getDescription, getEAnnotation, getEAnnotationDetail, getLabel, getPrivileges, removeEAnnotationDetail, setAnnotationDetail, setDescription, setLabel, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
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

getOwnedSchema

public EList getOwnedSchema()

Specified by:
getOwnedSchema in interface AuthorizationIdentifier
Returns:
the value of the 'Owned Schema' reference list.
See Also:
SQLAccessControlPackage.getAuthorizationIdentifier_OwnedSchema(), Schema.getOwner()

getDatabase

public Database getDatabase()

Specified by:
getDatabase in interface AuthorizationIdentifier
Returns:
the value of the 'Database' reference.
See Also:
AuthorizationIdentifier.setDatabase(Database), SQLAccessControlPackage.getAuthorizationIdentifier_Database(), Database.getAuthorizationIds()

basicGetDatabase

public Database basicGetDatabase()


basicSetDatabase

public NotificationChain basicSetDatabase(Database newDatabase,
                                          NotificationChain msgs)


setDatabase

public void setDatabase(Database newDatabase)

Specified by:
setDatabase in interface AuthorizationIdentifier
Parameters:
newDatabase - the new value of the 'Database' reference.
See Also:
AuthorizationIdentifier.getDatabase()

getReceivedRoleAuthorization

public EList getReceivedRoleAuthorization()

Specified by:
getReceivedRoleAuthorization in interface AuthorizationIdentifier
Returns:
the value of the 'Received Role Authorization' reference list.
See Also:
SQLAccessControlPackage.getAuthorizationIdentifier_ReceivedRoleAuthorization(), RoleAuthorization.getGrantee()

getGrantedRoleAuthorization

public EList getGrantedRoleAuthorization()

Specified by:
getGrantedRoleAuthorization in interface AuthorizationIdentifier
Returns:
the value of the 'Granted Role Authorization' reference list.
See Also:
SQLAccessControlPackage.getAuthorizationIdentifier_GrantedRoleAuthorization(), RoleAuthorization.getGrantor()

getGrantedPrivilege

public EList getGrantedPrivilege()

Specified by:
getGrantedPrivilege in interface AuthorizationIdentifier
Returns:
the value of the 'Granted Privilege' reference list.
See Also:
SQLAccessControlPackage.getAuthorizationIdentifier_GrantedPrivilege(), Privilege.getGrantor()

getReceivedPrivilege

public EList getReceivedPrivilege()

Specified by:
getReceivedPrivilege in interface AuthorizationIdentifier
Returns:
the value of the 'Received Privilege' containment reference list.
See Also:
SQLAccessControlPackage.getAuthorizationIdentifier_ReceivedPrivilege(), Privilege.getGrantee()

eInverseAdd

public NotificationChain eInverseAdd(InternalEObject otherEnd,
                                     int featureID,
                                     NotificationChain msgs)

Overrides:
eInverseAdd in class SQLObjectImpl

eInverseRemove

public NotificationChain eInverseRemove(InternalEObject otherEnd,
                                        int featureID,
                                        NotificationChain msgs)

Overrides:
eInverseRemove in class SQLObjectImpl

eGet

public java.lang.Object eGet(int featureID,
                             boolean resolve,
                             boolean coreType)

Overrides:
eGet in class SQLObjectImpl

eSet

public void eSet(int featureID,
                 java.lang.Object newValue)

Overrides:
eSet in class SQLObjectImpl

eUnset

public void eUnset(int featureID)

Overrides:
eUnset in class SQLObjectImpl

eIsSet

public boolean eIsSet(int featureID)

Overrides:
eIsSet in class SQLObjectImpl


Copyright © 2006 -- 2008 Actuate, IBM Corporation, Sybase, Inc. and others. All rights reserved.