KickJava   Java API By Example, From Geeks To Geeks.

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


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