1 26 27 package org.objectweb.openccm.ast.lib; 28 29 30 import org.objectweb.openccm.ast.api.DeclarationKind; 31 32 54 55 public class PsdlOperationDeclImpl 56 extends OperationBaseImpl 57 implements org.objectweb.openccm.ast.api.PsdlOperationDecl 58 { 59 65 66 private boolean const_; 67 68 74 80 protected 81 PsdlOperationDeclImpl(Repository rep, 82 ScopeImpl parent) 83 { 84 super(rep, parent); 86 87 const_ = false; 89 } 90 91 97 103 108 protected org.omg.CORBA.Contained 109 getContained() 110 { 111 return null; 113 } 114 115 120 public org.objectweb.openccm.ast.api.DeclarationCategory 121 getCategory() 122 { 123 return org.objectweb.openccm.ast.api.DeclarationCategory.dc_psdl; 124 } 125 126 132 138 144 149 public long 150 getDeclKind() 151 { 152 return DeclarationKind.dk_psdl_operation; 153 } 154 155 161 167 172 public void 173 setConst(boolean b) 174 { 175 const_ = b; 176 } 177 178 183 public boolean 184 isConst() 185 { 186 return const_; 187 } 188 } 189 | Popular Tags |