org.omg.CosTime
Class UTOPOATie

java.lang.Object
  extended by org.omg.PortableServer.Servant
      extended by org.omg.CosTime.UTOPOA
          extended by org.omg.CosTime.UTOPOATie
All Implemented Interfaces:
org.omg.CORBA.portable.InvokeHandler, UTOOperations

public class UTOPOATie
extends UTOPOA

The Uto provides various operations on basic time. These include the following groups of operations: - Construction of a UTO from piece parts, and extraction of piece parts from a UTO - Comparaison of time. - Conversion from relative to absolute time, and conversion to an interval. Of these, the first operation is required for completenesss,since in its absence it would be difficult to provide a time input to the timer event handler, for example. The second operation is required by the RFP, and the third is required for completeness and usability. The Uto interface corresponds to an object that contains utc time,and is the means for manipulating the time contained in the object. This interface has opearations for getting a UtcT type data structure containing the current value of time in the object, as well as operations for getting the values of individual fields of utc time, getting absolute time from relative time, and comparing and doing bounds operations on UTOs. The UTO interface does not provide any operation for modifying the time in the object. It is intended that UTOs are immutable.


Constructor Summary
UTOPOATie(UTOOperations tieObject)
          Constructor
UTOPOATie(UTOOperations tieObject, org.omg.PortableServer.POA poa)
          Constructor
 
Method Summary
 org.omg.PortableServer.POA _default_POA()
          _default_POA method
 UTOOperations _delegate()
          Get the delegate
 void _delegate(UTOOperations delegate_)
          Set the delegate
 UTO absolute_time()
          Operation absolute_time
 TimeComparison compare_time(ComparisonType comparison_type, UTO uto)
          Operation compare_time
 long inaccuracy()
          Read accessor for inaccuracy attribute
 TIO interval()
          Operation interval
 short tdf()
          Read accessor for tdf attribute
 TIO time_to_interval(UTO uto)
          Operation time_to_interval
 long time()
          Read accessor for time attribute
 UtcT utc_time()
          Read accessor for utc_time attribute
 
Methods inherited from class org.omg.CosTime.UTOPOA
_all_interfaces, _invoke, _this, _this
 
Methods inherited from class org.omg.PortableServer.Servant
_get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UTOPOATie

public UTOPOATie(UTOOperations tieObject)
Constructor


UTOPOATie

public UTOPOATie(UTOOperations tieObject,
                 org.omg.PortableServer.POA poa)
Constructor

Method Detail

_delegate

public UTOOperations _delegate()
Get the delegate


_delegate

public void _delegate(UTOOperations delegate_)
Set the delegate


_default_POA

public org.omg.PortableServer.POA _default_POA()
_default_POA method

Overrides:
_default_POA in class org.omg.PortableServer.Servant

time

public long time()
Read accessor for time attribute

Returns:
the attribute value

inaccuracy

public long inaccuracy()
Read accessor for inaccuracy attribute

Returns:
the attribute value

tdf

public short tdf()
Read accessor for tdf attribute

Returns:
the attribute value

utc_time

public UtcT utc_time()
Read accessor for utc_time attribute

Returns:
the attribute value

absolute_time

public UTO absolute_time()
Operation absolute_time


compare_time

public TimeComparison compare_time(ComparisonType comparison_type,
                                   UTO uto)
Operation compare_time


time_to_interval

public TIO time_to_interval(UTO uto)
Operation time_to_interval


interval

public TIO interval()
Operation interval