<uuid> create a UUID in the database
- name
- uuid
- xml namespace
- http://moyaproject.com/db
Create a UUID field (http://en.wikipedia.org/wiki/Universally_unique_identifier).
Example
<uuid name="uuid" version="3" namespace="dns" name="moyaproject.com" />
attributes
name |
purpose |
type |
required? |
default |
choices |
length |
Maximum length of UUID (should be >= 36) |
integer |
No |
36 |
|
nsname |
Name in namespace (if using variant 3 or 5) |
text |
No |
"http://moyaproject.org" |
|
nstype |
Namespace (if using variant 3 or 5) |
text |
No |
"url" |
dns
oid
url
x500
|
version |
Type of UUID |
text |
No |
"1" |
1
3
4
5
|
inherited attributes
name |
purpose |
type |
required? |
default |
choices |
blank |
Allow blank? |
boolean |
No |
yes |
|
default |
Default value |
text |
No |
|
|
formfield |
Macro to create a form field, used in admin |
text |
No |
|
|
help |
Additional help text for use in object forms |
text |
No |
|
|
index |
Create index? |
boolean |
No |
no |
|
label |
Short description of field purpose |
text |
No |
|
|
name |
Name of the element |
text |
Yes |
|
|
null |
Allow null? |
boolean |
No |
no |
|
primary |
Use as primary key? |
boolean |
No |
|
|
unique |
Impose unique constraint? |
boolean |
No |
no |
|