public interface GUID extends Comparable<GUID>
Modifier and Type | Method and Description |
---|---|
int |
compareTo(GUID arg0) |
boolean |
equals(Object o) |
byte[] |
getBytes()
copy the uuid of this GUID, so that it can't be changed, and return it
|
int |
getCounter() |
String |
getId() |
byte[] |
getMacFragment()
Extract Platform id as bytes.
|
default int |
getObjectId() |
int |
getPlatformId()
Extract Platform id as int.
|
int |
getProcessId()
Extract process id and return as int
|
default int |
getTenantId() |
long |
getTimestamp()
Extract timestamp and return as long
|
int |
getVersion()
extract version field as a hex char from raw GUID bytes
|
int |
hashCode() |
boolean |
isWorm() |
String |
toArk() |
default String |
toArkName() |
String |
toBase32() |
String |
toBase64() |
String |
toHex() |
String |
toString() |
boolean isWorm()
String toBase32()
String toBase64()
String toHex()
String toArk()
default String toArkName()
byte[] getBytes()
int getVersion()
default int getObjectId()
default int getTenantId()
int getProcessId()
int getCounter()
long getTimestamp()
byte[] getMacFragment()
int getPlatformId()
String getId()
int compareTo(GUID arg0)
compareTo
in interface Comparable<GUID>
Copyright © 2018 Vitam. All rights reserved.