org.eclipse.emf.ocl.types.impl
Class MessageTypeImpl

java.lang.Object
  extended byorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended byorg.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended byorg.eclipse.emf.ecore.impl.EObjectImpl
              extended byorg.eclipse.emf.ecore.impl.FlatEObjectImpl
                  extended byorg.eclipse.emf.ecore.impl.EModelElementImpl
                      extended byorg.eclipse.emf.ecore.impl.ENamedElementImpl
                          extended byorg.eclipse.emf.ecore.impl.EClassifierImpl
                              extended byorg.eclipse.emf.ecore.impl.EClassImpl
                                  extended byorg.eclipse.emf.ocl.types.impl.MessageTypeImpl
All Implemented Interfaces:
org.eclipse.emf.ecore.util.BasicExtendedMetaData.EClassifierExtendedMetaData.Holder, org.eclipse.emf.ecore.EClass, org.eclipse.emf.ecore.EClassifier, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.ENamedElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.impl.ESuperAdapter.Holder, org.eclipse.emf.ecore.InternalEObject, MessageType, org.eclipse.emf.common.notify.Notifier, PredefinedType

public class MessageTypeImpl
extends org.eclipse.emf.ecore.impl.EClassImpl
implements MessageType

An implementation of the model object 'Message Type'.

The following features are implemented:


Nested Class Summary
 
Nested classes inherited from class org.eclipse.emf.ecore.impl.EClassImpl
org.eclipse.emf.ecore.impl.EClassImpl.FeatureSubsetSupplier
 
Nested classes 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 inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList
 
Nested classes inherited from class org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
static java.lang.String copyright
           
static MessageType INSTANCE
           
protected  org.eclipse.emf.ecore.EOperation referredOperation
          The cached value of the 'Referred Operation' reference
protected  org.eclipse.emf.ecore.EClass referredSignal
          The cached value of the 'Referred Signal' reference
 
Fields inherited from class org.eclipse.emf.ecore.impl.EClassImpl
ABSTRACT_EDEFAULT, ABSTRACT_EFLAG, eAllAttributes, eAllContainments, eAllOperations, eAllReferences, eAllStructuralFeatures, eAllStructuralFeaturesData, eAllSuperTypes, eAttributes, eIDAttribute, eNameToFeatureMap, eOperations, eReferences, eStructuralFeatures, eSuperAdapter, eSuperTypes, INTERFACE_EDEFAULT, INTERFACE_EFLAG
 
Fields inherited from class org.eclipse.emf.ecore.impl.EClassifierImpl
DEFAULT_VALUE_EDEFAULT, eClassifierExtendedMetaData, generatedInstanceClassName, INSTANCE_CLASS_EDEFAULT, INSTANCE_CLASS_NAME_EDEFAULT, instanceClass, instanceClassName, metaObjectID
 
Fields inherited from class org.eclipse.emf.ecore.impl.ENamedElementImpl
name, NAME_EDEFAULT
 
Fields inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eAnnotations, EFROZEN, ELAST_EMODEL_ELEMENT_FLAG
 
