1 26 27 package org.objectweb.openccm.ast.lib; 28 29 37 38 public class FixedTypeRefImpl 39 extends TypeRefImpl 40 implements org.objectweb.openccm.ast.api.FixedTypeRef 41 { 42 48 49 private short digits_; 50 51 52 private short scale_; 53 54 60 67 protected 68 FixedTypeRefImpl(org.omg.CORBA.IDLType type, 69 short digits, 70 short scale) 71 { 72 super(type, org.objectweb.openccm.ast.api.TypeKind.tk_fixed); 74 75 digits_ = digits; 77 scale_ = scale; 78 } 79 80 86 92 98 103 public void 104 setDigits(short digits) 105 { 106 digits_ = digits; 107 } 108 109 114 public short 115 getDigits() 116 { 117 return digits_; 118 } 119 120 125 public void 126 setScale(short scale) 127 { 128 scale_ = scale; 129 } 130 131 136 public short 137 getScale() 138 { 139 return scale_; 140 } 141 } 142 | Popular Tags |