[OSGeo-Discuss] How does GeoNetwork generate UUIDs?
heikki
tropicano at gmail.com
Fri Feb 4 02:48:03 PST 2011
hi John,
please use the GeoNetwork Users list for questions on GeoNetwork :
https://lists.sourceforge.net/lists/listinfo/geonetwork-users.
When creating a new metadata in GeoNetwork a UUID is automatically created
for it; when importing a metadata you can choose whether it does nothing
related to UUIDs (this could cause a clash if another metadata with the same
already exists, the import fails then), whether it assigns a new UUID to it,
or whether it overwrites an existing metadata with the same UUID in case it
already exists.
UUIDs are generated using
http://download.oracle.com/javase/1.5.0/docs/api/java/util/UUID.html#randomUUID()
.
Kind regards
Heikki doeleman
On Fri, Feb 4, 2011 at 12:50 AM, John Forne <jforne at linz.govt.nz> wrote:
> Hi there
> I've using GeoNetwork v2.4 and gather that the GeoNetwork software somehow
> automatically generates UUIDs. Can anyone explain/direct me to some
> documents that explain exactly how the UUID is assigned to a particular
> record?
>
> Thanks in anticipation,
>
> John
>
> John Forne
>
> New Zealand Geospatial Office |
> DDI: +64 4 496 5404
> www.geospatial.govt.nz
> Land Information New Zealand l Toitu te whenua
> Lambton House l 160 Lambton Quay l PO Box 5501 l Wellington 6145 l
> New Zealand | Fax +64 4 498 3519
>
> ------------------------------
> This message contains information, which is confidential and may be subject
> to legal privilege.
> If you are not the intended recipient, you must not peruse, use,
> disseminate, distribute or copy this message.
> If you have received this message in error, please notify us immediately
> (Phone 0800 665 463 or info at linz.govt.nz ) and destroy the original
> message.
> LINZ accepts no responsibility for changes to this email, or for any
> attachments, after its transmission from LINZ.
>
> *Thank you.*
> ------------------------------
>
> _______________________________________________
> Discuss mailing list
> Discuss at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/discuss/attachments/20110204/1a89a532/attachment-0002.html>
More information about the Discuss
mailing list