View Javadoc
1   // license-header java merge-point
2   //
3   // Attention: generated code (by Metafacade.vsl) - do not modify!
4   //
5   package org.andromda.metafacades.uml;
6   
7   import java.util.Collection;
8   
9   /**
10   * A representation of the model object 'Slot'. A slot specifies that an entity modeled by an
11   * instance specification has a value or values for a specific structural feature.
12   *
13   * Metafacade interface to be used by AndroMDA cartridges.
14   */
15  public interface AttributeLinkFacade
16      extends ModelElementFacade
17  {
18      /**
19       * Indicates the metafacade type (used for metafacade mappings).
20       *
21       * @return boolean always <code>true</code>
22       */
23      public boolean isAttributeLinkFacadeMetaType();
24  
25      /**
26       * The attribute for this link.
27       * @return AttributeFacade
28       */
29      public AttributeFacade getAttribute();
30  
31      /**
32       * The owning instance for this link.
33       * @return InstanceFacade
34       */
35      public InstanceFacade getInstance();
36  
37      /**
38       * The first instance value for this link.
39       * @return InstanceFacade
40       */
41      public InstanceFacade getValue();
42  
43      /**
44       * The instances this attribute link is attached too. An attribute link can have many instance
45       * values when its defining feature is an attribute with a 'many' multiplicity.
46       * @return Collection<InstanceFacade>
47       */
48      public Collection<InstanceFacade> getValues();
49  }