1 26 27 package org.objectweb.openccm.ir3; 28 29 import org.omg.CORBA.ValueDef ; 31 32 40 41 public class ValueDef_ref 42 extends IDLType_ref 43 { 44 50 56 59 public 60 ValueDef_ref(IRObject_impl owner) 61 { 62 super(owner); 64 } 65 66 69 public 70 ValueDef_ref(IRObject_impl owner, 71 ValueDef_impl value) 72 { 73 super(owner, value); 75 } 76 77 83 86 static public void 87 cutDependencies(ValueDef_ref[] values) 88 { 89 if (values != null) 90 { 91 for(int i=0; i<values.length; i++) 92 values[i].cutDependency(); 93 } 94 } 95 96 99 static public String [] 100 computeRepositoryIdSeq(ValueDef_ref[] values) 101 { 102 String [] result = new String [values.length]; 103 104 for(int i=0; i<values.length; i++) 105 result[i] = values[i].getId(); 106 107 return result; 108 } 109 110 116 119 public ValueDef_impl 120 getImpl() 121 { 122 return (ValueDef_impl)(super.getBaseImpl()); 123 } 124 125 128 public ValueDef 129 asValueDef() 130 { 131 if(getTarget() == null) return null; 132 return getImpl().asValueDef(); 133 } 134 135 138 public String 139 getId() 140 { 141 if (getTarget() == null) return ""; 142 return getImpl().id(); 143 } 144 } 145 | Popular Tags |