uk.ac.ucl.cs.emofocl.jmi.impl.ocl2.expressions
Class CollectionLiteralExp_Impl
java.lang.Object
uk.ac.ucl.cs.emofocl.jmi.reflect.RefBaseObjectImpl
uk.ac.ucl.cs.emofocl.jmi.reflect.RefFeaturedImpl
uk.ac.ucl.cs.emofocl.jmi.reflect.RefObjectImpl
uk.ac.ucl.cs.emofocl.jmi.reflect.extended.ExtObjectImpl
uk.ac.ucl.cs.emofocl.jmi.impl.ocl2.expressions.CollectionLiteralExp_Impl
- All Implemented Interfaces:
- javax.jmi.reflect.RefBaseObject, javax.jmi.reflect.RefFeatured, javax.jmi.reflect.RefObject, Element, MOFObject, NamedElement, CollectionLiteralExp, LiteralExp, OclExpression, ExtObject
public class CollectionLiteralExp_Impl
- extends ExtObjectImpl
- implements CollectionLiteralExp
Methods inherited from class uk.ac.ucl.cs.emofocl.jmi.reflect.extended.ExtObjectImpl |
componentEquals, extAddObjectListener, extDeepCopy, extRemoveObjectListener, extSetImmediateComposite, firePropertyValueAdded, firePropertyValueChanged, firePropertyValueRemoved, javaEquals, javaEquals, javaEquals, javaEquals, javaEquals, javaEquals, refImmediateComposite |
Methods inherited from interface javax.jmi.reflect.RefObject |
refClass, refImmediateComposite, refIsInstanceOf, refOutermostComposite |
Methods inherited from interface javax.jmi.reflect.RefFeatured |
refGetValue, refInvokeOperation, refSetValue |
Methods inherited from interface javax.jmi.reflect.RefBaseObject |
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage |
CollectionLiteralExp_Impl
public CollectionLiteralExp_Impl(RefPackageImpl immediatePackage,
javax.jmi.reflect.RefObject metaObject,
RefClassImpl proxy,
javax.jmi.reflect.RefObject delegator)
refGetValue
public Object refGetValue(String featureName)
- Specified by:
refGetValue
in interface javax.jmi.reflect.RefFeatured
refSetValue
public void refSetValue(String featureName,
Object value)
- Specified by:
refSetValue
in interface javax.jmi.reflect.RefFeatured
refInvokeOperation
public Object refInvokeOperation(String requestedOperation,
List args)
throws javax.jmi.reflect.RefException
- Not implemented.
- Specified by:
refInvokeOperation
in interface javax.jmi.reflect.RefFeatured
- Throws:
javax.jmi.reflect.RefException
refDelete
public void refDelete()
- Removes all references to this object, and calls superclass proxies to
do the same.
- Specified by:
refDelete
in interface javax.jmi.reflect.RefObject
- Overrides:
refDelete
in class RefObjectImpl
refVerifyConstraints
public Collection refVerifyConstraints(boolean deepVerify)
- Specified by:
refVerifyConstraints
in interface javax.jmi.reflect.RefBaseObject
getName
public String getName()
throws javax.jmi.reflect.JmiException
- Specified by:
getName
in interface NamedElement
- Throws:
javax.jmi.reflect.JmiException
setName
public void setName(String name)
throws javax.jmi.reflect.JmiException
- Specified by:
setName
in interface NamedElement
- Throws:
javax.jmi.reflect.JmiException
getParentNav
public NavigationCallExp getParentNav()
throws javax.jmi.reflect.JmiException
- Specified by:
getParentNav
in interface OclExpression
- Throws:
javax.jmi.reflect.JmiException
setParentNav
public void setParentNav(NavigationCallExp parentNav)
throws javax.jmi.reflect.JmiException
- Specified by:
setParentNav
in interface OclExpression
- Throws:
javax.jmi.reflect.JmiException
getIfExpAsThen
public IfExp getIfExpAsThen()
throws javax.jmi.reflect.JmiException
- Specified by:
getIfExpAsThen
in interface OclExpression
- Throws:
javax.jmi.reflect.JmiException
setIfExpAsThen
public void setIfExpAsThen(IfExp ifExpAsThen)
throws javax.jmi.reflect.JmiException
- Specified by:
setIfExpAsThen
in interface OclExpression
- Throws:
javax.jmi.reflect.JmiException
getComment
public String getComment()
throws javax.jmi.reflect.JmiException
- Specified by:
getComment
in interface Element
- Throws:
javax.jmi.reflect.JmiException
setComment
public void setComment(String comment)
throws javax.jmi.reflect.JmiException
- Specified by:
setComment
in interface Element
- Throws:
javax.jmi.reflect.JmiException
getMOFClass
public MOFClass getMOFClass()
throws javax.jmi.reflect.JmiException
- Specified by:
getMOFClass
in interface OclExpression
- Throws:
javax.jmi.reflect.JmiException
setClass
public void setClass(MOFClass jMIClass)
throws javax.jmi.reflect.JmiException
- Specified by:
setClass
in interface OclExpression
- Throws:
javax.jmi.reflect.JmiException
getCollectionRangeAsFirst
public CollectionRange getCollectionRangeAsFirst()
throws javax.jmi.reflect.JmiException
- Specified by:
getCollectionRangeAsFirst
in interface OclExpression
- Throws:
javax.jmi.reflect.JmiException
setCollectionRangeAsFirst
public void setCollectionRangeAsFirst(CollectionRange collectionRangeAsFirst)
throws javax.jmi.reflect.JmiException
- Specified by:
setCollectionRangeAsFirst
in interface OclExpression
- Throws:
javax.jmi.reflect.JmiException
getType
public Type getType()
throws javax.jmi.reflect.JmiException
- Specified by:
getType
in interface OclExpression
- Throws:
javax.jmi.reflect.JmiException
setType
public void setType(Type type)
throws javax.jmi.reflect.JmiException
- Specified by:
setType
in interface OclExpression
- Throws:
javax.jmi.reflect.JmiException
getSelfType
public Type getSelfType()
throws javax.jmi.reflect.JmiException
- Specified by:
getSelfType
in interface OclExpression
- Throws:
javax.jmi.reflect.JmiException
setSelfType
public void setSelfType(Type selfType)
throws javax.jmi.reflect.JmiException
- Specified by:
setSelfType
in interface OclExpression
- Throws:
javax.jmi.reflect.JmiException
getIfExpAsElse
public IfExp getIfExpAsElse()
throws javax.jmi.reflect.JmiException
- Specified by:
getIfExpAsElse
in interface OclExpression
- Throws:
javax.jmi.reflect.JmiException
setIfExpAsElse
public void setIfExpAsElse(IfExp ifExpAsElse)
throws javax.jmi.reflect.JmiException
- Specified by:
setIfExpAsElse
in interface OclExpression
- Throws:
javax.jmi.reflect.JmiException
getCollectionItem
public CollectionItem getCollectionItem()
throws javax.jmi.reflect.JmiException
- Specified by:
getCollectionItem
in interface OclExpression
- Throws:
javax.jmi.reflect.JmiException
setCollectionItem
public void setCollectionItem(CollectionItem collectionItem)
throws javax.jmi.reflect.JmiException
- Specified by:
setCollectionItem
in interface OclExpression
- Throws:
javax.jmi.reflect.JmiException
getLoopExp
public LoopExp getLoopExp()
throws javax.jmi.reflect.JmiException
- Specified by:
getLoopExp
in interface OclExpression
- Throws:
javax.jmi.reflect.JmiException
setLoopExp
public void setLoopExp(LoopExp loopExp)
throws javax.jmi.reflect.JmiException
- Specified by:
setLoopExp
in interface OclExpression
- Throws:
javax.jmi.reflect.JmiException
getAppliedElement
public CallExp getAppliedElement()
throws javax.jmi.reflect.JmiException
- Specified by:
getAppliedElement
in interface OclExpression
- Throws:
javax.jmi.reflect.JmiException
setAppliedElement
public void setAppliedElement(CallExp appliedElement)
throws javax.jmi.reflect.JmiException
- Specified by:
setAppliedElement
in interface OclExpression
- Throws:
javax.jmi.reflect.JmiException
getInitializedVariable
public VariableDeclaration getInitializedVariable()
throws javax.jmi.reflect.JmiException
- Specified by:
getInitializedVariable
in interface OclExpression
- Throws:
javax.jmi.reflect.JmiException
setInitializedVariable
public void setInitializedVariable(VariableDeclaration initializedVariable)
throws javax.jmi.reflect.JmiException
- Specified by:
setInitializedVariable
in interface OclExpression
- Throws:
javax.jmi.reflect.JmiException
getLetExp
public LetExp getLetExp()
throws javax.jmi.reflect.JmiException
- Specified by:
getLetExp
in interface OclExpression
- Throws:
javax.jmi.reflect.JmiException
setLetExp
public void setLetExp(LetExp letExp)
throws javax.jmi.reflect.JmiException
- Specified by:
setLetExp
in interface OclExpression
- Throws:
javax.jmi.reflect.JmiException
getOperation
public Operation getOperation()
throws javax.jmi.reflect.JmiException
- Specified by:
getOperation
in interface OclExpression
- Throws:
javax.jmi.reflect.JmiException
setOperation
public void setOperation(Operation operation)
throws javax.jmi.reflect.JmiException
- Specified by:
setOperation
in interface OclExpression
- Throws:
javax.jmi.reflect.JmiException
getCollectionRangeAsSecond
public CollectionRange getCollectionRangeAsSecond()
throws javax.jmi.reflect.JmiException
- Specified by:
getCollectionRangeAsSecond
in interface OclExpression
- Throws:
javax.jmi.reflect.JmiException
setCollectionRangeAsSecond
public void setCollectionRangeAsSecond(CollectionRange collectionRangeAsSecond)
throws javax.jmi.reflect.JmiException
- Specified by:
setCollectionRangeAsSecond
in interface OclExpression
- Throws:
javax.jmi.reflect.JmiException
getPropertyAsDefaultValue
public Property getPropertyAsDefaultValue()
throws javax.jmi.reflect.JmiException
- Specified by:
getPropertyAsDefaultValue
in interface OclExpression
- Throws:
javax.jmi.reflect.JmiException
setPropertyAsDefaultValue
public void setPropertyAsDefaultValue(Property propertyAsDefaultValue)
throws javax.jmi.reflect.JmiException
- Specified by:
setPropertyAsDefaultValue
in interface OclExpression
- Throws:
javax.jmi.reflect.JmiException
getIfExpAsCondition
public IfExp getIfExpAsCondition()
throws javax.jmi.reflect.JmiException
- Specified by:
getIfExpAsCondition
in interface OclExpression
- Throws:
javax.jmi.reflect.JmiException
setIfExpAsCondition
public void setIfExpAsCondition(IfExp ifExpAsCondition)
throws javax.jmi.reflect.JmiException
- Specified by:
setIfExpAsCondition
in interface OclExpression
- Throws:
javax.jmi.reflect.JmiException
getParentCall
public OperationCallExp getParentCall()
throws javax.jmi.reflect.JmiException
- Specified by:
getParentCall
in interface OclExpression
- Throws:
javax.jmi.reflect.JmiException
setParentCall
public void setParentCall(OperationCallExp parentCall)
throws javax.jmi.reflect.JmiException
- Specified by:
setParentCall
in interface OclExpression
- Throws:
javax.jmi.reflect.JmiException
getKind
public CollectionKind getKind()
throws javax.jmi.reflect.JmiException
- Specified by:
getKind
in interface CollectionLiteralExp
- Throws:
javax.jmi.reflect.JmiException
setKind
public void setKind(CollectionKind newValue)
throws javax.jmi.reflect.JmiException
- Specified by:
setKind
in interface CollectionLiteralExp
- Throws:
javax.jmi.reflect.JmiException
getPart
public Collection getPart()
throws javax.jmi.reflect.JmiException
- Specified by:
getPart
in interface CollectionLiteralExp
- Throws:
javax.jmi.reflect.JmiException
extDeepCopy
public ExtObject extDeepCopy(Map objectMap)
- Specified by:
extDeepCopy
in interface ExtObject
extValueHash
public int extValueHash()
- Specified by:
extValueHash
in interface ExtObject
extEquals
public boolean extEquals(ExtObject extObject)
- Specified by:
extEquals
in interface ExtObject
extVisit
public Object extVisit(ExtVisitor visitor,
Object argument)
throws Exception
- Specified by:
extVisit
in interface ExtObject
- Throws:
Exception
toString
public String toString()
- Overrides:
toString
in class Object