1 package org.andromda.metafacades.emf.uml22;
2
3 import java.util.ArrayList;
4 import java.util.Collection;
5
6
7
8
9
10
11
12 public class TaggedValueFacadeLogicImpl
13 extends TaggedValueFacadeLogic
14 {
15 private static final long serialVersionUID = 7201704845171329924L;
16
17
18
19
20
21 public TaggedValueFacadeLogicImpl(
22 final TagDefinition metaObject,
23 final String context)
24 {
25 super(metaObject, context);
26 }
27
28
29
30
31 @Override
32 protected Object handleGetValue()
33 {
34 return this.metaObject.getValue();
35 }
36
37
38
39
40 @Override
41 protected Collection<Object> handleGetValues()
42 {
43 final Collection<Object> collection = new ArrayList<Object>();
44 collection.addAll(this.metaObject.getValues());
45 return collection;
46 }
47 }