In the alf_node_properties table of alfresco 3.0, there are two fields that identify the actual data type and storage type stored in this table.
The actual data type is actual_type_n, the type persisted_type_n used for storage, and the serial number.
|
Valuetype |
Ordinal |
Persistedtype |
Storedincolumn |
|
Null
Boolean
Integer
Long
Float
Double
String
Date
Serializable
Mltext
Content
Noderef
Child_assoc_ref
Assoc_ref
QNAME
Path
Locale
Version_number
Collection |
0
1
2
3
4
5
6
7
9
10
11
12
13
14
15
16
17
18
19 |
Long
String or serializable
String
String
String
String
String
String
String
Serializable
String
String
Null or serializable |
String
Boolean
Long
Long
Float
Double
String or serializable
String
Serializable
String
String
String
String
String
String
Serializable
String
String
String or serializable |
In addition to the above two fields, the table also includes the following fields used to store the corresponding data type.
Boolean_value
Long_value
Float_value
Double_value
String_value
Serializable_value
The eight fields mentioned above are used to save node attribute data.
There are also node_id, qname_id, and locale_id as foreign keys, which correspond to the alf_node, alf_qname, and alf_locale tables respectively.
The primary key is the foreign key and the list_index field.