uk.ac.ucl.cs.emofocl.jmi.reflect.extended
Class ExtObjectImpl

java.lang.Object
  extended by uk.ac.ucl.cs.emofocl.jmi.reflect.RefBaseObjectImpl
      extended by uk.ac.ucl.cs.emofocl.jmi.reflect.RefFeaturedImpl
          extended by uk.ac.ucl.cs.emofocl.jmi.reflect.RefObjectImpl
              extended by uk.ac.ucl.cs.emofocl.jmi.reflect.extended.ExtObjectImpl
All Implemented Interfaces:
javax.jmi.reflect.RefBaseObject, javax.jmi.reflect.RefFeatured, javax.jmi.reflect.RefObject, ExtObject
Direct Known Subclasses:
AnyType_Impl, BooleanLiteralExp_Impl, CallExp_Impl, Class_Impl, ClassConfig_Impl, CollectionItem_Impl, CollectionLiteralExp_Impl, CollectionLiteralPart_Impl, CollectionRange_Impl, CollectionType_Impl, DataType_Impl, DataTypeCS_Impl, DefaultValueConfig_Impl, Element_Impl, EnumAdjectiveConfig_Impl, Enumeration_Impl, EnumerationCS_Impl, EnumerationLiteral_Impl, EnumerationLiteralCS_Impl, EnumLiteralExp_Impl, ExpressionCS_Impl, FeatureCallExp_Impl, IdentifierConfig_Impl, IfExp_Impl, IntegerLiteralExp_Impl, InvalidLiteralExp_Impl, InvalidType_Impl, IterateExp_Impl, IteratorExp_Impl, LetExp_Impl, LibraryOperationCallExp_Impl, LiteralExp_Impl, LoopExp_Impl, MOFClassCS_Impl, MOFPackageCS_Impl, MultiplicityElement_Impl, MultiplicityElementCS_Impl, NamedElement_Impl, NamedElementCS_Impl, NavigationCallExp_Impl, NullLiteralExp_Impl, NumericLiteralExp_Impl, Object_Impl, OCLEquivalentPrimitiveType_Impl, OCLEquivalentPrimitiveTypeCS_Impl, OclExpression_Impl, Operation_Impl, OperationCallExp_Impl, OperationCS_Impl, Package_Impl, Parameter_Impl, ParameterCS_Impl, ParametricConfig_Impl, PathCS_Impl, PathElementCS_Impl, PrimitiveLiteralExp_Impl, PrimitiveType_Impl, PrimitiveTypeCS_Impl, Property_Impl, PropertyCallExp_Impl, PropertyCS_Impl, RealLiteralExp_Impl, ReflectiveOperationCallExp_Impl, RenameConfig_Impl, Specification_Impl, SpecificationCS_Impl, StringLiteralExp_Impl, TupleLiteralExp_Impl, TupleType_Impl, TupleTypePart_Impl, Type_Impl, TypeCS_Impl, TypedElement_Impl, TypedElementCS_Impl, VariableDeclaration_Impl, VariableExp_Impl, VoidType_Impl

public abstract class ExtObjectImpl
extends RefObjectImpl
implements ExtObject

Author:
jwskene

Nested Class Summary
 
Nested classes/interfaces inherited from class uk.ac.ucl.cs.emofocl.jmi.reflect.RefFeaturedImpl
RefFeaturedImpl.Getter, RefFeaturedImpl.Setter
 
Field Summary
 
Fields inherited from class uk.ac.ucl.cs.emofocl.jmi.reflect.RefObjectImpl
DELEGATOR, MOF_ID, PROXY
 
Fields inherited from class uk.ac.ucl.cs.emofocl.jmi.reflect.RefBaseObjectImpl
IMMEDIATE_PACKAGE, META_OBJECT
 
