org.eclipse.ocl.uml.impl
Class MessageTypeImpl

java.lang.Object
  extended by ClassifierImpl
      extended by org.eclipse.ocl.uml.impl.MessageTypeImpl
All Implemented Interfaces:
MessageType<Classifier,Operation,Property>, PredefinedType<Operation>

public class MessageTypeImpl
extends ClassifierImpl
implements MessageType

An implementation of the model object 'Message Type'.

The following features are implemented:


Field Summary
protected static int[] ATTRIBUTE_ESUBSETS
          The array of subset feature identifiers for the 'Attribute' reference list
protected static int[] FEATURE_ESUBSETS
          The array of subset feature identifiers for the 'Feature' reference list
protected   ownedAttributes
          The cached value of the 'Owned Attribute' containment reference list
protected   ownedOperations
          The cached value of the 'Owned Operation' containment reference list
protected  Operation referredOperation
          The cached value of the 'Referred Operation' reference
protected  Classifier referredSignal
          The cached value of the 'Referred Signal' reference
 
Fields inherited from interface org.eclipse.ocl.types.MessageType
SINGLETON_NAME
 
Fields inherited from interface org.eclipse.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, RESULT, RESULT_NAME, ROUND, ROUND_NAME, SELECT, SELECT_NAME, SIZE, SIZE_NAME, SORTED_BY, SORTED_BY_NAME, SUB_ORDERED_SET, SUB_ORDERED_SET_NAME, SUB_SEQUENCE, SUB_SEQUENCE_NAME, SUBSTRING, SUBSTRING_NAME, SUM, SUM_NAME, 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, XOR, XOR_NAME
 
