1 26 27 package org.objectweb.openccm.ast.lib; 28 29 30 import org.objectweb.openccm.ast.api.AnyValue; 31 32 33 import org.objectweb.openccm.ast.api.DeclarationKind; 34 35 53 54 public class DeclarationWithAnyValueImpl 55 extends DeclarationImpl 56 implements org.objectweb.openccm.ast.api.DeclarationWithAnyValue 57 { 58 64 65 private AnyValue value_; 66 67 73 79 protected 80 DeclarationWithAnyValueImpl(Repository rep, 81 ScopeImpl parent) 82 { 83 super(rep, parent); 85 86 value_ = null; 88 } 89 90 96 102 107 protected org.omg.CORBA.Contained 108 getContained() 109 { 110 return null; 111 } 112 113 119 125 132 public long 133 getDeclKind() 134 { 135 return DeclarationKind.dk_null; 136 } 137 138 144 149 public void 150 setAnyValue(AnyValue value) 151 { 152 value_ = value; 153 } 154 155 160 public AnyValue 161 getAnyValue() 162 { 163 return value_; 164 } 165 } 166 | Popular Tags |