1 26 27 package org.objectweb.openccm.ast.lib; 28 29 30 import org.objectweb.openccm.ast.api.DeclarationKind; 31 32 33 import org.objectweb.openccm.ast.api.Declaration; 34 35 60 61 public class StorageTypeStateMemberDeclImpl 62 extends DeclarationWithPsdlTypeRefImpl 63 implements org.objectweb.openccm.ast.api.StorageTypeStateMemberDecl 64 { 65 71 72 private boolean readonly_; 73 74 80 86 protected 87 StorageTypeStateMemberDeclImpl(Repository rep, 88 ScopeImpl parent) 89 { 90 super(rep, parent); 92 93 readonly_ = false; 95 } 96 97 103 109 115 protected org.omg.CORBA.Contained 116 getContained() 117 { 118 return null; 120 } 121 122 127 public org.objectweb.openccm.ast.api.DeclarationCategory 128 getCategory() 129 { 130 return org.objectweb.openccm.ast.api.DeclarationCategory.dc_psdl; 131 } 132 133 139 145 151 159 public Declaration[] 160 getDependencies() 161 { 162 return null; 164 } 165 166 172 177 public long 178 getDeclKind() 179 { 180 return DeclarationKind.dk_storage_type_state_member; 181 } 182 183 186 public void 187 create() 188 { 189 super.create(); 191 } 192 193 199 205 210 public void 211 setReadonly(boolean b) 212 { 213 readonly_ = b; 214 } 215 216 221 public boolean 222 isReadonly() 223 { 224 return readonly_; 225 } 226 } 227 | Popular Tags |