protected void putUUID(String name, UUID val) { _put(BINARY, name); _buf.writeInt(16); _buf.write(B_UUID); _buf.writeLong(val.getMostSignificantBits()); _buf.writeLong(val.getLeastSignificantBits()); }
public String getCompUniqueID() { UUID tempID = null; long longID = 0L; StringBuffer result = new StringBuffer(); tempID = getPackage_id(); if (IdAssigner.NULL_UUID.equals(tempID)) tempID = getPackage_idCachedValue(); result.append(Long.toHexString(tempID.getMostSignificantBits())); result.append(Long.toHexString(tempID.getLeastSignificantBits())); tempID = getDt_id(); if (IdAssigner.NULL_UUID.equals(tempID)) tempID = getDt_idCachedValue(); result.append(Long.toHexString(tempID.getMostSignificantBits())); result.append(Long.toHexString(tempID.getLeastSignificantBits())); return result.toString(); }
public String getCompUniqueID() { UUID tempID = null; long longID = 0L; StringBuffer result = new StringBuffer(); tempID = getId(); result.append(Long.toHexString(tempID.getMostSignificantBits())); result.append(Long.toHexString(tempID.getLeastSignificantBits())); return result.toString(); }