View Javadoc
1   package org.andromda.metafacades.emf.uml22;
2   
3   import java.util.Collection;
4   import org.eclipse.uml2.uml.NamedElement;
5   
6   /**
7    * Represents a TagDefinition metaclass (was needed because it doesn't exist in
8    * the uml2 metamodel).
9    *
10   * @author Steve Jerman
11   */
12  public interface TagDefinition
13      extends NamedElement
14  {
15      /**
16       * Get the value of the tag.
17       *
18       * @return the object that is the value of the tag.
19       */
20      Object getValue();
21  
22      /**
23       * If the value is a collection return it as a collection rather than an
24       * object.
25       *
26       * @return a collection of values.
27       */
28      Collection getValues();
29  }