1 21 package org.jacorb.ir.gui.typesystem.remote; 22 23 import org.omg.CORBA.*; 24 25 28 29 public class IRFixed 30 extends IRNode 31 { 32 short digits; 33 short scale; 34 35 38 protected IRFixed() 39 { 40 super(); 41 42 } 43 44 48 49 protected IRFixed(org.omg.CORBA.IRObject irObject) 50 { 51 super(irObject); 52 FixedDef fixedDef = FixedDefHelper.narrow((org.omg.CORBA.Object )irObject); 53 digits = fixedDef.digits(); 54 scale = fixedDef.scale(); 55 } 57 58 61 62 public static String nodeTypeName() 63 { 64 return "fixed"; 65 } 66 67 70 71 public String description() 72 { 73 String result = "fixed\ndigits:\t" + digits + "\nscale:\t" + scale; 74 return result; 75 } 76 77 } 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 | Popular Tags |