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

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.UserImpl
                                      extended by org.eclipse.datatools.enablement.sybase.ase.models.sybaseasesqlmodel.impl.SybaseASEUserImpl
                                          extended by org.eclipse.datatools.enablement.ase.catalog.SybaseASECatalogUser
All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable, ICatalogObject, SybaseASEUser, SybaseAuthorizationIdentifier, AuthorizationIdentifier, User, 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 SybaseASECatalogUser
extends SybaseASEUserImpl
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>
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
static java.lang.String LOGIN_NAME
           
 
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
SybaseASECatalogUser(SybaseASECatalog catalog)
           
 
Method Summary
 boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)
           
 java.lang.Object getAdapter(java.lang.Class adapter)
           
 Database getCatalogDatabase()
           
 java.sql.Connection getConnection()
           
 java.lang.String getLoginName()
           
 org.eclipse.emf.common.util.EList getOwnedSchema()
          Returns the value of the 'Owned Schema' reference list.
 org.eclipse.emf.common.util.EList getReceivedPrivilege()
          Returns the value of the 'Received Privilege' containment reference list.
 void refresh()
           
 
Methods inherited from class org.eclipse.datatools.enablement.sybase.ase.models.sybaseasesqlmodel.impl.SybaseASEUserImpl
basicGetSqlContainer, eBaseStructuralFeatureID, eDerivedStructuralFeatureID, eGet, eIsSet, eSet, eUnset, getSqlContainer, setLoginName, setSqlContainer, toString
 
Methods inherited from class org.eclipse.datatools.modelbase.sql.accesscontrol.impl.UserImpl
eInverseAdd, eInverseRemove, getGroup
 
Methods inherited from class org.eclipse.datatools.modelbase.sql.accesscontrol.impl.AuthorizationIdentifierImpl
basicGetDatabase, basicSetDatabase, getDatabase, getGrantedPrivilege, getGrantedRoleAuthorization, 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
 
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, eSetClass, eSetDeliver
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, 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.User
getGroup
 
Methods inherited from interface org.eclipse.datatools.modelbase.sql.accesscontrol.AuthorizationIdentifier
getDatabase, getGrantedPrivilege, getGrantedRoleAuthorization, 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, 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, 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, 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
 

Field Detail

LOGIN_NAME

public static final java.lang.String LOGIN_NAME
See Also:
Constant Field Values
Constructor Detail

SybaseASECatalogUser

public SybaseASECatalogUser(SybaseASECatalog catalog)
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

getLoginName

public java.lang.String getLoginName()
Description copied from class: SybaseASEUserImpl

Specified by:
getLoginName in interface SybaseASEUser
Overrides:
getLoginName in class SybaseASEUserImpl
Returns:
the value of the 'Login Name' attribute.
See Also:
SybaseASEUser.setLoginName(String), SybaseasesqlmodelPackage.getSybaseASEUser_LoginName()

getOwnedSchema

public org.eclipse.emf.common.util.EList getOwnedSchema()
Description copied from interface: AuthorizationIdentifier
Returns the value of the 'Owned Schema' reference list. The list contents are of type Schema. It is bidirectional and its opposite is 'Owner'.

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

Specified by:
getOwnedSchema in interface AuthorizationIdentifier
Overrides:
getOwnedSchema in class org.eclipse.datatools.modelbase.sql.accesscontrol.impl.AuthorizationIdentifierImpl
Returns:
the value of the 'Owned Schema' reference list.
See Also:
SQLAccessControlPackage.getAuthorizationIdentifier_OwnedSchema(), Schema.getOwner()

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

getAdapter

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