net.sf.farrago.cwm.core
Interface CwmTaggedValueClass

All Superinterfaces:
RefBaseObject, RefClass, RefFeatured
All Known Implementing Classes:
CwmTaggedValueClass$Hib

public interface CwmTaggedValueClass
extends RefClass

TaggedValue class proxy interface. A tagged value allows information to be attached to any model element in the form of a "tagged value" pair (i.e., name = value). The interpretation of tagged value semantics is intentionally beyond the scope of CWM. It must be determined by user or tool conventions. It is expected that tools will define tags to supply information needed for their operations beyond the basic semantics of CWM. Such information could include code generation options, model management information, or user-specified semantics. Even though TaggedValues are a simple and straightforward extension technique, their use restricts semantic interchange of metadata to only those tools that share a common understanding of the specific tagged value names.

Note: This type should not be subclassed, implemented or directly instantiated by clients. It is generated from a MOF metamodel and implemented by Enki or MDR.


Method Summary
 CwmTaggedValue createCwmTaggedValue()
          The default factory operation used to create an instance object.
 CwmTaggedValue createCwmTaggedValue(String tag, String value)
          Creates an instance object having attributes initialized by the passed values.
 
Methods inherited from interface javax.jmi.reflect.RefClass
refAllOfClass, refAllOfType, refCreateInstance, refCreateStruct, refCreateStruct, refGetEnum, refGetEnum
 
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
 

Method Detail

createCwmTaggedValue

CwmTaggedValue createCwmTaggedValue()
The default factory operation used to create an instance object.

Returns:
The created instance object.

createCwmTaggedValue

CwmTaggedValue createCwmTaggedValue(String tag,
                                    String value)
Creates an instance object having attributes initialized by the passed values.

Parameters:
tag - Contains the name of the TaggedValue. This name determines the semantics that are applicable to the contents of the value attribute.
value - Contains the current value of the TaggedValue.
Returns:
The created instance object.