1 21 package org.jacorb.orb.policies; 22 23 import org.omg.CORBA.*; 24 import org.omg.Messaging.*; 25 import org.omg.TimeBase.*; 26 27 public class ReplyEndTimePolicy extends _ReplyEndTimePolicyLocalBase 28 { 29 private UtcT end_time; 30 31 public ReplyEndTimePolicy (UtcT end_time) 32 { 33 this.end_time = end_time; 34 } 35 36 public ReplyEndTimePolicy (org.omg.CORBA.Any value) 37 { 38 this.end_time = UtcTHelper.extract (value); 39 } 40 41 public UtcT end_time() 42 { 43 return end_time; 44 } 45 46 public int policy_type() 47 { 48 return REPLY_END_TIME_POLICY_TYPE.value; 49 } 50 51 public Policy copy() 52 { 53 UtcT copy_time = new UtcT (end_time.time, 54 end_time.inacclo, 55 end_time.inacchi, 56 end_time.tdf); 57 58 return new ReplyEndTimePolicy (copy_time); 59 } 60 61 public void destroy() 62 { 63 } 64 65 } 66 | Popular Tags |