What I mean in my last post is something like,
public class TaggedValueFacadeLogicImpl extends TaggedValueFacadeLogic { // ---------------- constructor ------------------------------- public TaggedValueFacadeLogicImpl(org.omg.uml.foundation.core.TaggedValue metaObject, String context) { super(metaObject, context); } /** * @see org.andromda.metafacades.uml14.ModelElementFacadeLogic#handleGetName() */ public String handleGetName() { String name = super.handleGetName(); if (StringUtils.isEmpty(name)) { TagDefinition type = this.metaObject.getType(); if (type != null) { name = type.getName(); // sometimes it is the TagType if (StringUtils.isEmpty(name)) { name = type.getTagType(); } } } return name; } /** * @see org.andromda.metafacades.uml.TaggedValueFacade#getValues() */ public Collection handleGetValues() { Collection values = new ArrayList(); values.addAll(metaObject.getDataValue()); values.addAll(shieldedElements(metaObject.getReferenceValue())); return values; } /** * @see org.andromda.metafacades.uml.TaggedValueFacade#getValue() */ public java.lang.Object handleGetValue() { Collection values = getValues(); return (values.isEmpty()) ? null : values.iterator().next(); } public String handleGetType() { } public boolean handleIsArrayType() { } public boolean handleIsPrimitive() { } } Notice that I added three new methods, handleGetType, handleIsArrayType, and handleIsPrimitive. _________________________________________________________ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=1663#1663 Posting to http://forum.andromda.org/ is preferred over posting to the mailing list! ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Andromda-user mailing list Andromda-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/andromda-user