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