org.omg.CosTime
Class OverlapType

java.lang.Object
  extended by org.omg.CosTime.OverlapType
All Implemented Interfaces:
java.io.Serializable, org.omg.CORBA.portable.IDLEntity

public final class OverlapType
extends java.lang.Object
implements org.omg.CORBA.portable.IDLEntity

OverlapType specifies the type of overlap between two time intervals. When Interval A wholly contains interval B, then it is an OTContainer of interval B and the overlap interval is the same as the interval B. When interval B wholly contains interval A, then interval A is OTContained in interval B and the overlap region is the same as interval A. When neither interval is wholly contained in the other but they overlap, then the OTOverlap case applies and the overlap region is the length of interval that overlaps. Finally, when the two intervals do not overlap, the OTNoOverlap case applies.

See Also:
Serialized Form

Field Summary
static int _OTContained
          Enum member OTContained value
static int _OTContainer
          Enum member OTContainer value
static int _OTNoOverlap
          Enum member OTNoOverlap value
static int _OTOverlap
          Enum member OTOverlap value
static OverlapType OTContained
          Enum member OTContained
static OverlapType OTContainer
          Enum member OTContainer
static OverlapType OTNoOverlap
          Enum member OTNoOverlap
static OverlapType OTOverlap
          Enum member OTOverlap
 
Method Summary
static OverlapType from_int(int value)
          Return a enum member from its value.
 java.lang.Object readResolve()
          Maintains singleton property for serialized enums.
 java.lang.String toString()
          Return a string representation
 int value()
          Return the internal member value
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_OTContainer

public static final int _OTContainer
Enum member OTContainer value

See Also:
Constant Field Values

OTContainer

public static final OverlapType OTContainer
Enum member OTContainer


_OTContained

public static final int _OTContained
Enum member OTContained value

See Also:
Constant Field Values

OTContained

public static final OverlapType OTContained
Enum member OTContained


_OTOverlap

public static final int _OTOverlap
Enum member OTOverlap value

See Also:
Constant Field Values

OTOverlap

public static final OverlapType OTOverlap
Enum member OTOverlap


_OTNoOverlap

public static final int _OTNoOverlap
Enum member OTNoOverlap value

See Also:
Constant Field Values

OTNoOverlap

public static final OverlapType OTNoOverlap
Enum member OTNoOverlap

Method Detail

readResolve

public java.lang.Object readResolve()
                             throws java.io.ObjectStreamException
Maintains singleton property for serialized enums. Issue 4271: IDL/Java issue, Mapping for IDL enum.

Throws:
java.io.ObjectStreamException

value

public int value()
Return the internal member value

Returns:
the member value

from_int

public static OverlapType from_int(int value)
Return a enum member from its value.

Parameters:
value - An enum value
Returns:
An enum member

toString

public java.lang.String toString()
Return a string representation

Overrides:
toString in class java.lang.Object
Returns:
a string representation of the enumeration