1 package org.objectweb.modfact.jmi.repository.javax.jmi.model; 2 3 import org.objectweb.modfact.jmi.reflect.*; 4 public class ReferenceImpl extends RefObjectImpl implements javax.jmi.model.Reference { public String getName() throws javax.jmi.reflect.JmiException { 5 return (String ) refGetValue("name"); 6 } 7 public void setName(String newValue) throws javax.jmi.reflect.JmiException { 8 refSetValue("name",newValue); 9 } 10 public java.util.List getQualifiedName() throws javax.jmi.reflect.JmiException { 11 return (java.util.List ) refGetValue("qualifiedName"); 12 } 13 public String getAnnotation() throws javax.jmi.reflect.JmiException { 14 return (String ) refGetValue("annotation"); 15 } 16 public void setAnnotation(String newValue) throws javax.jmi.reflect.JmiException { 17 refSetValue("annotation",newValue); 18 } 19 public javax.jmi.model.ScopeKind getScope() throws javax.jmi.reflect.JmiException { 20 return (javax.jmi.model.ScopeKind) refGetValue("scope"); 21 } 22 public void setScope(javax.jmi.model.ScopeKind newValue) throws javax.jmi.reflect.JmiException { 23 refSetValue("scope",newValue); 24 } 25 public javax.jmi.model.VisibilityKind getVisibility() throws javax.jmi.reflect.JmiException { 26 return (javax.jmi.model.VisibilityKind) refGetValue("visibility"); 27 } 28 public void setVisibility(javax.jmi.model.VisibilityKind newValue) throws javax.jmi.reflect.JmiException { 29 refSetValue("visibility",newValue); 30 } 31 public javax.jmi.model.MultiplicityType getMultiplicity() throws javax.jmi.reflect.JmiException { 32 return (javax.jmi.model.MultiplicityType) refGetValue("multiplicity"); 33 } 34 public void setMultiplicity(javax.jmi.model.MultiplicityType newValue) throws javax.jmi.reflect.JmiException { 35 refSetValue("multiplicity",newValue); 36 } 37 public boolean isChangeable() throws javax.jmi.reflect.JmiException { 38 return (boolean) ((Boolean )refGetValue("isChangeable")).booleanValue(); 39 } 40 public void setChangeable(boolean newValue) throws javax.jmi.reflect.JmiException { 41 refSetValue("isChangeable",new Boolean (newValue)); 42 } 43 public java.util.Collection getRequiredElements() throws javax.jmi.reflect.JmiException { 44 return (java.util.Collection ) refGetValue("requiredElements"); 45 } 46 public javax.jmi.model.Namespace getContainer() throws javax.jmi.reflect.JmiException { 47 return (javax.jmi.model.Namespace) refGetValue("container"); 48 } 49 public void setContainer(javax.jmi.model.Namespace newValue) throws javax.jmi.reflect.JmiException { 50 refSetValue("container",newValue); 51 } 52 public java.util.Collection getConstraints() throws javax.jmi.reflect.JmiException { 53 return (java.util.Collection ) refGetValue("constraints"); 54 } 55 public javax.jmi.model.Classifier getType() throws javax.jmi.reflect.JmiException { 56 return (javax.jmi.model.Classifier) refGetValue("type"); 57 } 58 public void setType(javax.jmi.model.Classifier newValue) throws javax.jmi.reflect.JmiException { 59 refSetValue("type",newValue); 60 } 61 public javax.jmi.model.AssociationEnd getExposedEnd() throws javax.jmi.reflect.JmiException { 62 return (javax.jmi.model.AssociationEnd) refGetValue("exposedEnd"); 63 } 64 public void setExposedEnd(javax.jmi.model.AssociationEnd newValue) throws javax.jmi.reflect.JmiException { 65 refSetValue("exposedEnd",newValue); 66 } 67 public javax.jmi.model.AssociationEnd getReferencedEnd() throws javax.jmi.reflect.JmiException { 68 return (javax.jmi.model.AssociationEnd) refGetValue("referencedEnd"); 69 } 70 public void setReferencedEnd(javax.jmi.model.AssociationEnd newValue) throws javax.jmi.reflect.JmiException { 71 refSetValue("referencedEnd",newValue); 72 } 73 public java.util.Collection findRequiredElements(java.util.Collection kinds,boolean recursive) throws javax.jmi.reflect.JmiException { 74 throw new RuntimeException ("No Implementation"); 75 } 76 public boolean isRequiredBecause(javax.jmi.model.ModelElement otherElement,String [] reason) throws javax.jmi.reflect.JmiException { 77 throw new RuntimeException ("No Implementation"); 78 } 79 public boolean isFrozen() throws javax.jmi.reflect.JmiException { 80 throw new RuntimeException ("No Implementation"); 81 } 82 public boolean isVisible(javax.jmi.model.ModelElement otherElement) throws javax.jmi.reflect.JmiException { 83 throw new RuntimeException ("No Implementation"); 84 } 85 } 86 | Popular Tags |