Fields inherited from class org.eclipse.emf.ecore.impl.FlatEObjectImpl
eContents, eCrossReferences, eProxyURI
 
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.ocl.utilities.PredefinedType
ABS, ABS_NAME, ALL_INSTANCES, ALL_INSTANCES_NAME, AND, AND_NAME, ANY, ANY_NAME, APPEND, APPEND_NAME, AS_BAG, AS_BAG_NAME, AS_ORDERED_SET, AS_ORDERED_SET_NAME, AS_SEQUENCE, AS_SEQUENCE_NAME, AS_SET, AS_SET_NAME, AT, AT_NAME, CLOSURE, CLOSURE_NAME, COLLECT, COLLECT_NAME, COLLECT_NESTED, COLLECT_NESTED_NAME, CONCAT, CONCAT_NAME, COUNT, COUNT_NAME, DIV, DIV_NAME, DIVIDE, DIVIDE_NAME, EQUAL, EQUAL_NAME, EXCLUDES, EXCLUDES_ALL, EXCLUDES_ALL_NAME, EXCLUDES_NAME, EXCLUDING, EXCLUDING_NAME, EXISTS, EXISTS_NAME, FIRST, FIRST_NAME, FLATTEN, FLATTEN_NAME, FLOOR, FLOOR_NAME, FOR_ALL, FOR_ALL_NAME, GREATER_THAN, GREATER_THAN_EQUAL, GREATER_THAN_EQUAL_NAME, GREATER_THAN_NAME, HAS_RETURNED, HAS_RETURNED_NAME, IMPLIES, IMPLIES_NAME, INCLUDES, INCLUDES_ALL, INCLUDES_ALL_NAME, INCLUDES_NAME, INCLUDING, INCLUDING_NAME, INDEX_OF, INDEX_OF_NAME, INSERT_AT, INSERT_AT_NAME, INTERSECTION, INTERSECTION_NAME, IS_EMPTY, IS_EMPTY_NAME, IS_OPERATION_CALL, IS_OPERATION_CALL_NAME, IS_SIGNAL_SENT, IS_SIGNAL_SENT_NAME, IS_UNIQUE, IS_UNIQUE_NAME, LAST, LAST_NAME, LESS_THAN, LESS_THAN_EQUAL, LESS_THAN_EQUAL_NAME, LESS_THAN_NAME, MAX, MAX_NAME, MIN, MIN_NAME, MINUS, MINUS_NAME, MOD, MOD_NAME, NOT, NOT_EMPTY, NOT_EMPTY_NAME, NOT_EQUAL, NOT_EQUAL_NAME, NOT_NAME, OCL_AS_TYPE, OCL_AS_TYPE_NAME, OCL_IS_IN_STATE, OCL_IS_IN_STATE_NAME, OCL_IS_INVALID, OCL_IS_INVALID_NAME, OCL_IS_KIND_OF, OCL_IS_KIND_OF_NAME, OCL_IS_NEW, OCL_IS_NEW_NAME, OCL_IS_TYPE_OF, OCL_IS_TYPE_OF_NAME, OCL_IS_UNDEFINED, OCL_IS_UNDEFINED_NAME, ONE, ONE_NAME, OR, OR_NAME, PLUS, PLUS_NAME, PREPEND, PREPEND_NAME, PRODUCT, PRODUCT_NAME, REJECT, REJECT_NAME, RELATED_TYPE, RESULT, RESULT_NAME, ROUND, ROUND_NAME, SAME_TYPE, SELECT, SELECT_NAME, SIZE, SIZE_NAME, SORTED_BY, SORTED_BY_NAME, STRICT_SUBTYPE, STRICT_SUPERTYPE, SUB_ORDERED_SET, SUB_ORDERED_SET_NAME, SUB_SEQUENCE, SUB_SEQUENCE_NAME, SUBSTRING, SUBSTRING_NAME, SUBTYPE, SUM, SUM_NAME, SUPERTYPE, SYMMETRIC_DIFFERENCE, SYMMETRIC_DIFFERENCE_NAME, TIMES, TIMES_NAME, TO_INTEGER, TO_INTEGER_NAME, TO_LOWER, TO_LOWER_NAME, TO_REAL, TO_REAL_NAME, TO_UPPER, TO_UPPER_NAME, UNION, UNION_NAME, UNRELATED_TYPE, XOR, XOR_NAME
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
protected MessageTypeImpl()
           
protected MessageTypeImpl(java.lang.String name)
           
 
Method Summary
 org.eclipse.emf.ecore.EOperation basicGetReferredOperation()
           
 org.eclipse.emf.ecore.EClass basicGetReferredSignal()
           
protected static MessageType createMessageType(org.eclipse.emf.ecore.ENamedElement behavioralFeature)
          Creates the type for the messages representing invocation of the specified behavioralFeature.
protected static org.eclipse.emf.common.util.EList createOperations()
          Initialiaze Operations defined on MessageType
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
protected  org.eclipse.emf.ecore.EClass eStaticClass()
           
 void eUnset(int featureID)
           
 org.eclipse.emf.ecore.EClassifier getCommonSupertype(org.eclipse.emf.ecore.EClassifier type)
           
 java.lang.String getName()
           
 int getOperationCodeFor(java.lang.String operName)
           
 java.lang.String getOperationNameFor(int opcode)
           
 org.eclipse.emf.common.util.EList getOperations()
           
 org.eclipse.emf.ecore.EOperation getReferredOperation()
           
 org.eclipse.emf.ecore.EClass getReferredSignal()
           
 int getRelationshipTo(org.eclipse.emf.ecore.EClassifier type)
           
 org.eclipse.emf.ecore.EClassifier getResultTypeFor(org.eclipse.emf.ecore.EClassifier ownerType, int opcode, org.eclipse.emf.common.util.EList args)
           
 void setReferredOperation(org.eclipse.emf.ecore.EOperation newReferredOperation)
           
 void setReferredSignal(org.eclipse.emf.ecore.EClass newReferredSignal)
           
 
Methods inherited from class org.eclipse.emf.ecore.impl.EClassImpl
dynamicIsInstance, eInverseAdd, eInverseRemove, eObjectForURIFragmentSegment, eSetDeliver, freeze, getEAllAttributes, getEAllContainments, getEAllOperations, getEAllReferences, getEAllStructuralFeatures, getEAllStructuralFeaturesData, getEAllSuperTypes, getEAttributes, getEIDAttribute, getEOperations, getEReferences, getEStructuralFeature, getEStructuralFeature, getEStructuralFeatures, getESuperAdapter, getESuperTypes, getESuperTypesGen, getFeatureCount, getFeatureID, isAbstract, isFrozen, isInterface, isSuperTypeOf, setAbstract, setInterface, toString
 
Methods inherited from class org.eclipse.emf.ecore.impl.EClassifierImpl
basicGetEPackage, eBasicRemoveFromContainerFeature, eBasicSetContainer, getClassForName, getClassifierID, getDefaultValue, getEPackage, getEPackageGen, getExtendedMetaData, getInstanceClass, getInstanceClassGen, getInstanceClassName, getInstanceClassNameGen, getPrimitiveOrArrayClass, isInstance, setClassifierID, setExtendedMetaData, setGeneratedInstanceClass, setInstanceClass, setInstanceClassGen, setInstanceClassName, setInstanceClassNameGen
 
