can i create an attribute whose type is some enumeration? 

the point is to have an attribute that accepts string values, but still be able 
to create order, and use comparisons in queries.

my use case is a 'product_version' attribute. I'd like for different components 
to state since what product version they exist ('since version 1.2'). i want 
then to be able to list all components for a given version (something like 
[[product_version:=<1.3]]). version names can be anything (e.g. 'xp'). so i 
want to be able to map them in the attribute page (or type of). then i'd assign 
to 1.1 the value of 1, to 1.2 the value of 2, to 'xp' the value of 3, etc. when 
new versions come (incl. minor versions), i'll update the page, inserting the 
version and its sequence number (maybe bumping others)

thanks,
ittay

-- 
===================================
Ittay Dror, 
Chief architect, openQRM group leader, 
R&D, Qlusters Inc.
[EMAIL PROTECTED]
+972-3-6081994 Fax: +972-3-6081841

www.openqrm.org - Data Center Provisioning

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Semediawiki-user mailing list
Semediawiki-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-user

Reply via email to