Constructor Summary
protected MessageTypeImpl()
           
 
Method Summary
 Operation basicGetReferredOperation()
           
 Classifier basicGetReferredSignal()
           
 boolean checkExclusiveSignature(DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
           
 boolean checkOperationParameters(DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
           
 boolean checkSignalAttributes(DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
           
 int eBaseStructuralFeatureID(int derivedFeatureID, java.lang.Class<?> baseClass)
           
 int eDerivedStructuralFeatureID(int baseFeatureID, java.lang.Class<?> baseClass)
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(int featureID)
           
  getAttributes()
           
  getFeatures()
           
 java.lang.String getName()
           If the meaning of the 'Name' attribute isn't clear, there really should be more of a description here...
 Property getOwnedAttribute(java.lang.String name, Type type)
           
 Property getOwnedAttribute(java.lang.String name, Type type, boolean ignoreCase, EClass eClass)
           
  getOwnedAttributes()
           
 Operation getOwnedOperation(java.lang.String name,  ownedParameterNames,  ownedParameterTypes)
           
 Operation getOwnedOperation(java.lang.String name,  ownedParameterNames,  ownedParameterTypes, boolean ignoreCase)
           
  getOwnedOperations()
           
 Operation getReferredOperation()
           
 Classifier getReferredSignal()
           
 boolean isSetAttributes()
           
 boolean isSetFeatures()
           
  oclOperations()
           If the meaning of the 'Operations' reference list isn't clear, there really should be more of a description here...
  oclProperties()
           If the meaning of the 'Properties' reference list isn't clear, there really should be more of a description here...
 void setReferredOperation(Operation newReferredOperation)
           
 void setReferredSignal(Classifier newReferredSignal)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.ocl.types.MessageType
checkExclusiveSignature, checkOperationParameters, checkSignalAttributes
 

Field Detail

referredOperation

protected Operation referredOperation
The cached value of the 'Referred Operation' reference.

See Also:
getReferredOperation()

referredSignal

protected Classifier referredSignal
The cached value of the 'Referred Signal' reference.

See Also:
getReferredSignal()

ownedOperations

protected  ownedOperations
The cached value of the 'Owned Operation' containment reference list.

See Also:
getOwnedOperations()

ownedAttributes

protected  ownedAttributes
The cached value of the 'Owned Attribute' containment reference list.

See Also:
getOwnedAttributes()

FEATURE_ESUBSETS

protected static final int[] FEATURE_ESUBSETS
The array of subset feature identifiers for the 'Feature' reference list.

See Also:
getFeatures()

ATTRIBUTE_ESUBSETS

protected static final int[] ATTRIBUTE_ESUBSETS
The array of subset feature identifiers for the 'Attribute' reference list.

See Also:
getAttributes()
Constructor Detail

MessageTypeImpl

protected MessageTypeImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()


getReferredOperation

public Operation getReferredOperation()

Specified by:
getReferredOperation in interface MessageType<Classifier,Operation,Property>
Returns:
the value of the 'Referred Operation' reference.
See Also:
MessageType.setReferredOperation(Object), TypesPackage.getMessageType_ReferredOperation()

basicGetReferredOperation

public Operation basicGetReferredOperation()


setReferredOperation

public void setReferredOperation(Operation newReferredOperation)

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

getReferredSignal

public Classifier getReferredSignal()

Specified by:
getReferredSignal in interface MessageType<Classifier,Operation,Property>
Returns:
the value of the 'Referred Signal' reference.
See Also:
MessageType.setReferredSignal(Object), TypesPackage.getMessageType_ReferredSignal()

basicGetReferredSignal

public Classifier basicGetReferredSignal()


setReferredSignal

public void setReferredSignal(Classifier newReferredSignal)

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

getFeatures

public  getFeatures()


getOwnedOperations

public  getOwnedOperations()


getOwnedOperation

public Operation getOwnedOperation(java.lang.String name,
                                    ownedParameterNames,
                                    ownedParameterTypes)


getOwnedOperation

public Operation getOwnedOperation(java.lang.String name,
                                    ownedParameterNames,
                                    ownedParameterTypes,
                                   boolean ignoreCase)


getOwnedAttributes

public  getOwnedAttributes()


getOwnedAttribute

public Property getOwnedAttribute(java.lang.String name,
                                  Type type)


getOwnedAttribute

public Property getOwnedAttribute(java.lang.String name,
                                  Type type,
                                  boolean ignoreCase,
                                  EClass eClass)


getName

public java.lang.String getName()
Description copied from interface: PredefinedType

If the meaning of the 'Name' attribute isn't clear, there really should be more of a description here...

Specified by:
getName in interface PredefinedType<Operation>

getAttributes

public  getAttributes()


isSetAttributes

public boolean isSetAttributes()


oclProperties

public  oclProperties()
Description copied from interface: MessageType

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

Specified by:
oclProperties in interface MessageType<Classifier,Operation,Property>

oclOperations

public  oclOperations()
Description copied from interface: PredefinedType

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

Specified by:
oclOperations in interface PredefinedType<Operation>

checkExclusiveSignature

public boolean checkExclusiveSignature(DiagnosticChain diagnostics,
                                       java.util.Map<java.lang.Object,java.lang.Object> context)


checkOperationParameters

public boolean checkOperationParameters(DiagnosticChain diagnostics,
                                        java.util.Map<java.lang.Object,java.lang.Object> context)


checkSignalAttributes

public boolean checkSignalAttributes(DiagnosticChain diagnostics,
                                     java.util.Map<java.lang.Object,java.lang.Object> context)


eInverseRemove

public NotificationChain eInverseRemove(InternalEObject otherEnd,
                                        int featureID,
                                        NotificationChain msgs)


eGet

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


eSet

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


eUnset

public void eUnset(int featureID)


eIsSet

public boolean eIsSet(int featureID)


eBaseStructuralFeatureID

public int eBaseStructuralFeatureID(int derivedFeatureID,
                                    java.lang.Class<?> baseClass)


eDerivedStructuralFeatureID

public int eDerivedStructuralFeatureID(int baseFeatureID,
                                       java.lang.Class<?> baseClass)


isSetFeatures

public boolean isSetFeatures()


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