KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > modfact > jmi > repository > javax > jmi > model > ParameterImpl


1 package org.objectweb.modfact.jmi.repository.javax.jmi.model;
2
3 import org.objectweb.modfact.jmi.reflect.*;
4 public class ParameterImpl extends RefObjectImpl implements javax.jmi.model.Parameter { public String JavaDoc getName() throws javax.jmi.reflect.JmiException {
5      return (String JavaDoc) refGetValue("name");
6      }
7     public void setName(String JavaDoc newValue) throws javax.jmi.reflect.JmiException {
8      refSetValue("name",newValue);
9      }
10     public java.util.List JavaDoc getQualifiedName() throws javax.jmi.reflect.JmiException {
11      return (java.util.List JavaDoc) refGetValue("qualifiedName");
12      }
13     public String JavaDoc getAnnotation() throws javax.jmi.reflect.JmiException {
14      return (String JavaDoc) refGetValue("annotation");
15      }
16     public void setAnnotation(String JavaDoc newValue) throws javax.jmi.reflect.JmiException {
17      refSetValue("annotation",newValue);
18      }
19     public javax.jmi.model.DirectionKind getDirection() throws javax.jmi.reflect.JmiException {
20      return (javax.jmi.model.DirectionKind) refGetValue("direction");
21      }
22     public void setDirection(javax.jmi.model.DirectionKind newValue) throws javax.jmi.reflect.JmiException {
23      refSetValue("direction",newValue);
24      }
25     public javax.jmi.model.MultiplicityType getMultiplicity() throws javax.jmi.reflect.JmiException {
26      return (javax.jmi.model.MultiplicityType) refGetValue("multiplicity");
27      }
28     public void setMultiplicity(javax.jmi.model.MultiplicityType newValue) throws javax.jmi.reflect.JmiException {
29      refSetValue("multiplicity",newValue);
30      }
31     public java.util.Collection JavaDoc getRequiredElements() throws javax.jmi.reflect.JmiException {
32      return (java.util.Collection JavaDoc) refGetValue("requiredElements");
33      }
34     public javax.jmi.model.Namespace getContainer() throws javax.jmi.reflect.JmiException {
35      return (javax.jmi.model.Namespace) refGetValue("container");
36      }
37     public void setContainer(javax.jmi.model.Namespace newValue) throws javax.jmi.reflect.JmiException {
38      refSetValue("container",newValue);
39      }
40     public java.util.Collection JavaDoc getConstraints() throws javax.jmi.reflect.JmiException {
41      return (java.util.Collection JavaDoc) refGetValue("constraints");
42      }
43     public javax.jmi.model.Classifier getType() throws javax.jmi.reflect.JmiException {
44      return (javax.jmi.model.Classifier) refGetValue("type");
45      }
46     public void setType(javax.jmi.model.Classifier newValue) throws javax.jmi.reflect.JmiException {
47      refSetValue("type",newValue);
48      }
49     public java.util.Collection JavaDoc findRequiredElements(java.util.Collection JavaDoc kinds,boolean recursive) throws javax.jmi.reflect.JmiException {
50 throw new RuntimeException JavaDoc("No Implementation");
51      }
52     public boolean isRequiredBecause(javax.jmi.model.ModelElement otherElement,String JavaDoc[] reason) throws javax.jmi.reflect.JmiException {
53 throw new RuntimeException JavaDoc("No Implementation");
54      }
55     public boolean isFrozen() throws javax.jmi.reflect.JmiException {
56 throw new RuntimeException JavaDoc("No Implementation");
57      }
58     public boolean isVisible(javax.jmi.model.ModelElement otherElement) throws javax.jmi.reflect.JmiException {
59 throw new RuntimeException JavaDoc("No Implementation");
60      }
61 }
62
Popular Tags