net.sf.farrago.cwm.core
Class CwmTaggedValue$Hib
java.lang.Object
org.eigenbase.enki.jmi.impl.RefBaseObjectBase
org.eigenbase.enki.jmi.impl.RefFeaturedBase
org.eigenbase.enki.jmi.impl.RefObjectBase
org.eigenbase.enki.hibernate.storage.HibernateObject
org.eigenbase.enki.hibernate.jmi.HibernateRefObject
net.sf.farrago.cwm.core.CwmTaggedValue$Hib
- All Implemented Interfaces:
- RefBaseObject, RefFeatured, RefObject, CwmElement, CwmTaggedValue, HibernateAssociable, HibernateIdentifiable
public class CwmTaggedValue$Hib
- extends HibernateRefObject
- implements CwmTaggedValue, HibernateAssociable
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.
Methods inherited from class org.eigenbase.enki.jmi.impl.RefBaseObjectBase |
createInstance, equals, getCurrentInitializer, getEnum, getInitializer, getMofId, getTag, hashCode, invokeMethod, invokeMethod, logJmi, refMofId, refOutermostPackage, refVerifyConstraints, setMofId |
_id
private static final String _id
- See Also:
- Constant Field Values
tag$Hib
protected String tag$Hib
value$Hib
protected String value$Hib
modelElement$Hib
protected HibernateOneToManyLazyAssociation modelElement$Hib
stereotype$Hib
protected HibernateOneToManyLazyAssociation stereotype$Hib
CwmTaggedValue$Hib
CwmTaggedValue$Hib()
CwmTaggedValue$Hib
CwmTaggedValue$Hib(String tag,
String value)
getTag$Hib
public String getTag$Hib()
setTag$Hib
public void setTag$Hib(String newValue)
getTag
public String getTag()
- Description copied from interface:
CwmTaggedValue
- Returns the value of attribute tag.
Contains the name of the TaggedValue. This name determines the
semantics that are applicable to the contents of the value attribute.
- Specified by:
getTag
in interface CwmTaggedValue
- Returns:
- Value of attribute tag.
setTag
public void setTag(String newValue)
- Description copied from interface:
CwmTaggedValue
- Sets the value of tag attribute. See
CwmTaggedValue.getTag()
for description
on the attribute.
- Specified by:
setTag
in interface CwmTaggedValue
- Parameters:
newValue
- New value to be set.
getValue$Hib
public String getValue$Hib()
setValue$Hib
public void setValue$Hib(String newValue)
getValue
public String getValue()
- Description copied from interface:
CwmTaggedValue
- Returns the value of attribute value.
Contains the current value of the TaggedValue.
- Specified by:
getValue
in interface CwmTaggedValue
- Returns:
- Value of attribute value.
setValue
public void setValue(String newValue)
- Description copied from interface:
CwmTaggedValue
- Sets the value of value attribute. See
CwmTaggedValue.getValue()
for
description on the attribute.
- Specified by:
setValue
in interface CwmTaggedValue
- Parameters:
newValue
- New value to be set.
getModelElement
public CwmModelElement getModelElement()
- Description copied from interface:
CwmTaggedValue
- Returns the value of reference modelElement.
- Specified by:
getModelElement
in interface CwmTaggedValue
- Returns:
- Value of reference modelElement.
setModelElement
public void setModelElement(CwmModelElement newValue)
- Description copied from interface:
CwmTaggedValue
- Sets the value of modelElement reference. See
CwmTaggedValue.getModelElement()
for description on the attribute.
- Specified by:
setModelElement
in interface CwmTaggedValue
- Parameters:
newValue
- New value to be set.
getModelElement$Hib
public HibernateOneToManyLazyAssociation getModelElement$Hib()
setModelElement$Hib
public void setModelElement$Hib(HibernateOneToManyLazyAssociation newValue)
getStereotype
public CwmStereotype getStereotype()
- Description copied from interface:
CwmTaggedValue
- Returns the value of reference stereotype.
- Specified by:
getStereotype
in interface CwmTaggedValue
- Returns:
- Value of reference stereotype.
setStereotype
public void setStereotype(CwmStereotype newValue)
- Description copied from interface:
CwmTaggedValue
- Sets the value of stereotype reference. See
CwmTaggedValue.getStereotype()
for description on the attribute.
- Specified by:
setStereotype
in interface CwmTaggedValue
- Parameters:
newValue
- New value to be set.
getStereotype$Hib
public HibernateOneToManyLazyAssociation getStereotype$Hib()
setStereotype$Hib
public void setStereotype$Hib(HibernateOneToManyLazyAssociation newValue)
getAssociation
public HibernateAssociation getAssociation(String type,
boolean firstEnd)
- Specified by:
getAssociation
in interface HibernateAssociable
setAssociation
public void setAssociation(String type,
boolean firstEnd,
HibernateAssociation assoc)
- Specified by:
setAssociation
in interface HibernateAssociable
getOrCreateAssociation
public HibernateAssociation getOrCreateAssociation(String type,
boolean firstEnd)
- Specified by:
getOrCreateAssociation
in interface HibernateAssociable
removeAssociations
protected void removeAssociations()
- Specified by:
removeAssociations
in class HibernateRefObject
getComposingAssociations
public Collection<HibernateAssociation> getComposingAssociations()
- Specified by:
getComposingAssociations
in class HibernateRefObject
getNonComposingAssociations
public Collection<HibernateAssociation> getNonComposingAssociations()
- Specified by:
getNonComposingAssociations
in class HibernateRefObject
refImmediateComposite
public RefObject refImmediateComposite()
- Specified by:
refImmediateComposite
in interface RefObject
- Overrides:
refImmediateComposite
in class RefObjectBase
checkConstraints
protected void checkConstraints(List<JmiException> errors,
boolean deepVerify)
- Specified by:
checkConstraints
in class RefBaseObjectBase
getClassIdentifier
public String getClassIdentifier()
- Specified by:
getClassIdentifier
in class HibernateRefObject