uk.ac.ucl.cs.emofocl.hutn.jmi.impl
Class DefaultValueConfig_Impl

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
                  extended by uk.ac.ucl.cs.emofocl.hutn.jmi.impl.DefaultValueConfig_Impl
All Implemented Interfaces:
javax.jmi.reflect.RefBaseObject, javax.jmi.reflect.RefFeatured, javax.jmi.reflect.RefObject, ClassConfig, DefaultValueConfig, ExtObject

public class DefaultValueConfig_Impl
extends ExtObjectImpl
implements DefaultValueConfig

The metaclass DefaultValueConfig is a subtype of ClassConfig, which identifies the MOF class being configured for a HUTN language. The purpose of DefaultValueConfig is to provide a value that will be assumed to be the value of the attribute identified when it is not explicitly provided by a class instance declaration.


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
DefaultValueConfig_Impl(RefPackageImpl immediatePackage, javax.jmi.reflect.RefObject metaObject, RefClassImpl proxy, javax.jmi.reflect.RefObject delegator)
           
 
Method Summary
 ExtObject extDeepCopy(Map objectMap)
           
 boolean extEquals(ExtObject extObject)
           
 int extValueHash()
           
 Object extVisit(ExtVisitor visitor, Object argument)
           
 String getThe_attribute()
          This metaattribute refers to the MOF Attribute of the Class being configures for an HUTN language.
 String getThe_value()
          This metaattribute provides the default value that the HUTN tool will associate with the attribute for any class instance where it is not given an explicit value.
 String getTheClass()
          This metaattribute is a reference to the MOF Class being configured.
 void refDelete()
          Removes all references to this object, and calls superclass proxies to do the same.
 Object refGetValue(String featureName)
           
 Object refInvokeOperation(String requestedOperation, List args)
          Not implemented.
 void refSetValue(String featureName, Object value)
           
 Collection refVerifyConstraints(boolean deepVerify)
           
 void setThe_attribute(String newValue)
           
 void setThe_value(String newValue)
           
 void setTheClass(String theClass)
           
 String toString()
           
 
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 class uk.ac.ucl.cs.emofocl.jmi.reflect.RefObjectImpl
refClass, 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, wait, wait, wait
 
Methods inherited from interface uk.ac.ucl.cs.emofocl.jmi.reflect.extended.ExtObject
extAddObjectListener, extDeepCopy, extRemoveObjectListener
 
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
 

Constructor Detail

DefaultValueConfig_Impl

public DefaultValueConfig_Impl(RefPackageImpl immediatePackage,
                               javax.jmi.reflect.RefObject metaObject,
                               RefClassImpl proxy,
                               javax.jmi.reflect.RefObject delegator)
Method Detail

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

getTheClass

public String getTheClass()
                   throws javax.jmi.reflect.JmiException
This metaattribute is a reference to the MOF Class being configured.

Specified by:
getTheClass in interface ClassConfig
Throws:
javax.jmi.reflect.JmiException

setTheClass

public void setTheClass(String theClass)
                 throws javax.jmi.reflect.JmiException
Specified by:
setTheClass in interface ClassConfig
Throws:
javax.jmi.reflect.JmiException

getThe_attribute

public String getThe_attribute()
                        throws javax.jmi.reflect.JmiException
This metaattribute refers to the MOF Attribute of the Class being configures for an HUTN language.

Specified by:
getThe_attribute in interface DefaultValueConfig
Throws:
javax.jmi.reflect.JmiException

setThe_attribute

public void setThe_attribute(String newValue)
                      throws javax.jmi.reflect.JmiException
Specified by:
setThe_attribute in interface DefaultValueConfig
Throws:
javax.jmi.reflect.JmiException

getThe_value

public String getThe_value()
                    throws javax.jmi.reflect.JmiException
This metaattribute provides the default value that the HUTN tool will associate with the attribute for any class instance where it is not given an explicit value.

Specified by:
getThe_value in interface DefaultValueConfig
Throws:
javax.jmi.reflect.JmiException

setThe_value

public void setThe_value(String newValue)
                  throws javax.jmi.reflect.JmiException
Specified by:
setThe_value in interface DefaultValueConfig
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