org.eclipse.wst.rdb.internal.models.sql.accesscontrol.impl
Class PrivilegeImpl

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.emf.ecore.impl.EModelElementImpl
                      extended by org.eclipse.emf.ecore.impl.ENamedElementImpl
                          extended by org.eclipse.wst.rdb.internal.models.sql.schema.impl.SQLObjectImpl
                              extended by org.eclipse.wst.rdb.internal.models.sql.accesscontrol.impl.PrivilegeImpl
All Implemented Interfaces:
commonj.sdo.DataObject, java.io.Serializable, 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, org.eclipse.emf.ecore.sdo.EDataObject, org.eclipse.emf.ecore.sdo.InternalEDataObject, Privilege, SQLObject

public class PrivilegeImpl
extends SQLObjectImpl
implements Privilege

An implementation of the model object 'Privilege'.

The following features are implemented:

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList
 
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
 
Method Summary
 AuthorizationIdentifier basicGetGrantor()
           
 SQLObject basicGetObject()
           
 org.eclipse.emf.common.notify.NotificationChain basicSetGrantee(AuthorizationIdentifier newGrantee, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetGrantor(AuthorizationIdentifier newGrantor, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetObject(SQLObject newObject, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
 void eUnset(int featureID)
           
 java.lang.String getAction()
           
 org.eclipse.emf.common.util.EList getActionObjects()
           
 AuthorizationIdentifier getGrantee()
           
 AuthorizationIdentifier getGrantor()
           
 SQLObject getObject()
           
 boolean isGrantable()
           
 boolean isWithHierarchy()
           
 void setAction(java.lang.String newAction)
           
 void setGrantable(boolean newGrantable)
           
 void setGrantee(AuthorizationIdentifier newGrantee)
           
 void setGrantor(AuthorizationIdentifier newGrantor)
           
 void setObject(SQLObject newObject)
           
 void setWithHierarchy(boolean newWithHierarchy)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.wst.rdb.internal.models.sql.schema.impl.SQLObjectImpl
addEAnnotation, addEAnnotationDetail, createDataObject, createDataObject, createDataObject, createDataObject, createDataObject, createDataObject, delete, get, get, get, getBigDecimal, getBigDecimal, getBigDecimal, getBigInteger, getBigInteger, getBigInteger, getBoolean, getBoolean, getBoolean, getByte, getByte, getByte, getBytes, getBytes, getBytes, getChar, getChar, getChar, getComments, getContainer, getContainmentProperty, getDataGraph, getDataObject, getDataObject, getDataObject, getDate, getDate, getDate, getDependencies, getDescription, getDouble, getDouble, getDouble, getEAnnotation, getEAnnotationDetail, getFloat, getFloat, getFloat, getInstanceProperties, getInt, getInt, getInt, getLabel, getList, getList, getList, getLong, getLong, getLong, getPrivileges, getSequence, getSequence, getSequence, getShort, getShort, getShort, getString, getString, getString, getType, isSet, isSet, isSet, removeEAnnotationDetail, set, set, set, setAnnotationDetail, setBigDecimal, setBigDecimal, setBigDecimal, setBigInteger, setBigInteger, setBigInteger, setBoolean, setBoolean, setBoolean, setByte, setByte, setByte, setBytes, setBytes, setBytes, setChar, setChar, setChar, setDataObject, setDataObject, setDataObject, setDate, setDate, setDate, setDescription, setDouble, setDouble, setDouble, setFloat, setFloat, setFloat, setInt, setInt, setInt, setLabel, setList, setList, setList, setLong, setLong, setLong, setShort, setShort, setShort, setString, setString, setString, unset, unset, unset, writeReplace
 
Methods inherited from class org.eclipse.emf.ecore.impl.ENamedElementImpl
getName, getNameGen, setName
 
Methods inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eObjectForURIFragmentSegment, eURIFragmentSegment, getEAnnotations
 
Methods inherited from class org.eclipse.emf.ecore.impl.FlatEObjectImpl
eContents, eCrossReferences, 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, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eIsSet, 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.wst.rdb.internal.models.sql.schema.SQLObject
addEAnnotation, addEAnnotationDetail, getComments, getDependencies, getDescription, getEAnnotation, getEAnnotationDetail, getLabel, getPrivileges, removeEAnnotationDetail, setAnnotationDetail, setDescription, setLabel
 
Methods inherited from interface org.eclipse.emf.ecore.sdo.EDataObject
getInstanceProperties
 
Methods inherited from interface commonj.sdo.DataObject
createDataObject, createDataObject, createDataObject, createDataObject, createDataObject, createDataObject, delete, get, get, get, getBigDecimal, getBigDecimal, getBigDecimal, getBigInteger, getBigInteger, getBigInteger, getBoolean, getBoolean, getBoolean, getByte, getByte, getByte, getBytes, getBytes, getBytes, getChar, getChar, getChar, getContainer, getContainmentProperty, getDataGraph, getDataObject, getDataObject, getDataObject, getDate, getDate, getDate, getDouble, getDouble, getDouble, getFloat, getFloat, getFloat, getInt, getInt, getInt, getList, getList, getList, getLong, getLong, getLong, getSequence, getSequence, getSequence, getShort, getShort, getShort, getString, getString, getString, getType, isSet, isSet, isSet, set, set, set, setBigDecimal, setBigDecimal, setBigDecimal, setBigInteger, setBigInteger, setBigInteger, setBoolean, setBoolean, setBoolean, setByte, setByte, setByte, setBytes, setBytes, setBytes, setChar, setChar, setChar, setDataObject, setDataObject, setDataObject, setDate, setDate, setDate, setDouble, setDouble, setDouble, setFloat, setFloat, setFloat, setInt, setInt, setInt, setList, setList, setList, setLong, setLong, setLong, setShort, setShort, setShort, setString, setString, setString, unset, unset, unset
 
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.InternalEObject
eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainerFeatureID, eDerivedStructuralFeatureID, eDirectResource, eGet, eInternalContainer, eInternalResource, eInverseAdd, eInverseRemove, eNotificationRequired, eObjectForURIFragmentSegment, eProxyURI, eResolveProxy, eSetClass, eSetProxyURI, eSetResource, eSetStore, eSetting, eStore, eURIFragmentSegment
 

Method Detail

isGrantable

public boolean isGrantable()

Specified by:
isGrantable in interface Privilege
Returns:
the value of the 'Grantable' attribute.
See Also:
Privilege.setGrantable(boolean), SQLAccessControlPackage.getPrivilege_Grantable()

setGrantable

public void setGrantable(boolean newGrantable)

Specified by:
setGrantable in interface Privilege
Parameters:
newGrantable - the new value of the 'Grantable' attribute.
See Also:
Privilege.isGrantable()

getAction

public java.lang.String getAction()

Specified by:
getAction in interface Privilege
Returns:
the value of the 'Action' attribute.
See Also:
Privilege.setAction(String), SQLAccessControlPackage.getPrivilege_Action()

setAction

public void setAction(java.lang.String newAction)

Specified by:
setAction in interface Privilege
Parameters:
newAction - the new value of the 'Action' attribute.
See Also:
Privilege.getAction()

isWithHierarchy

public boolean isWithHierarchy()

Specified by:
isWithHierarchy in interface Privilege
Returns:
the value of the 'With Hierarchy' attribute.
See Also:
Privilege.setWithHierarchy(boolean), SQLAccessControlPackage.getPrivilege_WithHierarchy()

setWithHierarchy

public void setWithHierarchy(boolean newWithHierarchy)

Specified by:
setWithHierarchy in interface Privilege
Parameters:
newWithHierarchy - the new value of the 'With Hierarchy' attribute.
See Also:
Privilege.isWithHierarchy()

getGrantor

public AuthorizationIdentifier getGrantor()

Specified by:
getGrantor in interface Privilege
Returns:
the value of the 'Grantor' reference.
See Also:
Privilege.setGrantor(AuthorizationIdentifier), SQLAccessControlPackage.getPrivilege_Grantor(), AuthorizationIdentifier.getGrantedPrivilege()

basicGetGrantor

public AuthorizationIdentifier basicGetGrantor()


basicSetGrantor

public org.eclipse.emf.common.notify.NotificationChain basicSetGrantor(AuthorizationIdentifier newGrantor,
                                                                       org.eclipse.emf.common.notify.NotificationChain msgs)


setGrantor

public void setGrantor(AuthorizationIdentifier newGrantor)

Specified by:
setGrantor in interface Privilege
Parameters:
newGrantor - the new value of the 'Grantor' reference.
See Also:
Privilege.getGrantor()

getGrantee

public AuthorizationIdentifier getGrantee()

Specified by:
getGrantee in interface Privilege
Returns:
the value of the 'Grantee' container reference.
See Also:
Privilege.setGrantee(AuthorizationIdentifier), SQLAccessControlPackage.getPrivilege_Grantee(), AuthorizationIdentifier.getReceivedPrivilege()

basicSetGrantee

public org.eclipse.emf.common.notify.NotificationChain basicSetGrantee(AuthorizationIdentifier newGrantee,
                                                                       org.eclipse.emf.common.notify.NotificationChain msgs)


setGrantee

public void setGrantee(AuthorizationIdentifier newGrantee)

Specified by:
setGrantee in interface Privilege
Parameters:
newGrantee - the new value of the 'Grantee' container reference.
See Also:
Privilege.getGrantee()

getObject

public SQLObject getObject()

Specified by:
getObject in interface Privilege
Returns:
the value of the 'Object' reference.
See Also:
Privilege.setObject(SQLObject), SQLAccessControlPackage.getPrivilege_Object(), SQLObject.getPrivileges()

basicGetObject

public SQLObject basicGetObject()


basicSetObject

public org.eclipse.emf.common.notify.NotificationChain basicSetObject(SQLObject newObject,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)


setObject

public void setObject(SQLObject newObject)

Specified by:
setObject in interface Privilege
Parameters:
newObject - the new value of the 'Object' reference.
See Also:
Privilege.getObject()

getActionObjects

public org.eclipse.emf.common.util.EList getActionObjects()

Specified by:
getActionObjects in interface Privilege
Returns:
the value of the 'Action Objects' reference list.
See Also:
SQLAccessControlPackage.getPrivilege_ActionObjects()

eInverseAdd

public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                   int featureID,
                                                                   org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eInverseAdd in class SQLObjectImpl

eInverseRemove

public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                      int featureID,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eInverseRemove in class SQLObjectImpl

eBasicRemoveFromContainerFeature

public org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eBasicRemoveFromContainerFeature in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eGet

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

Specified by:
eGet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eGet in class SQLObjectImpl

eSet

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

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class SQLObjectImpl

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class SQLObjectImpl

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class SQLObjectImpl

toString

public java.lang.String toString()

Overrides:
toString in class SQLObjectImpl