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 ORBVersionFOREIGNstatic ORBVersionJDK1_3_1_01static ORBVersionNEWstatic ORBVersionNEWERstatic ORBVersionOLDprivate byteorbTypestatic ORBVersionPEORB
-
Constructor Summary
Constructors Constructor Description ORBVersionImpl(byte orbType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(ORBVersion obj)booleanequals(java.lang.Object obj)bytegetORBType()inthashCode()booleanlessThan(ORBVersion version)java.lang.StringtoString()voidwrite(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:
getORBTypein interfaceORBVersion
-
write
public void write(OutputStream os)
- Specified by:
writein interfaceORBVersion
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
lessThan
public boolean lessThan(ORBVersion version)
- Specified by:
lessThanin interfaceORBVersion
-
compareTo
public int compareTo(ORBVersion obj)
- Specified by:
compareToin interfacejava.lang.Comparable<ORBVersion>
-
-