KickJava   Java API By Example, From Geeks To Geeks.

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


1 package org.objectweb.modfact.jmi.repository.javax.jmi.model;
2
3 import org.objectweb.modfact.jmi.reflect.*;
4 public class MofClassImpl extends RefObjectImpl implements javax.jmi.model.MofClass { 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 boolean isRoot() throws javax.jmi.reflect.JmiException {
20      return (boolean) ((Boolean JavaDoc)refGetValue("isRoot")).booleanValue();
21      }
22     public void setRoot(boolean newValue) throws javax.jmi.reflect.JmiException {
23      refSetValue("isRoot",new Boolean JavaDoc(newValue));
24      }
25     public boolean isLeaf() throws javax.jmi.reflect.JmiException {
26      return (boolean) ((Boolean JavaDoc)refGetValue("isLeaf")).booleanValue();
27      }
28     public void setLeaf(boolean newValue) throws javax.jmi.reflect.JmiException {
29      refSetValue("isLeaf",new Boolean JavaDoc(newValue));
30      }
31     public boolean isAbstract() throws javax.jmi.reflect.JmiException {
32      return (boolean) ((Boolean JavaDoc)refGetValue("isAbstract")).booleanValue();
33      }
34     public void setAbstract(boolean newValue) throws javax.jmi.reflect.JmiException {
35      refSetValue("isAbstract",new Boolean JavaDoc(newValue));
36      }
37     public javax.jmi.model.VisibilityKind getVisibility() throws javax.jmi.reflect.JmiException {
38      return (javax.jmi.model.VisibilityKind) refGetValue("visibility");
39      }
40     public void setVisibility(javax.jmi.model.VisibilityKind newValue) throws javax.jmi.reflect.JmiException {
41      refSetValue("visibility",newValue);
42      }
43     public boolean isSingleton() throws javax.jmi.reflect.JmiException {
44      return (boolean) ((Boolean JavaDoc)refGetValue("isSingleton")).booleanValue();
45      }
46     public void setSingleton(boolean newValue) throws javax.jmi.reflect.JmiException {
47      refSetValue("isSingleton",new Boolean JavaDoc(newValue));
48      }
49     public java.util.Collection JavaDoc getRequiredElements() throws javax.jmi.reflect.JmiException {
50      return (java.util.Collection JavaDoc) refGetValue("requiredElements");
51      }
52     public javax.jmi.model.Namespace getContainer() throws javax.jmi.reflect.JmiException {
53      return (javax.jmi.model.Namespace) refGetValue("container");
54      }
55     public void setContainer(javax.jmi.model.Namespace newValue) throws javax.jmi.reflect.JmiException {
56      refSetValue("container",newValue);
57      }
58     public java.util.Collection JavaDoc getConstraints() throws javax.jmi.reflect.JmiException {
59      return (java.util.Collection JavaDoc) refGetValue("constraints");
60      }
61     public java.util.List JavaDoc getContents() throws javax.jmi.reflect.JmiException {
62      return (java.util.List JavaDoc) refGetValue("contents");
63      }
64     public java.util.List JavaDoc getSupertypes() throws javax.jmi.reflect.JmiException {
65      return (java.util.List JavaDoc) refGetValue("supertypes");
66      }
67     public java.util.Collection JavaDoc findRequiredElements(java.util.Collection JavaDoc kinds,boolean recursive) throws javax.jmi.reflect.JmiException {
68 throw new RuntimeException JavaDoc("No Implementation");
69      }
70     public boolean isRequiredBecause(javax.jmi.model.ModelElement otherElement,String JavaDoc[] reason) throws javax.jmi.reflect.JmiException {
71 throw new RuntimeException JavaDoc("No Implementation");
72      }
73     public boolean isFrozen() throws javax.jmi.reflect.JmiException {
74 throw new RuntimeException JavaDoc("No Implementation");
75      }
76     public boolean isVisible(javax.jmi.model.ModelElement otherElement) throws javax.jmi.reflect.JmiException {
77 throw new RuntimeException JavaDoc("No Implementation");
78      }
79     public javax.jmi.model.ModelElement lookupElement(String JavaDoc name) throws javax.jmi.reflect.JmiException {
80 throw new RuntimeException JavaDoc("No Implementation");
81      }
82     public javax.jmi.model.ModelElement resolveQualifiedName(java.util.List JavaDoc qualifiedName) throws javax.jmi.reflect.JmiException {
83 throw new RuntimeException JavaDoc("No Implementation");
84      }
85     public java.util.List JavaDoc findElementsByType(javax.jmi.model.MofClass ofType,boolean includeSubtypes) throws javax.jmi.reflect.JmiException {
86 throw new RuntimeException JavaDoc("No Implementation");
87      }
88     public boolean nameIsValid(String JavaDoc proposedName) throws javax.jmi.reflect.JmiException {
89 throw new RuntimeException JavaDoc("No Implementation");
90      }
91     public java.util.List JavaDoc allSupertypes() throws javax.jmi.reflect.JmiException {
92 throw new RuntimeException JavaDoc("No Implementation");
93      }
94     public javax.jmi.model.ModelElement lookupElementExtended(String JavaDoc name) throws javax.jmi.reflect.JmiException {
95 throw new RuntimeException JavaDoc("No Implementation");
96      }
97     public java.util.List JavaDoc findElementsByTypeExtended(javax.jmi.model.MofClass ofType,boolean includeSubtypes) throws javax.jmi.reflect.JmiException {
98 throw new RuntimeException JavaDoc("No Implementation");
99      }
100 }
101
Popular Tags