com.hammurapi.party.impl
Class RoleImpl

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 com.hammurapi.party.impl.RoleImpl
All Implemented Interfaces:
DateEffectiveObject, Role, Tagged, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject

public class RoleImpl
extends org.eclipse.emf.ecore.impl.EObjectImpl
implements Role

An implementation of the model object 'Role'.

The following features are implemented:


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends 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
protected  String comment
          The cached value of the 'Comment' attribute.
protected static String COMMENT_EDEFAULT
          The default value of the 'Comment' attribute.
protected  Date end
          The cached value of the 'End' attribute.
protected static Date END_EDEFAULT
          The default value of the 'End' attribute.
protected  String name
          The cached value of the 'Name' attribute.
protected static String NAME_EDEFAULT
          The default value of the 'Name' attribute.
protected  org.eclipse.emf.common.util.EList<Party> party
          The cached value of the 'Party' reference list.
protected  Date start
          The cached value of the 'Start' attribute.
protected static Date START_EDEFAULT
          The default value of the 'Start' attribute.
protected  org.eclipse.emf.common.util.EList<Tag> tags
          The cached value of the 'Tags' containment reference list.
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
 
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
protected RoleImpl()
           
 
Method Summary
 org.eclipse.emf.common.notify.NotificationChain basicSetOwner(CommonObject newOwner, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)
           
 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, Object newValue)
           
protected  org.eclipse.emf.ecore.EClass eStaticClass()
           
 void eUnset(int featureID)
           
 String getComment()
           
 Date getEnd()
           
 String getName()
           
 CommonObject getOwner()
           
 org.eclipse.emf.common.util.EList<Party> getParty()
           
 Date getStart()
           
 org.eclipse.emf.common.util.EList<Tag> getTags()
           
 boolean isEffective(Date date)
           
 boolean isEffectiveNow()
           
 void setComment(String newComment)
           
 void setEnd(Date newEnd)
           
 void setName(String newName)
           
 void setOwner(CommonObject newOwner)
           
 void setStart(Date newStart)
           
 String toString()
           
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
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
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

tags

protected org.eclipse.emf.common.util.EList<Tag> tags
The cached value of the 'Tags' containment reference list.

See Also:
getTags()

COMMENT_EDEFAULT

protected static final String COMMENT_EDEFAULT
The default value of the 'Comment' attribute.

See Also:
getComment()

comment

protected String comment
The cached value of the 'Comment' attribute.

See Also:
getComment()

START_EDEFAULT

protected static final Date START_EDEFAULT
The default value of the 'Start' attribute.

See Also:
getStart()

start

protected Date start
The cached value of the 'Start' attribute.

See Also:
getStart()

END_EDEFAULT

protected static final Date END_EDEFAULT
The default value of the 'End' attribute.

See Also:
getEnd()

end

protected Date end
The cached value of the 'End' attribute.

See Also:
getEnd()

party

protected org.eclipse.emf.common.util.EList<Party> party
The cached value of the 'Party' reference list.

See Also:
getParty()

NAME_EDEFAULT

protected static final String NAME_EDEFAULT
The default value of the 'Name' attribute.

See Also:
getName()

name

protected String name
The cached value of the 'Name' attribute.

See Also:
getName()
Constructor Detail

RoleImpl

protected RoleImpl()

Method Detail

eStaticClass

protected org.eclipse.emf.ecore.EClass eStaticClass()

Overrides:
eStaticClass in class org.eclipse.emf.ecore.impl.EObjectImpl

getTags

public org.eclipse.emf.common.util.EList<Tag> getTags()

Specified by:
getTags in interface Tagged
Returns:
the value of the 'Tags' containment reference list.
See Also:
PartyPackage.getTagged_Tags()

getComment

public String getComment()

Specified by:
getComment in interface Tagged
Returns:
the value of the 'Comment' attribute.
See Also:
Tagged.setComment(String), PartyPackage.getTagged_Comment()

setComment

public void setComment(String newComment)

Specified by:
setComment in interface Tagged
Parameters:
newComment - the new value of the 'Comment' attribute.
See Also:
Tagged.getComment()

getStart

public Date getStart()

Specified by:
getStart in interface DateEffectiveObject
Returns:
the value of the 'Start' attribute.
See Also:
DateEffectiveObject.setStart(Date), PartyPackage.getDateEffectiveObject_Start()

setStart

public void setStart(Date newStart)

Specified by:
setStart in interface DateEffectiveObject
Parameters:
newStart - the new value of the 'Start' attribute.
See Also:
DateEffectiveObject.getStart()

getEnd

public Date getEnd()

Specified by:
getEnd in interface DateEffectiveObject
Returns:
the value of the 'End' attribute.
See Also:
DateEffectiveObject.setEnd(Date), PartyPackage.getDateEffectiveObject_End()

setEnd

public void setEnd(Date newEnd)

Specified by:
setEnd in interface DateEffectiveObject
Parameters:
newEnd - the new value of the 'End' attribute.
See Also:
DateEffectiveObject.getEnd()

getParty

public org.eclipse.emf.common.util.EList<Party> getParty()

Specified by:
getParty in interface Role
Returns:
the value of the 'Party' reference list.
See Also:
PartyPackage.getRole_Party()

getName

public String getName()

Specified by:
getName in interface Role
Returns:
the value of the 'Name' attribute.
See Also:
Role.setName(String), PartyPackage.getRole_Name()

setName

public void setName(String newName)

Specified by:
setName in interface Role
Parameters:
newName - the new value of the 'Name' attribute.
See Also:
Role.getName()

getOwner

public CommonObject getOwner()

Specified by:
getOwner in interface Role
Returns:
the value of the 'Owner' container reference.
See Also:
Role.setOwner(CommonObject), PartyPackage.getRole_Owner(), CommonObject.getRoles()

basicSetOwner

public org.eclipse.emf.common.notify.NotificationChain basicSetOwner(CommonObject newOwner,
                                                                     org.eclipse.emf.common.notify.NotificationChain msgs)


setOwner

public void setOwner(CommonObject newOwner)

Specified by:
setOwner in interface Role
Parameters:
newOwner - the new value of the 'Owner' container reference.
See Also:
Role.getOwner()

isEffectiveNow

public boolean isEffectiveNow()

Specified by:
isEffectiveNow in interface DateEffectiveObject

isEffective

public boolean isEffective(Date date)

Specified by:
isEffective in interface DateEffectiveObject
Parameters:
date - Date for which effectiveness is checked.

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 org.eclipse.emf.ecore.impl.BasicEObjectImpl

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 org.eclipse.emf.ecore.impl.BasicEObjectImpl

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 Object eGet(int featureID,
                   boolean resolve,
                   boolean coreType)

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

eSet

public void eSet(int featureID,
                 Object newValue)

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

eUnset

public void eUnset(int featureID)

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

eIsSet

public boolean eIsSet(int featureID)

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

toString

public String toString()

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