selectedProject is instanceof of ProjectExample and name is like (jboss-javaee6-poh5-archetype, jboss-as-helloworld-jms, jboss-as-kitchensink-html5-mobile or richfaces-archetype-simpleapp) I think this name is unique.