Constructor Summary
ExtObjectImpl(RefPackageImpl immediatePackage, javax.jmi.reflect.RefObject metaObject, RefClassImpl proxy)
           
 
Method Summary
protected  boolean componentEquals(Collection components, Collection otherComponents)
          Compare two collections of components
 void extAddObjectListener(ExtObjectListener listener)
           
 ExtObject extDeepCopy()
           
 boolean extRemoveObjectListener(ExtObjectListener listener)
           
 void extSetImmediateComposite(javax.jmi.reflect.RefObject immediateComposite)
           
protected  void firePropertyValueAdded(javax.jmi.reflect.RefObject propertyMetaObject, Object newValue)
           
protected  void firePropertyValueChanged(javax.jmi.reflect.RefObject propertyMetaObject, Object newValue, Object oldValue)
           
protected  void firePropertyValueRemoved(javax.jmi.reflect.RefObject propertyMetaObject, Object oldValue)
           
protected  boolean javaEquals(boolean i, boolean j)
           
protected  boolean javaEquals(char i, char j)
           
protected  boolean javaEquals(double i, double j)
           
protected  boolean javaEquals(float i, float j)
           
protected  boolean javaEquals(int i, int j)
           
protected  boolean javaEquals(String i, String j)
           
 javax.jmi.reflect.RefFeatured refImmediateComposite()
           
 
Methods inherited from class uk.ac.ucl.cs.emofocl.jmi.reflect.RefObjectImpl
refClass, refDelete, refIsInstanceOf, refMofId, refOutermostComposite
 
Methods inherited from class uk.ac.ucl.cs.emofocl.jmi.reflect.RefFeaturedImpl
refGetValue, refInvokeOperation, refSetValue
 
Methods inherited from class uk.ac.ucl.cs.emofocl.jmi.reflect.RefBaseObjectImpl
refImmediatePackage, refMetaObject, refOutermostPackage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface uk.ac.ucl.cs.emofocl.jmi.reflect.extended.ExtObject
extDeepCopy, extEquals, extValueHash, extVisit
 
Methods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refIsInstanceOf, refOutermostComposite
 
Methods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue
 
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
 

Constructor Detail

ExtObjectImpl

public ExtObjectImpl(RefPackageImpl immediatePackage,
                     javax.jmi.reflect.RefObject metaObject,
                     RefClassImpl proxy)
Parameters:
immediatePackage -
metaObject -
proxy -
Method Detail

extAddObjectListener

public void extAddObjectListener(ExtObjectListener listener)
Specified by:
extAddObjectListener in interface ExtObject

extRemoveObjectListener

public boolean extRemoveObjectListener(ExtObjectListener listener)
Specified by:
extRemoveObjectListener in interface ExtObject

firePropertyValueAdded

protected void firePropertyValueAdded(javax.jmi.reflect.RefObject propertyMetaObject,
                                      Object newValue)

firePropertyValueRemoved

protected void firePropertyValueRemoved(javax.jmi.reflect.RefObject propertyMetaObject,
                                        Object oldValue)

firePropertyValueChanged

protected void firePropertyValueChanged(javax.jmi.reflect.RefObject propertyMetaObject,
                                        Object newValue,
                                        Object oldValue)

extDeepCopy

public ExtObject extDeepCopy()
Specified by:
extDeepCopy in interface ExtObject

componentEquals

protected boolean componentEquals(Collection components,
                                  Collection otherComponents)
Compare two collections of components

Parameters:
components -
otherComponents -
Returns:

javaEquals

protected boolean javaEquals(char i,
                             char j)

javaEquals

protected boolean javaEquals(boolean i,
                             boolean j)

javaEquals

protected boolean javaEquals(int i,
                             int j)

javaEquals

protected boolean javaEquals(double i,
                             double j)

javaEquals

protected boolean javaEquals(float i,
                             float j)

javaEquals

protected boolean javaEquals(String i,
                             String j)

extSetImmediateComposite

public void extSetImmediateComposite(javax.jmi.reflect.RefObject immediateComposite)

refImmediateComposite

public javax.jmi.reflect.RefFeatured refImmediateComposite()
Specified by:
refImmediateComposite in interface javax.jmi.reflect.RefObject