org.eclipse.emf.ocl.expressions
Interface CollectionLiteralExp

All Superinterfaces:
ASTNode, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.ENamedElement, org.eclipse.emf.ecore.EObject, LiteralExp, org.eclipse.emf.common.notify.Notifier, OCLExpression, TypedElement, Visitable
All Known Implementing Classes:
CollectionLiteralExpImpl

public interface CollectionLiteralExp
extends LiteralExp


Field Summary
static java.lang.String copyright
           
 
Method Summary
 CollectionKind getKind()
           
 org.eclipse.emf.common.util.EList getPart()
          Returns the value of the 'Part' containment reference list.
 boolean isSimpleRange()
          Returns true if there is only one part, which is a range expression.
 void setKind(CollectionKind value)
          Sets the value of the 'Kind' attribute
 
Methods inherited from interface org.eclipse.emf.ocl.uml.TypedElement
getType, setType
 
Methods inherited from interface org.eclipse.emf.ecore.ENamedElement
getName, 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.ocl.utilities.Visitable
accept
 
Methods inherited from interface org.eclipse.emf.ocl.utilities.ASTNode
getEndPosition, getStartPosition, setEndPosition, setStartPosition
 

Field Detail

copyright

public static final java.lang.String copyright

See Also:
Constant Field Values
Method Detail

getKind

public CollectionKind getKind()

setKind

public void setKind(CollectionKind value)
Sets the value of the 'Kind' attribute.

Parameters:
value - the new value of the 'Kind' attribute.
See Also:
CollectionKind, CollectionLiteralExp.getKind()

getPart

public org.eclipse.emf.common.util.EList getPart()
Returns the value of the 'Part' containment reference list. The list contents are of type CollectionLiteralPart.

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

Returns:
the value of the 'Part' containment reference list.
See Also:
ExpressionsPackage.getCollectionLiteralExp_Part()

isSimpleRange

public boolean isSimpleRange()
Returns true if there is only one part, which is a range expression.

Returns:
true or false

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