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