uk.ac.ucl.cs.emofocl.hutn.jmi.impl
Class IdentifierConfig_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.hutn.jmi.impl.IdentifierConfig_Impl
- All Implemented Interfaces:
- javax.jmi.reflect.RefBaseObject, javax.jmi.reflect.RefFeatured, javax.jmi.reflect.RefObject, ClassConfig, IdentifierConfig, ExtObject
public class IdentifierConfig_Impl
- extends ExtObjectImpl
- implements IdentifierConfig
The metaclass IdentifierConfig is a subtype of ClassConfig, which identifies
the MOF class being configured for an HUTN language.
The purpose of IdentifierConfig is to nominate a particular attribute of
the Class as unique within some scope, so that its value may be used as
a unique identifier for the Class in the HUTN language with this
configuration.
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 |
IdentifierConfig_Impl
public IdentifierConfig_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
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
getId_attribute
public String getId_attribute()
throws javax.jmi.reflect.JmiException
- This metaattribute refers to the Attribute of the MOF class being
configured for an HUTN language representation. If this attribute is
null, then arbitrary strings may be used for identifying instances. If
this attribute is non null, a specific instance of this class may use
or may not use the value of the identifying attribute as the identifier.
If the latter case, both the arbitrary identifier and the identifying
attribute value should be provided within the HUTN representation of
the instance.
- Specified by:
getId_attribute
in interface IdentifierConfig
- Throws:
javax.jmi.reflect.JmiException
setId_attribute
public void setId_attribute(String newValue)
throws javax.jmi.reflect.JmiException
- Specified by:
setId_attribute
in interface IdentifierConfig
- Throws:
javax.jmi.reflect.JmiException
getUniqueness
public UniquenessScope getUniqueness()
throws javax.jmi.reflect.JmiException
- This metaattribute indicates the scope over which the values of the
attribute being nominated as a unique identifier must be unique.
- Specified by:
getUniqueness
in interface IdentifierConfig
- Throws:
javax.jmi.reflect.JmiException
setUniqueness
public void setUniqueness(UniquenessScope newValue)
throws javax.jmi.reflect.JmiException
- Specified by:
setUniqueness
in interface IdentifierConfig
- 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