Package com.sun.corba.ee.impl.orb
Class ORBVersionImpl
- java.lang.Object
-
- com.sun.corba.ee.impl.orb.ORBVersionImpl
-
- All Implemented Interfaces:
ORBVersion
,java.lang.Comparable<ORBVersion>
public class ORBVersionImpl extends java.lang.Object implements ORBVersion
-
-
Field Summary
Fields Modifier and Type Field Description static ORBVersion
FOREIGN
static ORBVersion
JDK1_3_1_01
static ORBVersion
NEW
static ORBVersion
NEWER
static ORBVersion
OLD
private byte
orbType
static ORBVersion
PEORB
-
Constructor Summary
Constructors Constructor Description ORBVersionImpl(byte orbType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(ORBVersion obj)
boolean
equals(java.lang.Object obj)
byte
getORBType()
int
hashCode()
boolean
lessThan(ORBVersion version)
java.lang.String
toString()
void
write(OutputStream os)
-
-
-
Field Detail
-
orbType
private byte orbType
-
FOREIGN
public static final ORBVersion FOREIGN
-
OLD
public static final ORBVersion OLD
-
NEW
public static final ORBVersion NEW
-
JDK1_3_1_01
public static final ORBVersion JDK1_3_1_01
-
NEWER
public static final ORBVersion NEWER
-
PEORB
public static final ORBVersion PEORB
-
-
Method Detail
-
getORBType
public byte getORBType()
- Specified by:
getORBType
in interfaceORBVersion
-
write
public void write(OutputStream os)
- Specified by:
write
in interfaceORBVersion
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
lessThan
public boolean lessThan(ORBVersion version)
- Specified by:
lessThan
in interfaceORBVersion
-
compareTo
public int compareTo(ORBVersion obj)
- Specified by:
compareTo
in interfacejava.lang.Comparable<ORBVersion>
-
-