1 7 8 package com.sun.corba.se.impl.protocol.giopmsgheaders; 9 10 11 17 18 public final class TargetAddress implements org.omg.CORBA.portable.IDLEntity 19 { 20 private byte[] ___object_key; 21 private org.omg.IOP.TaggedProfile ___profile; 22 private com.sun.corba.se.impl.protocol.giopmsgheaders.IORAddressingInfo ___ior; 23 private short __discriminator; 24 private boolean __uninitialized = true; 25 26 public TargetAddress () 27 { 28 } 29 30 public short discriminator () 31 { 32 if (__uninitialized) 33 throw new org.omg.CORBA.BAD_OPERATION (); 34 return __discriminator; 35 } 36 37 public byte[] object_key () 38 { 39 if (__uninitialized) 40 throw new org.omg.CORBA.BAD_OPERATION (); 41 verifyobject_key (__discriminator); 42 return ___object_key; 43 } 44 45 public void object_key (byte[] value) 46 { 47 __discriminator = com.sun.corba.se.impl.protocol.giopmsgheaders.KeyAddr.value; 48 ___object_key = value; 49 __uninitialized = false; 50 } 51 52 private void verifyobject_key (short discriminator) 53 { 54 if (discriminator != com.sun.corba.se.impl.protocol.giopmsgheaders.KeyAddr.value) 55 throw new org.omg.CORBA.BAD_OPERATION (); 56 } 57 58 public org.omg.IOP.TaggedProfile profile () 59 { 60 if (__uninitialized) 61 throw new org.omg.CORBA.BAD_OPERATION (); 62 verifyprofile (__discriminator); 63 return ___profile; 64 } 65 66 public void profile (org.omg.IOP.TaggedProfile value) 67 { 68 __discriminator = com.sun.corba.se.impl.protocol.giopmsgheaders.ProfileAddr.value; 69 ___profile = value; 70 __uninitialized = false; 71 } 72 73 private void verifyprofile (short discriminator) 74 { 75 if (discriminator != com.sun.corba.se.impl.protocol.giopmsgheaders.ProfileAddr.value) 76 throw new org.omg.CORBA.BAD_OPERATION (); 77 } 78 79 public com.sun.corba.se.impl.protocol.giopmsgheaders.IORAddressingInfo ior () 80 { 81 if (__uninitialized) 82 throw new org.omg.CORBA.BAD_OPERATION (); 83 verifyior (__discriminator); 84 return ___ior; 85 } 86 87 public void ior (com.sun.corba.se.impl.protocol.giopmsgheaders.IORAddressingInfo value) 88 { 89 __discriminator = com.sun.corba.se.impl.protocol.giopmsgheaders.ReferenceAddr.value; 90 ___ior = value; 91 __uninitialized = false; 92 } 93 94 private void verifyior (short discriminator) 95 { 96 if (discriminator != com.sun.corba.se.impl.protocol.giopmsgheaders.ReferenceAddr.value) 97 throw new org.omg.CORBA.BAD_OPERATION (); 98 } 99 100 public void _default () 101 { 102 __discriminator = -32768; 103 __uninitialized = false; 104 } 105 106 } | Popular Tags |