Methods inherited from class org.eclipse.emf.ecore.impl.ENamedElementImpl
getNameGen, setName
 
Methods inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eURIFragmentSegment, freeze, getEAnnotation, getEAnnotations, setFrozen
 
Methods inherited from class org.eclipse.emf.ecore.impl.FlatEObjectImpl
eContents, eCrossReferences, eIsProxy, eProperties, eProxyURI, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eSetClass
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, 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, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStore, eUnset, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
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.EClass
getEAllAttributes, getEAllContainments, getEAllOperations, getEAllReferences, getEAllStructuralFeatures, getEAllSuperTypes, getEAttributes, getEIDAttribute, getEOperations, getEReferences, getEStructuralFeature, getEStructuralFeature, getEStructuralFeatures, getESuperTypes, getFeatureCount, getFeatureID, isAbstract, isInterface, isSuperTypeOf, setAbstract, setInterface
 
Methods inherited from interface org.eclipse.emf.ecore.EClassifier
getClassifierID, getDefaultValue, getEPackage, getInstanceClass, getInstanceClassName, isInstance, setInstanceClass, setInstanceClassName
 
Methods inherited from interface org.eclipse.emf.ecore.ENamedElement
setName
 
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
 
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

copyright

public static final java.lang.String copyright

See Also:
Constant Field Values

INSTANCE

public static final MessageType INSTANCE

referredSignal

protected org.eclipse.emf.ecore.EClass referredSignal
The cached value of the 'Referred Signal' reference.

See Also:
MessageTypeImpl.getReferredSignal()

referredOperation

protected org.eclipse.emf.ecore.EOperation referredOperation
The cached value of the 'Referred Operation' reference.

See Also:
MessageTypeImpl.getReferredOperation()
Constructor Detail

MessageTypeImpl

protected MessageTypeImpl()


MessageTypeImpl

protected MessageTypeImpl(java.lang.String name)
Method Detail

createOperations

protected static org.eclipse.emf.common.util.EList createOperations()
Initialiaze Operations defined on MessageType


getName

public java.lang.String getName()
Specified by:
getName in interface org.eclipse.emf.ecore.ENamedElement

createMessageType

protected static MessageType createMessageType(org.eclipse.emf.ecore.ENamedElement behavioralFeature)
Creates the type for the messages representing invocation of the specified behavioralFeature.

Parameters:
behavioralFeature - either an EOperation or an EClass representing a received signal
Returns:
the message type

eStaticClass

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


getReferredSignal

public org.eclipse.emf.ecore.EClass getReferredSignal()

Specified by:
getReferredSignal in interface MessageType

basicGetReferredSignal

public org.eclipse.emf.ecore.EClass basicGetReferredSignal()


setReferredSignal

public void setReferredSignal(org.eclipse.emf.ecore.EClass newReferredSignal)

Specified by:
setReferredSignal in interface MessageType
Parameters:
newReferredSignal - the new value of the 'Referred Signal' reference.
See Also:
MessageType.getReferredSignal()

getOperations

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

Specified by:
getOperations in interface PredefinedType

getOperationNameFor

public java.lang.String getOperationNameFor(int opcode)

Specified by:
getOperationNameFor in interface PredefinedType

getOperationCodeFor

public int getOperationCodeFor(java.lang.String operName)

Specified by:
getOperationCodeFor in interface PredefinedType

getResultTypeFor

public org.eclipse.emf.ecore.EClassifier getResultTypeFor(org.eclipse.emf.ecore.EClassifier ownerType,
                                                          int opcode,
                                                          org.eclipse.emf.common.util.EList args)
                                                   throws SemanticException

Specified by:
getResultTypeFor in interface PredefinedType
Throws:
SemanticException

getRelationshipTo

public int getRelationshipTo(org.eclipse.emf.ecore.EClassifier type)

Specified by:
getRelationshipTo in interface PredefinedType

getCommonSupertype

public org.eclipse.emf.ecore.EClassifier getCommonSupertype(org.eclipse.emf.ecore.EClassifier type)
                                                     throws SemanticException

Specified by:
getCommonSupertype in interface PredefinedType
Throws:
SemanticException

eGet

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

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

eSet

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

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

eUnset

public void eUnset(int featureID)

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

eIsSet

public boolean eIsSet(int featureID)

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

getReferredOperation

public org.eclipse.emf.ecore.EOperation getReferredOperation()

Specified by:
getReferredOperation in interface MessageType

basicGetReferredOperation

public org.eclipse.emf.ecore.EOperation basicGetReferredOperation()


setReferredOperation

public void setReferredOperation(org.eclipse.emf.ecore.EOperation newReferredOperation)

Specified by:
setReferredOperation in interface MessageType
Parameters:
newReferredOperation - the new value of the 'Referred Operation' reference.
See Also:
MessageType.getReferredOperation()

Copyright 2002, 2006 IBM Corporation and others.
All Rights Reserved.