1 7 15 16 package com.sun.corba.se.impl.corba; 17 18 import org.omg.CORBA.NamedValue ; 19 import org.omg.CORBA.Any ; 20 21 import com.sun.corba.se.spi.orb.ORB ; 22 23 public class NamedValueImpl extends NamedValue 24 { 25 private String _name; 26 private Any _value; 27 private int _flags; 28 private ORB _orb; 29 30 public NamedValueImpl(ORB orb) 31 { 32 _orb = orb; 34 _value = new AnyImpl(_orb); 35 } 36 37 public NamedValueImpl(ORB orb, 38 String name, 39 Any value, 40 int flags) 41 { 42 _orb = orb; 44 _name = name; 45 _value = value; 46 _flags = flags; 47 } 48 49 public String name() 50 { 51 return _name; 52 } 53 54 public Any value() 55 { 56 return _value; 57 } 58 59 public int flags() 60 { 61 return _flags; 62 } 63 } 64 | Popular Tags |