org.eclipse.ocl.cst.impl
Class CollectionTypeCSImpl

java.lang.Object
  extended by EObjectImpl
      extended by org.eclipse.ocl.cst.impl.CSTNodeImpl
          extended by org.eclipse.ocl.cst.impl.OCLExpressionCSImpl
              extended by org.eclipse.ocl.cst.impl.SimpleNameCSImpl
                  extended by org.eclipse.ocl.cst.impl.CollectionTypeCSImpl
All Implemented Interfaces:
CollectionTypeCS, CSTNode, OCLExpressionCS, SimpleNameCS, TypeCS

public class CollectionTypeCSImpl
extends SimpleNameCSImpl
implements CollectionTypeCS

An implementation of the model object 'Collection Type CS'.

The following features are implemented:


Field Summary
protected static CollectionTypeIdentifierEnum COLLECTION_TYPE_IDENTIFIER_EDEFAULT
          The default value of the 'Collection Type Identifier' attribute
protected  CollectionTypeIdentifierEnum collectionTypeIdentifier
          The cached value of the 'Collection Type Identifier' attribute
protected  TypeCS typeCS
          The cached value of the 'Type CS' containment reference
 
Fields inherited from class org.eclipse.ocl.cst.impl.SimpleNameCSImpl
type, TYPE_EDEFAULT, value, VALUE_EDEFAULT
 
Fields inherited from class org.eclipse.ocl.cst.impl.CSTNodeImpl
ast, AST_EDEFAULT, END_OFFSET_EDEFAULT, END_TOKEN_EDEFAULT, endOffset, endToken, START_OFFSET_EDEFAULT, START_TOKEN_EDEFAULT, startOffset, startToken
 
Constructor Summary
protected CollectionTypeCSImpl()
           
 
Method Summary
 NotificationChain basicSetTypeCS(TypeCS newTypeCS, NotificationChain msgs)
           
 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)
           
 CollectionTypeIdentifierEnum getCollectionTypeIdentifier()
           
 TypeCS getTypeCS()
           
 void setCollectionTypeIdentifier(CollectionTypeIdentifierEnum newCollectionTypeIdentifier)
           
 void setTypeCS(TypeCS newTypeCS)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.ocl.cst.impl.SimpleNameCSImpl
getType, getValue, setType, setValue
 
Methods inherited from class org.eclipse.ocl.cst.impl.CSTNodeImpl
getAst, getEndOffset, getEndToken, getStartOffset, getStartToken, setAst, setEndOffset, setEndToken, setStartOffset, setStartToken
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.ocl.cst.SimpleNameCS
getType, getValue, setType, setValue
 
Methods inherited from interface org.eclipse.ocl.cst.CSTNode
getAst, getEndOffset, getEndToken, getStartOffset, getStartToken, setAst, setEndOffset, setEndToken, setStartOffset, setStartToken
 
Methods inherited from interface org.eclipse.ocl.cst.CSTNode
getAst, getEndOffset, getEndToken, getStartOffset, getStartToken, setAst, setEndOffset, setEndToken, setStartOffset, setStartToken
 

Field Detail

COLLECTION_TYPE_IDENTIFIER_EDEFAULT

protected static final CollectionTypeIdentifierEnum COLLECTION_TYPE_IDENTIFIER_EDEFAULT
The default value of the 'Collection Type Identifier' attribute.

See Also:
getCollectionTypeIdentifier()

collectionTypeIdentifier

protected CollectionTypeIdentifierEnum collectionTypeIdentifier
The cached value of the 'Collection Type Identifier' attribute.

See Also:
getCollectionTypeIdentifier()

typeCS

protected TypeCS typeCS
The cached value of the 'Type CS' containment reference.

See Also:
getTypeCS()
Constructor Detail

CollectionTypeCSImpl

protected CollectionTypeCSImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class SimpleNameCSImpl

getCollectionTypeIdentifier

public CollectionTypeIdentifierEnum getCollectionTypeIdentifier()

Specified by:
getCollectionTypeIdentifier in interface CollectionTypeCS
Returns:
the value of the 'Collection Type Identifier' attribute.
See Also:
CollectionTypeIdentifierEnum, CollectionTypeCS.setCollectionTypeIdentifier(CollectionTypeIdentifierEnum), CSTPackage.getCollectionTypeCS_CollectionTypeIdentifier()

setCollectionTypeIdentifier

public void setCollectionTypeIdentifier(CollectionTypeIdentifierEnum newCollectionTypeIdentifier)

Specified by:
setCollectionTypeIdentifier in interface CollectionTypeCS
Parameters:
newCollectionTypeIdentifier - the new value of the 'Collection Type Identifier' attribute.
See Also:
CollectionTypeIdentifierEnum, CollectionTypeCS.getCollectionTypeIdentifier()

getTypeCS

public TypeCS getTypeCS()

Specified by:
getTypeCS in interface CollectionTypeCS
Returns:
the value of the 'Type CS' containment reference.
See Also:
CollectionTypeCS.setTypeCS(TypeCS), CSTPackage.getCollectionTypeCS_TypeCS()

basicSetTypeCS

public NotificationChain basicSetTypeCS(TypeCS newTypeCS,
                                        NotificationChain msgs)


setTypeCS

public void setTypeCS(TypeCS newTypeCS)

Specified by:
setTypeCS in interface CollectionTypeCS
Parameters:
newTypeCS - the new value of the 'Type CS' containment reference.
See Also:
CollectionTypeCS.getTypeCS()

eInverseRemove

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


eGet

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

Overrides:
eGet in class SimpleNameCSImpl

eSet

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

Overrides:
eSet in class SimpleNameCSImpl

eUnset

public void eUnset(int featureID)

Overrides:
eUnset in class SimpleNameCSImpl

eIsSet

public boolean eIsSet(int featureID)

Overrides:
eIsSet in class SimpleNameCSImpl

toString

public java.lang.String toString()

Overrides:
toString in class SimpleNameCSImpl

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