|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CwmTaggedValue
TaggedValue object instance 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 | |
---|---|
CwmModelElement |
getModelElement()
Returns the value of reference modelElement. |
CwmStereotype |
getStereotype()
Returns the value of reference stereotype. |
String |
getTag()
Returns the value of attribute tag. |
String |
getValue()
Returns the value of attribute value. |
void |
setModelElement(CwmModelElement newValue)
Sets the value of modelElement reference. |
void |
setStereotype(CwmStereotype newValue)
Sets the value of stereotype reference. |
void |
setTag(String newValue)
Sets the value of tag attribute. |
void |
setValue(String newValue)
Sets the value of value attribute. |
Methods inherited from interface javax.jmi.reflect.RefObject |
---|
refClass, refDelete, refImmediateComposite, 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 |
Method Detail |
---|
String getTag()
void setTag(String newValue)
getTag()
for description
on the attribute.
newValue
- New value to be set.String getValue()
void setValue(String newValue)
getValue()
for
description on the attribute.
newValue
- New value to be set.CwmModelElement getModelElement()
void setModelElement(CwmModelElement newValue)
getModelElement()
for description on the attribute.
newValue
- New value to be set.CwmStereotype getStereotype()
void setStereotype(CwmStereotype newValue)
getStereotype()
for description on the attribute.
newValue
- New value to be set.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |