Reputation: 113
There is possibility to get properties for some model node:
model.getProperties(nodeId, /*success handler*/, /*error handler*/)
Result is something like this: properties list
Property description has field "type" that looks like ID. There can I find info about property types? How can I determine is it numerable or alphabetical?
Upvotes: 2
Views: 726
Reputation: 4375
Here are the type values from the C++ code that performs properties extraction:
enum AttributeType {
/* Numeric types */
Unknown = 0,
Boolean,
Integer,
Double,
/* Special types */
BLOB = 10,
DbKey, /* reprensets a link to another object in the database, using database internal ID */
/* String types */
String = 20,
LocalizableString,
DateTime, /* ISO 8601 date */
GeoLocation, /* LatLonHeight - ISO6709 Annex H string, e.g: "+27.5916+086.5640+8850/" for Mount Everest */
Position /* "x y z w" space separated string representing vector with 2,3 or 4 elements*/
};
Upvotes: 1