1 package org.jacorb.test.orb.etf.wiop; 2 3 22 23 import org.omg.ETF.*; 24 import org.omg.GIOP.Version; 25 import org.omg.IOP.*; 26 27 31 public class WIOPProfile extends _ProfileLocalBase 32 { 33 private int tag = 0; 34 private Profile delegate = null; 35 36 public WIOPProfile (Profile delegate, int tag) 37 { 38 this.delegate = delegate; 39 this.tag = tag; 40 } 41 42 public Profile getDelegate() 43 { 44 return delegate; 45 } 46 47 public void marshal (TaggedProfileHolder tagged_profile, 48 TaggedComponentSeqHolder components) 49 { 50 delegate.marshal (tagged_profile, components); 51 tagged_profile.value.tag = this.tag(); 52 } 53 54 public int hash() 55 { 56 return delegate.hash(); 57 } 58 59 public Profile copy() 60 { 61 return new WIOPProfile (delegate.copy(), tag); 62 } 63 64 public boolean is_match (Profile prof) 65 { 66 return delegate.is_match (prof); 67 } 68 69 public Version version() 70 { 71 return delegate.version(); 72 } 73 74 public void set_object_key(byte[] key) 75 { 76 delegate.set_object_key (key); 77 } 78 79 public byte[] get_object_key() 80 { 81 return delegate.get_object_key(); 82 } 83 84 public int tag() 85 { 86 return this.tag; 87 } 88 89 } 90 | Popular Tags |