|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.jtds.jdbc.UniqueIdentifier
public class UniqueIdentifier
This class encapsulates the MS SQL2000 UniqueIdentifer data type.
Field Summary | |
---|---|
private byte[] |
bytes
|
Constructor Summary | |
---|---|
UniqueIdentifier(byte[] id)
Construct a unique identifier with the supplied byte array. |
Method Summary | |
---|---|
byte[] |
getBytes()
Retrieve the unique identifier as a byte array. |
java.lang.String |
toString()
Retrieve the unique identifier as a formatted string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private final byte[] bytes
Constructor Detail |
---|
public UniqueIdentifier(byte[] id)
Method Detail |
---|
public byte[] getBytes()
byte[]
.public java.lang.String toString()
Format is NNNNNNNN-NNNN-NNNN-NNNN-NNNNNNNNNNNN.
toString
in class java.lang.Object
String
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |