View Javadoc
1   package org.andromda.metafacades.emf.uml22;
2   
3   import java.lang.reflect.InvocationTargetException;
4   import java.util.ArrayList;
5   import java.util.Collection;
6   import java.util.Iterator;
7   import java.util.Map;
8   import java.util.Set;
9   import org.eclipse.emf.common.notify.Notification;
10  import org.eclipse.emf.common.util.DiagnosticChain;
11  import org.eclipse.emf.common.util.EList;
12  import org.eclipse.emf.common.util.TreeIterator;
13  import org.eclipse.emf.ecore.EAnnotation;
14  import org.eclipse.emf.ecore.EClass;
15  import org.eclipse.emf.ecore.EObject;
16  import org.eclipse.emf.ecore.EOperation;
17  import org.eclipse.emf.ecore.EReference;
18  import org.eclipse.emf.ecore.EStructuralFeature;
19  import org.eclipse.emf.ecore.resource.Resource;
20  import org.eclipse.uml2.uml.Comment;
21  import org.eclipse.uml2.uml.Dependency;
22  import org.eclipse.uml2.uml.DirectedRelationship;
23  import org.eclipse.uml2.uml.Element;
24  import org.eclipse.uml2.uml.Model;
25  import org.eclipse.uml2.uml.NamedElement;
26  import org.eclipse.uml2.uml.Namespace;
27  import org.eclipse.uml2.uml.Package;
28  import org.eclipse.uml2.uml.ParameterableElement;
29  import org.eclipse.uml2.uml.Relationship;
30  import org.eclipse.uml2.uml.Stereotype;
31  import org.eclipse.uml2.uml.StringExpression;
32  import org.eclipse.uml2.uml.TemplateBinding;
33  import org.eclipse.uml2.uml.TemplateSignature;
34  import org.eclipse.uml2.uml.Type;
35  import org.eclipse.uml2.uml.Usage;
36  import org.eclipse.uml2.uml.VisibilityKind;
37  
38  
39  /**
40   * Represents a TagDefinition metaclass (was needed because it doesn't exist in
41   * the uml2 metamodel).
42   *
43   * @author Steve Jerman
44   */
45  public class TagDefinitionImpl
46      implements TagDefinition
47  {
48      /**
49       * The name of the tag.
50       */
51      private String name;
52  
53      /**
54       * The value of the tag: collection of strings.
55       */
56      private final Collection<Object> values;
57  
58      /**
59       * Constructor
60       *
61       * @param nameIn
62       * @param value a single String value
63       */
64      public TagDefinitionImpl(
65          final String nameIn,
66          final Object value)
67      {
68          this.name = nameIn;
69          this.values = new ArrayList<Object>();
70          this.values.add(value);
71      }
72  
73      /**
74       * Generalized constructor.
75       * @param nameIn
76       * @param valuesIn
77       */
78      public TagDefinitionImpl(
79          final String nameIn,
80          final Collection<Object> valuesIn)
81      {
82          this.name = nameIn;
83          this.values = valuesIn;
84      }
85  
86      /**
87       * @see org.andromda.metafacades.emf.uml22.TagDefinition#getName()
88       */
89      public String getName()
90      {
91          return this.name;
92      }
93  
94      /**
95       * @see org.andromda.metafacades.emf.uml22.TagDefinition#getValue()
96       */
97      public Object getValue()
98      {
99          return (this.values != null && !this.values.isEmpty()) ? this.values.iterator().next() : null;
100     }
101 
102     /**
103      * @see org.andromda.metafacades.emf.uml22.TagDefinition#getValues()
104      */
105     public Collection<Object> getValues()
106     {
107         return this.values;
108     }
109 
110     /**
111      * @see org.andromda.metafacades.emf.uml22.TagDefinition#toString()
112      */
113     @Override
114     public String toString()
115     {
116         final StringBuilder out = new StringBuilder(this.name).append(": ");
117         for (final Iterator<Object> it = this.values.iterator(); it.hasNext();)
118         {
119             out.append(it.next());
120             out.append(it.hasNext() ? ", " : ".");
121         }
122         return out.toString();
123     }
124 
125     /**
126      *
127      * @see org.eclipse.uml2.uml.NamedElement#setName(String)
128      */
129     public void setName(final String arg0)
130     {
131         this.name = arg0;
132     }
133 
134     /**
135      *
136      * @see org.eclipse.uml2.uml.NamedElement#getQualifiedName()
137      */
138     public String getQualifiedName()
139     {
140         // TODO Implement autogenerated method - returns null
141         return null;
142     }
143 
144     /**
145      *
146      * @see org.eclipse.uml2.uml.NamedElement#getVisibility()
147      */
148     public VisibilityKind getVisibility()
149     {
150         // TODO Implement autogenerated method - returns null
151         return null;
152     }
153 
154     /**
155      *
156      * @see org.eclipse.uml2.uml.NamedElement#setVisibility(org.eclipse.uml2.uml.VisibilityKind)
157      */
158     public void setVisibility(final VisibilityKind arg0)
159     {
160         // TODO Implement autogenerated method - returns null
161     }
162 
163     /**
164      *
165      * @see org.eclipse.uml2.uml.NamedElement#getClientDependencies()
166      */
167     public EList getClientDependencies()
168     {
169         // TODO Implement autogenerated method - returns null
170         return null;
171     }
172 
173     /**
174      *
175      * @see org.eclipse.uml2.uml.NamedElement#getClientDependency(String)
176      */
177     public Dependency getClientDependency(final String arg0)
178     {
179         // TODO Implement autogenerated method - returns null
180         return null;
181     }
182 
183     /**
184      *
185      * @see org.eclipse.uml2.uml.NamedElement#getNameExpression()
186      */
187     public StringExpression getNameExpression()
188     {
189         // TODO Implement autogenerated method - returns null
190         return null;
191     }
192 
193     /**
194      *
195      * @see org.eclipse.uml2.uml.NamedElement#setNameExpression(org.eclipse.uml2.uml.StringExpression)
196      */
197     public void setNameExpression(final StringExpression arg0)
198     {
199         // TODO Implement autogenerated method - returns null
200     }
201 
202     /**
203      *
204      * @param arg0
205      * @return null
206      */
207     public StringExpression createNameExpression(final EClass arg0)
208     {
209         // TODO Implement autogenerated method - returns null
210         return null;
211     }
212 
213     /**
214      *
215      * @return null
216      */
217     public StringExpression createNameExpression()
218     {
219         // TODO Implement autogenerated method - returns null
220         return null;
221     }
222 
223     /**
224      *
225      * @see org.eclipse.uml2.uml.NamedElement#allNamespaces()
226      */
227     public EList<Namespace> allNamespaces()
228     {
229         // TODO Implement autogenerated method - returns null
230         return null;
231     }
232 
233     /**
234      *
235      * @see org.eclipse.uml2.uml.NamedElement#isDistinguishableFrom(org.eclipse.uml2.uml.NamedElement,
236      *      org.eclipse.uml2.uml.Namespace)
237      */
238     public boolean isDistinguishableFrom(
239         final NamedElement arg0,
240         final Namespace arg1)
241     {
242         // TODO Implement autogenerated method - returns null
243         return false;
244     }
245 
246     /**
247      *
248      * @see org.eclipse.uml2.uml.NamedElement#separator()
249      */
250     public String separator()
251     {
252         // TODO Implement autogenerated method - returns null
253         return null;
254     }
255 
256     /**
257      *
258      * @return null
259      */
260     public String qualifiedName()
261     {
262         // TODO Implement autogenerated method - returns null
263         return null;
264     }
265 
266     /**
267      *
268      * @see org.eclipse.uml2.uml.NamedElement#validateVisibilityNeedsOwnership(org.eclipse.emf.common.util.DiagnosticChain,
269      *      java.util.Map)
270      */
271     public boolean validateVisibilityNeedsOwnership(
272         final DiagnosticChain arg0,
273         final Map<Object, Object> arg1)
274     {
275         // TODO Implement autogenerated method - returns null
276         return false;
277     }
278 
279     /**
280      *
281      * @see org.eclipse.uml2.uml.NamedElement#getNamespace()
282      */
283     public Namespace getNamespace()
284     {
285         // TODO Implement autogenerated method - returns null
286         return null;
287     }
288 
289     /**
290      *
291      * @param arg0
292      * @param arg1
293      * @return false
294      */
295     public boolean validateNoName(
296         final DiagnosticChain arg0,
297         final Map<Object, Object> arg1)
298     {
299         // TODO Implement autogenerated method - returns null
300         return false;
301     }
302 
303     /**
304      *
305      * @param arg0
306      * @param arg1
307      * @return false
308      */
309     public boolean validateQualifiedName(
310         final DiagnosticChain arg0,
311         final Map<Object, Object> arg1)
312     {
313         // TODO Implement autogenerated method - returns null
314         return false;
315     }
316 
317     /**
318      *
319      * @see org.eclipse.uml2.uml.NamedElement#getLabel()
320      */
321     public String getLabel()
322     {
323         // TODO Implement autogenerated method - returns null
324         return null;
325     }
326 
327     /**
328      *
329      * @see org.eclipse.uml2.uml.NamedElement#getLabel(boolean)
330      */
331     public String getLabel(final boolean arg0)
332     {
333         // TODO Implement autogenerated method - returns null
334         return null;
335     }
336 
337     /**
338      *
339      * @see org.eclipse.uml2.uml.NamedElement#createDependency(org.eclipse.uml2.uml.NamedElement)
340      */
341     public Dependency createDependency(final NamedElement arg0)
342     {
343         // TODO Implement autogenerated method - returns null
344         return null;
345     }
346 
347     /**
348      *
349      * @return null
350      * @see org.eclipse.uml2.uml.TemplateableElement#getTemplateBindings()
351      */
352     public EList getTemplateBindings()
353     {
354         // TODO Implement autogenerated method - returns null
355         return null;
356     }
357 
358     /**
359      *
360      * @param arg0
361      * @return null
362      */
363     public TemplateBinding createTemplateBinding(final EClass arg0)
364     {
365         // TODO Implement autogenerated method - returns null
366         return null;
367     }
368 
369     /**
370      *
371      * @return null
372      */
373     public TemplateBinding createTemplateBinding()
374     {
375         // TODO Implement autogenerated method - returns null
376         return null;
377     }
378 
379     /**
380      *
381      * @return null
382      * @see org.eclipse.uml2.uml.TemplateableElement#getOwnedTemplateSignature()
383      */
384     public TemplateSignature getOwnedTemplateSignature()
385     {
386         // TODO Implement autogenerated method - returns null
387         return null;
388     }
389 
390     /**
391      *
392      * @param arg0
393      * @see org.eclipse.uml2.uml.TemplateableElement#setOwnedTemplateSignature(org.eclipse.uml2.uml.TemplateSignature)
394      */
395     public void setOwnedTemplateSignature(final TemplateSignature arg0)
396     {
397         // TODO Implement autogenerated method - returns null
398     }
399 
400     /**
401      *
402      * @param arg0
403      * @return null
404      * @see org.eclipse.uml2.uml.TemplateableElement#createOwnedTemplateSignature(org.eclipse.emf.ecore.EClass)
405      */
406     public TemplateSignature createOwnedTemplateSignature(final EClass arg0)
407     {
408         // TODO Implement autogenerated method - returns null
409         return null;
410     }
411 
412     /**
413      *
414      * @return null
415      * @see org.eclipse.uml2.uml.TemplateableElement#createOwnedTemplateSignature()
416      */
417     public TemplateSignature createOwnedTemplateSignature()
418     {
419         // TODO Implement autogenerated method - returns null
420         return null;
421     }
422 
423     /**
424      *
425      * @return null
426      * @see org.eclipse.uml2.uml.TemplateableElement#parameterableElements()
427      */
428     public Set<ParameterableElement> parameterableElements()
429     {
430         // TODO Implement autogenerated method - returns null
431         return null;
432     }
433 
434     /**
435      *
436      * @see org.eclipse.uml2.uml.Element#getOwnedElements()
437      */
438     public EList getOwnedElements()
439     {
440         // TODO Implement autogenerated method - returns null
441         return null;
442     }
443 
444     /**
445      *
446      * @see org.eclipse.uml2.uml.Element#getOwner()
447      */
448     public Element getOwner()
449     {
450         // TODO Implement autogenerated method - returns null
451         return null;
452     }
453 
454     /**
455      *
456      * @see org.eclipse.uml2.uml.Element#getOwnedComments()
457      */
458     public EList getOwnedComments()
459     {
460         // TODO Implement autogenerated method - returns null
461         return null;
462     }
463 
464     /**
465      *
466      * @param arg0
467      * @return null
468      */
469     public Comment createOwnedComment(final EClass arg0)
470     {
471         // TODO Implement autogenerated method - returns null
472         return null;
473     }
474 
475     /**
476      *
477      * @see org.eclipse.uml2.uml.Element#createOwnedComment()
478      */
479     public Comment createOwnedComment()
480     {
481         // TODO Implement autogenerated method - returns null
482         return null;
483     }
484 
485     /**
486      *
487      * @see org.eclipse.uml2.uml.Element#validateNotOwnSelf(org.eclipse.emf.common.util.DiagnosticChain,
488      *      java.util.Map)
489      */
490     public boolean validateNotOwnSelf(
491         final DiagnosticChain arg0,
492         final Map<Object, Object> arg1)
493     {
494         // TODO Implement autogenerated method - returns null
495         return false;
496     }
497 
498     /**
499      *
500      * @see org.eclipse.uml2.uml.Element#validateHasOwner(org.eclipse.emf.common.util.DiagnosticChain,
501      *      java.util.Map)
502      */
503     public boolean validateHasOwner(
504         final DiagnosticChain arg0,
505         final Map<Object, Object> arg1)
506     {
507         // TODO Implement autogenerated method - returns null
508         return false;
509     }
510 
511     /**
512      *
513      * @see org.eclipse.uml2.uml.Element#allOwnedElements()
514      */
515     public EList<Element> allOwnedElements()
516     {
517         // TODO Implement autogenerated method - returns null
518         return null;
519     }
520 
521     /**
522      *
523      * @see org.eclipse.uml2.uml.Element#mustBeOwned()
524      */
525     public boolean mustBeOwned()
526     {
527         // TODO Implement autogenerated method - returns null
528         return false;
529     }
530 
531     /**
532      *
533      * @see org.eclipse.uml2.uml.Element#createEAnnotation(String)
534      */
535     public EAnnotation createEAnnotation(final String arg0)
536     {
537         // TODO Implement autogenerated method - returns null
538         return null;
539     }
540 
541     /**
542      *
543      * @param arg0
544      * @return false
545      */
546     public boolean isApplied(final Stereotype arg0)
547     {
548         // TODO Implement autogenerated method - returns null
549         return false;
550     }
551 
552     /**
553      *
554      * @param arg0
555      * @return false
556      */
557     public boolean isRequired(final Stereotype arg0)
558     {
559         // TODO Implement autogenerated method - returns null
560         return false;
561     }
562 
563     /**
564      *
565      * @see org.eclipse.uml2.uml.Element#getApplicableStereotypes()
566      */
567     public EList<Stereotype> getApplicableStereotypes()
568     {
569         // TODO Implement autogenerated method - returns null
570         return null;
571     }
572 
573     /**
574      *
575      * @see org.eclipse.uml2.uml.Element#getApplicableStereotype(String)
576      */
577     public Stereotype getApplicableStereotype(final String arg0)
578     {
579         // TODO Implement autogenerated method - returns null
580         return null;
581     }
582 
583     /**
584      *
585      * @see org.eclipse.uml2.uml.Element#getAppliedStereotypes()
586      */
587     public EList<Stereotype> getAppliedStereotypes()
588     {
589         // TODO Implement autogenerated method - returns null
590         return null;
591     }
592 
593     /**
594      *
595      * @see org.eclipse.uml2.uml.Element#getAppliedStereotype(String)
596      */
597     public Stereotype getAppliedStereotype(final String arg0)
598     {
599         // TODO Implement autogenerated method - returns null
600         return null;
601     }
602 
603     /**
604      *
605      * @param arg0
606      */
607     public void apply(final Stereotype arg0)
608     {
609         // TODO Implement autogenerated method - returns null
610     }
611 
612     /**
613      * @see org.eclipse.uml2.uml.Element#applyStereotype(org.eclipse.uml2.uml.Stereotype)
614      */
615     public EObject applyStereotype(final Stereotype arg0)
616     {
617         // TODO Implement autogenerated method - returns null
618         return null;
619     }
620 
621     /**
622      *
623      * @param arg0
624      */
625     public void unapply(final Stereotype arg0)
626     {
627         // TODO Implement autogenerated method - returns void
628     }
629 
630     /**
631      *
632      * @see org.eclipse.uml2.uml.Element#getValue(org.eclipse.uml2.uml.Stereotype,
633      *      String)
634      */
635     public Object getValue(
636         final Stereotype arg0,
637         final String arg1)
638     {
639         // TODO Implement autogenerated method - returns null
640         return null;
641     }
642 
643     /**
644      *
645      * @see org.eclipse.uml2.uml.Element#setValue(org.eclipse.uml2.uml.Stereotype,
646      *      String, Object)
647      */
648     public void setValue(
649         final Stereotype arg0,
650         final String arg1,
651         final Object arg2)
652     {
653         // TODO Implement autogenerated method - returns null
654     }
655 
656     /**
657      *
658      * @see org.eclipse.uml2.uml.Element#hasValue(org.eclipse.uml2.uml.Stereotype,
659      *      String)
660      */
661     public boolean hasValue(
662         final Stereotype arg0,
663         final String arg1)
664     {
665         // TODO Implement autogenerated method - returns null
666         return false;
667     }
668 
669     /**
670      *
671      * @see org.eclipse.uml2.uml.Element#getModel()
672      */
673     public Model getModel()
674     {
675         // TODO Implement autogenerated method - returns null
676         return null;
677     }
678 
679     /**
680      *
681      * @see org.eclipse.uml2.uml.Element#getNearestPackage()
682      */
683     public Package getNearestPackage()
684     {
685         // TODO Implement autogenerated method - returns null
686         return null;
687     }
688 
689     /**
690      *
691      * @see org.eclipse.uml2.uml.Element#destroy()
692      */
693     public void destroy()
694     {
695         // TODO Implement autogenerated method - returns null
696     }
697 
698     /**
699      * @param arg0
700      * @return null
701      */
702     public String getAppliedVersion(final Stereotype arg0)
703     {
704         // TODO Implement autogenerated method - returns null
705         return null;
706     }
707 
708     /**
709      *
710      * @see org.eclipse.uml2.uml.Element#getKeywords()
711      */
712     public EList<String> getKeywords()
713     {
714         // TODO Implement autogenerated method - returns null
715         return null;
716     }
717 
718     /**
719      *
720      * @see org.eclipse.uml2.uml.Element#hasKeyword(String)
721      */
722     public boolean hasKeyword(final String arg0)
723     {
724         // TODO Implement autogenerated method - returns null
725         return false;
726     }
727 
728     /**
729      *
730      * @see org.eclipse.uml2.uml.Element#addKeyword(String)
731      */
732     public boolean addKeyword(final String arg0)
733     {
734         // TODO Implement autogenerated method - returns null
735         return false;
736     }
737 
738     /**
739      *
740      * @see org.eclipse.uml2.uml.Element#removeKeyword(String)
741      */
742     public boolean removeKeyword(final String arg0)
743     {
744         // TODO Implement autogenerated method - returns null
745         return false;
746     }
747 
748     /**
749      *
750      * @see org.eclipse.emf.ecore.EModelElement#getEAnnotations()
751      */
752     public EList getEAnnotations()
753     {
754         // TODO Implement autogenerated method - returns null
755         return null;
756     }
757 
758     /**
759      *
760      * @see org.eclipse.emf.ecore.EModelElement#getEAnnotation(String)
761      */
762     public EAnnotation getEAnnotation(final String arg0)
763     {
764         // TODO Implement autogenerated method - returns null
765         return null;
766     }
767 
768     /**
769      *
770      * @see org.eclipse.emf.ecore.EObject#eClass()
771      */
772     public EClass eClass()
773     {
774         // TODO Implement autogenerated method - returns null
775         return null;
776     }
777 
778     /**
779      *
780      * @see org.eclipse.emf.ecore.EObject#eResource()
781      */
782     public Resource eResource()
783     {
784         // TODO Implement autogenerated method - returns null
785         return null;
786     }
787 
788     /**
789      *
790      * @see org.eclipse.emf.ecore.EObject#eContainer()
791      */
792     public EObject eContainer()
793     {
794         // TODO Implement autogenerated method - returns null
795         return null;
796     }
797 
798     /**
799      *
800      * @see org.eclipse.emf.ecore.EObject#eContainingFeature()
801      */
802     public EStructuralFeature eContainingFeature()
803     {
804         // TODO Implement autogenerated method - returns null
805         return null;
806     }
807 
808     /**
809      *
810      * @see org.eclipse.emf.ecore.EObject#eContainmentFeature()
811      */
812     public EReference eContainmentFeature()
813     {
814         // TODO Implement autogenerated method - returns null
815         return null;
816     }
817 
818     /**
819      *
820      * @see org.eclipse.emf.ecore.EObject#eContents()
821      */
822     public EList eContents()
823     {
824         // TODO Implement autogenerated method - returns null
825         return null;
826     }
827 
828     /**
829      *
830      * @see org.eclipse.emf.ecore.EObject#eAllContents()
831      */
832     public TreeIterator eAllContents()
833     {
834         // TODO Implement autogenerated method - returns null
835         return null;
836     }
837 
838     /**
839      *
840      * @see org.eclipse.emf.ecore.EObject#eIsProxy()
841      */
842     public boolean eIsProxy()
843     {
844         // TODO Implement autogenerated method - returns null
845         return false;
846     }
847 
848     /**
849      *
850      * @see org.eclipse.emf.ecore.EObject#eCrossReferences()
851      */
852     public EList eCrossReferences()
853     {
854         // TODO Implement autogenerated method - returns null
855         return null;
856     }
857 
858     /**
859      *
860      * @see org.eclipse.emf.ecore.EObject#eGet(org.eclipse.emf.ecore.EStructuralFeature)
861      */
862     public Object eGet(final EStructuralFeature arg0)
863     {
864         // TODO Implement autogenerated method - returns null
865         return null;
866     }
867 
868     /**
869      *
870      * @see org.eclipse.emf.ecore.EObject#eGet(org.eclipse.emf.ecore.EStructuralFeature,
871      *      boolean)
872      */
873     public Object eGet(
874         final EStructuralFeature arg0,
875         final boolean arg1)
876     {
877         // TODO Implement autogenerated method - returns null
878         return null;
879     }
880 
881     /**
882      *
883      * @see org.eclipse.emf.ecore.EObject#eSet(org.eclipse.emf.ecore.EStructuralFeature,
884      *      Object)
885      */
886     public void eSet(
887         final EStructuralFeature arg0,
888         final Object arg1)
889     {
890         // TODO Implement autogenerated method - returns null
891     }
892 
893     /**
894      *
895      * @see org.eclipse.emf.ecore.EObject#eIsSet(org.eclipse.emf.ecore.EStructuralFeature)
896      */
897     public boolean eIsSet(final EStructuralFeature arg0)
898     {
899         // TODO Implement autogenerated method - returns null
900         return false;
901     }
902 
903     /**
904      *
905      * @see org.eclipse.emf.ecore.EObject#eUnset(org.eclipse.emf.ecore.EStructuralFeature)
906      */
907     public void eUnset(final EStructuralFeature arg0)
908     {
909         // TODO Implement autogenerated method - returns null
910     }
911 
912     /**
913      *
914      * @see org.eclipse.emf.common.notify.Notifier#eAdapters()
915      */
916     public EList eAdapters()
917     {
918         // TODO Implement autogenerated method - returns null
919         return null;
920     }
921 
922     /**
923      *
924      * @see org.eclipse.emf.common.notify.Notifier#eDeliver()
925      */
926     public boolean eDeliver()
927     {
928         // TODO Implement autogenerated method - returns null
929         return false;
930     }
931 
932     /**
933      *
934      * @see org.eclipse.emf.common.notify.Notifier#eSetDeliver(boolean)
935      */
936     public void eSetDeliver(final boolean arg0)
937     {
938         // TODO Implement autogenerated method - returns null
939     }
940 
941     /**
942      *
943      * @see org.eclipse.emf.common.notify.Notifier#eNotify(org.eclipse.emf.common.notify.Notification)
944      */
945     public void eNotify(final Notification arg0)
946     {
947         // TODO Implement autogenerated method - returns null
948     }
949 
950     /**
951      * @see org.eclipse.uml2.uml.NamedElement#allOwningPackages()
952      */
953     public EList<Package> allOwningPackages()
954     {
955         // TODO Auto-generated method stub
956         return null;
957     }
958 
959     /**
960      * @see org.eclipse.uml2.uml.NamedElement#createNameExpression(String, org.eclipse.uml2.uml.Type)
961      */
962     public StringExpression createNameExpression(final String name, final Type type)
963     {
964         // TODO Auto-generated method stub
965         return null;
966     }
967 
968     /**
969      * @see org.eclipse.uml2.uml.NamedElement#createUsage(org.eclipse.uml2.uml.NamedElement)
970      */
971     public Usage createUsage(final NamedElement supplier)
972     {
973         // TODO Auto-generated method stub
974         return null;
975     }
976 
977     /**
978      * @see org.eclipse.uml2.uml.NamedElement#getClientDependency(String, boolean, org.eclipse.emf.ecore.EClass)
979      */
980     public Dependency getClientDependency(final String name, final boolean ignoreCase, final EClass class1)
981     {
982         // TODO Auto-generated method stub
983         return null;
984     }
985 
986     /**
987      * @see org.eclipse.uml2.uml.NamedElement#isSetName()
988      */
989     public boolean isSetName()
990     {
991         // TODO Auto-generated method stub
992         return false;
993     }
994 
995     /**
996      * @see org.eclipse.uml2.uml.NamedElement#isSetVisibility()
997      */
998     public boolean isSetVisibility()
999     {
1000         // TODO Auto-generated method stub
1001         return false;
1002     }
1003 
1004     /**
1005      * @see org.eclipse.uml2.uml.NamedElement#unsetName()
1006      */
1007     public void unsetName()
1008     {
1009         // TODO Auto-generated method stub
1010 
1011     }
1012 
1013     /**
1014      * @see org.eclipse.uml2.uml.NamedElement#unsetVisibility()
1015      */
1016     public void unsetVisibility()
1017     {
1018         // TODO Auto-generated method stub
1019 
1020     }
1021 
1022     /**
1023      * @see org.eclipse.uml2.uml.NamedElement#validateHasNoQualifiedName(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
1024      */
1025     public boolean validateHasNoQualifiedName(final DiagnosticChain diagnostics,
1026         final Map<Object, Object> context)
1027     {
1028         // TODO Auto-generated method stub
1029         return false;
1030     }
1031 
1032     /**
1033      * @see org.eclipse.uml2.uml.NamedElement#validateHasQualifiedName(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
1034      */
1035     public boolean validateHasQualifiedName(final DiagnosticChain diagnostics, final Map<Object, Object> context)
1036     {
1037         // TODO Auto-generated method stub
1038         return false;
1039     }
1040 
1041     /**
1042      * @see org.eclipse.uml2.uml.Element#getAppliedSubstereotype(org.eclipse.uml2.uml.Stereotype, String)
1043      */
1044     public Stereotype getAppliedSubstereotype(final Stereotype stereotype, final String qualifiedName)
1045     {
1046         // TODO Auto-generated method stub
1047         return null;
1048     }
1049 
1050     /**
1051      * @see org.eclipse.uml2.uml.Element#getAppliedSubstereotypes(org.eclipse.uml2.uml.Stereotype)
1052      */
1053     public EList<Stereotype> getAppliedSubstereotypes(final Stereotype stereotype)
1054     {
1055         // TODO Auto-generated method stub
1056         return null;
1057     }
1058 
1059     /**
1060      * @see org.eclipse.uml2.uml.Element#getRelationships()
1061      */
1062     public EList<Relationship> getRelationships()
1063     {
1064         // TODO Auto-generated method stub
1065         return null;
1066     }
1067 
1068     /**
1069      * @see org.eclipse.uml2.uml.Element#getRelationships(org.eclipse.emf.ecore.EClass)
1070      */
1071     public EList<Relationship> getRelationships(final EClass class1)
1072     {
1073         // TODO Auto-generated method stub
1074         return null;
1075     }
1076 
1077     /**
1078      * @see org.eclipse.uml2.uml.Element#getRequiredStereotype(String)
1079      */
1080     public Stereotype getRequiredStereotype(final String qualifiedName)
1081     {
1082         // TODO Auto-generated method stub
1083         return null;
1084     }
1085 
1086     /**
1087      * @see org.eclipse.uml2.uml.Element#getRequiredStereotypes()
1088      */
1089     public EList<Stereotype> getRequiredStereotypes()
1090     {
1091         // TODO Auto-generated method stub
1092         return null;
1093     }
1094 
1095     /**
1096      * @see org.eclipse.uml2.uml.Element#getSourceDirectedRelationships()
1097      */
1098     public EList<DirectedRelationship> getSourceDirectedRelationships()
1099     {
1100         // TODO Auto-generated method stub
1101         return null;
1102     }
1103 
1104     /**
1105      * @see org.eclipse.uml2.uml.Element#getSourceDirectedRelationships(org.eclipse.emf.ecore.EClass)
1106      */
1107     public EList<DirectedRelationship> getSourceDirectedRelationships(final EClass class1)
1108     {
1109         // TODO Auto-generated method stub
1110         return null;
1111     }
1112 
1113     /**
1114      * @see org.eclipse.uml2.uml.Element#getStereotypeApplication(org.eclipse.uml2.uml.Stereotype)
1115      */
1116     public EObject getStereotypeApplication(final Stereotype stereotype)
1117     {
1118         // TODO Auto-generated method stub
1119         return null;
1120     }
1121 
1122     /**
1123      * @see org.eclipse.uml2.uml.Element#getStereotypeApplications()
1124      */
1125     public EList<EObject> getStereotypeApplications()
1126     {
1127         // TODO Auto-generated method stub
1128         return null;
1129     }
1130 
1131     /**
1132      * @see org.eclipse.uml2.uml.Element#getTargetDirectedRelationships()
1133      */
1134     public EList<DirectedRelationship> getTargetDirectedRelationships()
1135     {
1136         // TODO Auto-generated method stub
1137         return null;
1138     }
1139 
1140     /**
1141      * @see org.eclipse.uml2.uml.Element#getTargetDirectedRelationships(org.eclipse.emf.ecore.EClass)
1142      */
1143     public EList<DirectedRelationship> getTargetDirectedRelationships(final EClass class1)
1144     {
1145         // TODO Auto-generated method stub
1146         return null;
1147     }
1148 
1149     /**
1150      * @see org.eclipse.uml2.uml.Element#isStereotypeApplicable(org.eclipse.uml2.uml.Stereotype)
1151      */
1152     public boolean isStereotypeApplicable(final Stereotype stereotype)
1153     {
1154         // TODO Auto-generated method stub
1155         return false;
1156     }
1157 
1158     /**
1159      * @see org.eclipse.uml2.uml.Element#isStereotypeApplied(org.eclipse.uml2.uml.Stereotype)
1160      */
1161     public boolean isStereotypeApplied(final Stereotype stereotype)
1162     {
1163         // TODO Auto-generated method stub
1164         return false;
1165     }
1166 
1167     /**
1168      * @see org.eclipse.uml2.uml.Element#isStereotypeRequired(org.eclipse.uml2.uml.Stereotype)
1169      */
1170     public boolean isStereotypeRequired(final Stereotype stereotype)
1171     {
1172         // TODO Auto-generated method stub
1173         return false;
1174     }
1175 
1176     /**
1177      * @see org.eclipse.uml2.uml.Element#unapplyStereotype(org.eclipse.uml2.uml.Stereotype)
1178      */
1179     public EObject unapplyStereotype(final Stereotype stereotype)
1180     {
1181         // TODO Auto-generated method stub
1182         return null;
1183     }
1184 
1185     /**
1186      * UML2 3.1 (Eclipse 3.6) only
1187      * @see org.eclipse.emf.ecore.EObject#eInvoke(org.eclipse.emf.ecore.EOperation, org.eclipse.emf.common.util.EList)
1188      */
1189     public Object eInvoke(final EOperation arg0, final EList<?> arg1) throws InvocationTargetException
1190     {
1191         return null; //this.property.eInvoke(arg0, arg1);
1192     }
1193 }