org.omg.CosTime
Class _UTOStub

java.lang.Object
  extended by org.omg.CORBA.portable.ObjectImpl
      extended by org.omg.CosTime._UTOStub
All Implemented Interfaces:
java.io.Serializable, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity, UTO, UTOOperations

public class _UTOStub
extends org.omg.CORBA.portable.ObjectImpl
implements UTO

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.

See Also:
Serialized Form

Constructor Summary
_UTOStub()
           
 
Method Summary
 java.lang.String[] _ids()
           
 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.CORBA.portable.ObjectImpl
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.omg.CORBA.Object
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
 

Constructor Detail

_UTOStub

public _UTOStub()
Method Detail

_ids

public java.lang.String[] _ids()
Specified by:
_ids in class org.omg.CORBA.portable.ObjectImpl

time

public long time()
Read accessor for time attribute

Specified by:
time in interface UTOOperations
Returns:
the attribute value

inaccuracy

public long inaccuracy()
Read accessor for inaccuracy attribute

Specified by:
inaccuracy in interface UTOOperations
Returns:
the attribute value

tdf

public short tdf()
Read accessor for tdf attribute

Specified by:
tdf in interface UTOOperations
Returns:
the attribute value

utc_time

public UtcT utc_time()
Read accessor for utc_time attribute

Specified by:
utc_time in interface UTOOperations
Returns:
the attribute value

absolute_time

public UTO absolute_time()
Operation absolute_time

Specified by:
absolute_time in interface UTOOperations

compare_time

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

Specified by:
compare_time in interface UTOOperations

time_to_interval

public TIO time_to_interval(UTO uto)
Operation time_to_interval

Specified by:
time_to_interval in interface UTOOperations

interval

public TIO interval()
Operation interval

Specified by:
interval in interface UTOOperations