org.omg.cwm.objectmodel.core
Interface TaggedValue
- All Superinterfaces:
- Element, javax.jmi.reflect.RefBaseObject, javax.jmi.reflect.RefFeatured, javax.jmi.reflect.RefObject
- public interface TaggedValue
- extends Element
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.
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 |
getTag
public java.lang.String getTag()
throws javax.jmi.reflect.JmiException
- Contains the name of the TaggedValue. This name determines the semantics
that are applicable to the contents of the value attribute.
setTag
public void setTag(java.lang.String newValue)
throws javax.jmi.reflect.JmiException
- Contains the name of the TaggedValue. This name determines the semantics
that are applicable to the contents of the value attribute.
getValue
public java.lang.String getValue()
throws javax.jmi.reflect.JmiException
- Contains the current value of the TaggedValue.
setValue
public void setValue(java.lang.String newValue)
throws javax.jmi.reflect.JmiException
- Contains the current value of the TaggedValue.
getModelElement
public ModelElement getModelElement()
throws javax.jmi.reflect.JmiException
setModelElement
public void setModelElement(ModelElement newValue)
throws javax.jmi.reflect.JmiException
getStereotype
public Stereotype getStereotype()
throws javax.jmi.reflect.JmiException
setStereotype
public void setStereotype(Stereotype newValue)
throws javax.jmi.reflect.JmiException
Copyright 1997-2005 by Object Management Group, Inc. (http://www.omg.org/),
250 First Ave. Needham, MA 02494 U.S.A. All rights reserved.
Unless otherwise indicated, users may make a single copy of the contents,
in whole or in part, of this web site strictly for personal, non-commercial
use. In the event that all or part of this site is downloaded for personal
use, users shall maintain all proprietary notices including copyright notices
that appear on or in connection with that content. Other than creating a
single copy of contents for personal use as described herein, users may not
copy, reproduce, distribute, republish, download, display, post or transmit
in any form or by any means, including but not limited to electronic,
mechanical, photocopying, recording, or other means, any content found or
linked to the OMG web site without the prior express written permission of OMG.
Any unauthorized use of any content contained on the OMG web site may violate
the copyright laws, trademark laws, laws relating to publicity and privacy,
and other regulations and statutes in the U.S. and other countries.