org.modeshape.graph.property
Interface UuidFactory

All Superinterfaces:
ValueFactory<UUID>
All Known Implementing Classes:
UuidValueFactory

@ThreadSafe
public interface UuidFactory
extends ValueFactory<UUID>

A factory for creating UUID instances. This interface extends the ValueFactory generic interface and adds specific methods for creating UUIDs.


Field Summary
 
Fields inherited from interface org.modeshape.graph.property.ValueFactory
DEFAULT_DECODER, DEFAULT_ENCODER
 
Method Summary
 UUID create()
          Create a new random UUID.
 
Methods inherited from interface org.modeshape.graph.property.ValueFactory
create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, getPropertyType
 

Method Detail

create

UUID create()
Create a new random UUID.

Returns:
the new randomly generated UUID


Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.