org.omg.CosTime

Class OverlapType

public final class OverlapType extends Object implements 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.
Field Summary
static OverlapTypeOTContained
Enum member OTContained
static OverlapTypeOTContainer
Enum member OTContainer
static OverlapTypeOTNoOverlap
Enum member OTNoOverlap
static OverlapTypeOTOverlap
Enum member OTOverlap
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
Method Summary
static OverlapTypefrom_int(int value)
Return a enum member from its value.
ObjectreadResolve()
Maintains singleton property for serialized enums.
StringtoString()
Return a string representation
intvalue()
Return the internal member value

Field Detail

OTContained

public static final OverlapType OTContained
Enum member OTContained

OTContainer

public static final OverlapType OTContainer
Enum member OTContainer

OTNoOverlap

public static final OverlapType OTNoOverlap
Enum member OTNoOverlap

OTOverlap

public static final OverlapType OTOverlap
Enum member OTOverlap

_OTContained

public static final int _OTContained
Enum member OTContained value

_OTContainer

public static final int _OTContainer
Enum member OTContainer value

_OTNoOverlap

public static final int _OTNoOverlap
Enum member OTNoOverlap value

_OTOverlap

public static final int _OTOverlap
Enum member OTOverlap value

Method Detail

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

readResolve

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

toString

public String toString()
Return a string representation

Returns: a string representation of the enumeration

value

public int value()
Return the internal member value

Returns: the member value