org.eclipse.ocl.cst.impl
Class CollectionLiteralExpCSImpl

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.LiteralExpCSImpl
                  extended by org.eclipse.ocl.cst.impl.CollectionLiteralExpCSImpl
All Implemented Interfaces:
CollectionLiteralExpCS, CSTNode, LiteralExpCS, OCLExpressionCS

public class CollectionLiteralExpCSImpl
extends LiteralExpCSImpl
implements CollectionLiteralExpCS

An implementation of the model object 'Collection Literal Exp CS'.

The following features are implemented:


Field Summary
protected static CollectionTypeIdentifierEnum COLLECTION_TYPE_EDEFAULT
          The default value of the 'Collection Type' attribute
protected   collectionLiteralParts
          The cached value of the 'Collection Literal Parts' containment reference list
protected  CollectionTypeIdentifierEnum collectionType
          The cached value of the 'Collection Type' attribute
 
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 CollectionLiteralExpCSImpl()
           
 
Method Summary
 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)
           
  getCollectionLiteralParts()
           
 CollectionTypeIdentifierEnum getCollectionType()
           
 void setCollectionType(CollectionTypeIdentifierEnum newCollectionType)
           
 java.lang.String toString()
           
 
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.CSTNode
getAst, getEndOffset, getEndToken, getStartOffset, getStartToken, setAst, setEndOffset, setEndToken, setStartOffset, setStartToken
 

Field Detail

COLLECTION_TYPE_EDEFAULT

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

See Also:
getCollectionType()

collectionType

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

See Also:
getCollectionType()

collectionLiteralParts

protected  collectionLiteralParts
The cached value of the 'Collection Literal Parts' containment reference list.

See Also:
getCollectionLiteralParts()
Constructor Detail

CollectionLiteralExpCSImpl

protected CollectionLiteralExpCSImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class LiteralExpCSImpl

getCollectionType

public CollectionTypeIdentifierEnum getCollectionType()

Specified by:
getCollectionType in interface CollectionLiteralExpCS
Returns:
the value of the 'Collection Type' attribute.
See Also:
CollectionTypeIdentifierEnum, CollectionLiteralExpCS.setCollectionType(CollectionTypeIdentifierEnum), CSTPackage.getCollectionLiteralExpCS_CollectionType()

setCollectionType

public void setCollectionType(CollectionTypeIdentifierEnum newCollectionType)

Specified by:
setCollectionType in interface CollectionLiteralExpCS
Parameters:
newCollectionType - the new value of the 'Collection Type' attribute.
See Also:
CollectionTypeIdentifierEnum, CollectionLiteralExpCS.getCollectionType()

getCollectionLiteralParts

public  getCollectionLiteralParts()

Specified by:
getCollectionLiteralParts in interface CollectionLiteralExpCS
Returns:
the value of the 'Collection Literal Parts' containment reference list.
See Also:
CSTPackage.getCollectionLiteralExpCS_CollectionLiteralParts()

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 CSTNodeImpl

eSet

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

Overrides:
eSet in class CSTNodeImpl

eUnset

public void eUnset(int featureID)

Overrides:
eUnset in class CSTNodeImpl

eIsSet

public boolean eIsSet(int featureID)

Overrides:
eIsSet in class CSTNodeImpl

toString

public java.lang.String toString()

Overrides:
toString in class CSTNodeImpl

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