A reference data type is a reference to a single node within a given store.
A reference is made up of three parts:
store: the details of the store that this reference is scoped by.
uuid: the unique identifier of a node. This part is optional.
path: the query path to a single node. This part is optional.
A reference which has only the store set is referring to the root node of that store.
A reference which has only the uuid set is referring to the node that has that uuid. If no match is found then that is considered an error.
A reference which has only the path set is referring to a node that results from the execution of the given query on the store. The query language expected is XPath. For example to find the company home node is the 'SpacesStore' you would use the path /app:company_home. If the result from the path query is nore than one node then this is considered an error.
In the case where both uuid and path are set then the path query will be executed in the context of the node referenced by the uuid.
The named value data type contains the name and value(s) of an attribtue of the Alfresco repository:
name: the string representation of values QName
isMultiValue: indicates whether we are dealing with a multi-values attribute. If set to false then the values attribute is used, otherwise the values attribute is used. If this attribute is not set then it is interpreted as false.
value: the single value as a string
values: a string array of values
The named value data type is most commonly used to prepresent the name and value of a node property.
Support for multi-valued attributes was added since 1.3.