org.eclipse.datatools.enablement.ase.catalog
Class SybaseASECatalogRole

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.EObjectImpl
              extended by org.eclipse.emf.ecore.impl.FlatEObjectImpl
                  extended by org.eclipse.datatools.modelbase.sql.schema.impl.EModelElementImpl
                      extended by org.eclipse.datatools.modelbase.sql.schema.impl.ENamedElementImpl
                          extended by org.eclipse.datatools.modelbase.sql.schema.impl.SQLObjectImpl
                              extended by org.eclipse.datatools.modelbase.sql.accesscontrol.impl.AuthorizationIdentifierImpl
                                  extended by org.eclipse.datatools.modelbase.sql.accesscontrol.impl.RoleImpl
                                      extended by org.eclipse.datatools.enablement.sybase.ase.models.sybaseasesqlmodel.impl.SybaseASERoleImpl
                                          extended by org.eclipse.datatools.enablement.ase.catalog.SybaseASECatalogRole
All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable, ICatalogObject, SybaseASERole, SybaseAuthorizationIdentifier, AuthorizationIdentifier, Role, SQLObject, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.ENamedElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject

public class SybaseASECatalogRole
extends SybaseASERoleImpl
implements ICatalogObject, org.eclipse.core.runtime.IAdaptable


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
ELAST_EOBJECT_FLAG
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
SybaseASECatalogRole(SybaseASECatalogDatabase database)
           
 
Method Summary
 void clearReceivedPrivileges(java.lang.String catalogName)
           
 boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)
           
 java.lang.Object getAdapter(java.lang.Class adapter)
           
 Database getCatalogDatabase()
           
 java.sql.Connection getConnection()
           
 org.eclipse.emf.common.util.EList getReceivedPrivilege()
          Returns the value of the 'Received Privilege' containment reference list.
 java.util.List getReceivedPrivileges(java.lang.String catalogName)
           
 void refresh()
           
 
Methods inherited from class org.eclipse.datatools.enablement.sybase.ase.models.sybaseasesqlmodel.impl.SybaseASERoleImpl
basicGetSqlContainer, eBaseStructuralFeatureID, eDerivedStructuralFeatureID, eGet, eIsSet, eSet, eUnset, getSqlContainer, setSqlContainer
 
Methods inherited from class org.eclipse.datatools.modelbase.sql.accesscontrol.impl.RoleImpl
eInverseAdd, eInverseRemove, getRoleAuthorization
 
Methods inherited from class org.eclipse.datatools.modelbase.sql.accesscontrol.impl.AuthorizationIdentifierImpl
basicGetDatabase, basicSetDatabase, getDatabase, getGrantedPrivilege, getGrantedRoleAuthorization, getOwnedSchema, getReceivedRoleAuthorization, setDatabase
 
Methods inherited from class org.eclipse.datatools.modelbase.sql.schema.impl.SQLObjectImpl
addEAnnotation, addEAnnotationDetail, getComments, getDependencies, getDescription, getEAnnotation, getEAnnotationDetail, getExtensions, getLabel, getPrivileges, removeEAnnotationDetail, setAnnotationDetail, setDescription, setLabel, toString
 
Methods inherited from class org.eclipse.datatools.modelbase.sql.schema.impl.ENamedElementImpl
eContents, eCrossReferences, getName, getNameGen, setName
 
Methods inherited from class org.eclipse.datatools.modelbase.sql.schema.impl.EModelElementImpl
eObjectForURIFragmentSegment, eURIFragmentSegment, getEAnnotations
 
Methods inherited from class org.eclipse.emf.ecore.impl.FlatEObjectImpl
eIsProxy, eProxyURI, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eSetClass, eSetDeliver
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvoke, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.datatools.modelbase.sql.accesscontrol.Role
getRoleAuthorization
 
Methods inherited from interface org.eclipse.datatools.modelbase.sql.accesscontrol.AuthorizationIdentifier
getDatabase, getGrantedPrivilege, getGrantedRoleAuthorization, getOwnedSchema, getReceivedRoleAuthorization, setDatabase
 
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, eInvoke, eIsProxy, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.datatools.modelbase.sql.accesscontrol.AuthorizationIdentifier
getDatabase, getGrantedPrivilege, getGrantedRoleAuthorization, getOwnedSchema, getReceivedRoleAuthorization, setDatabase
 
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, eInvoke, eIsProxy, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Constructor Detail

SybaseASECatalogRole

public SybaseASECatalogRole(SybaseASECatalogDatabase database)
Method Detail

getCatalogDatabase

public Database getCatalogDatabase()
Specified by:
getCatalogDatabase in interface ICatalogObject

getConnection

public java.sql.Connection getConnection()
Specified by:
getConnection in interface ICatalogObject

refresh

public void refresh()
Specified by:
refresh in interface ICatalogObject

eIsSet

public boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)
Specified by:
eIsSet in interface org.eclipse.emf.ecore.EObject
Overrides:
eIsSet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

getReceivedPrivilege

public org.eclipse.emf.common.util.EList getReceivedPrivilege()
Description copied from interface: AuthorizationIdentifier
Returns the value of the 'Received Privilege' containment reference list. The list contents are of type Privilege. It is bidirectional and its opposite is 'Grantee'.

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

Specified by:
getReceivedPrivilege in interface AuthorizationIdentifier
Overrides:
getReceivedPrivilege in class org.eclipse.datatools.modelbase.sql.accesscontrol.impl.AuthorizationIdentifierImpl
Returns:
the value of the 'Received Privilege' containment reference list.
See Also:
SQLAccessControlPackage.getAuthorizationIdentifier_ReceivedPrivilege(), Privilege.getGrantee()

getReceivedPrivileges

public java.util.List getReceivedPrivileges(java.lang.String catalogName)
Description copied from class: SybaseASERoleImpl

Specified by:
getReceivedPrivileges in interface SybaseASERole
Overrides:
getReceivedPrivileges in class SybaseASERoleImpl

clearReceivedPrivileges

public void clearReceivedPrivileges(java.lang.String catalogName)

getAdapter

public java.lang.Object getAdapter(java.lang.Class adapter)
Specified by:
getAdapter in interface org.eclipse.core.runtime.IAdaptable