Hello, forgot to post the value printing:
System.out.println(liste.list[i].index); - print out the interger value System.out.println(liste.list[i].name); - prints out the String value You have to increment I to get all enumerations. Regards -- Christoph Keßler E-Mail: [email protected] amasol AG, Elsenheimerstraße 7, 80687 München, Germany Phone: +49 89 1894743-24 Fax: +49 89 1894743-99 amasol Aktiengesellschaft für Informations- und Kommunikationstechnologie Aufsichtsrat: Prof. Dr. Stephan Kaiser (Vorsitzender) Vorstand: Wolfgang Bachmann, Stefan Deml, Thomas Dirsch, Frank Jahn, Johann Maurer Amtsgericht München HRB 128327, Sitz der Gesellschaft München > -----Ursprüngliche Nachricht----- > Von: Mike Joost [mailto:[email protected]] > Gesendet: Montag, 14. Februar 2011 13:17 > An: spectrum > Betreff: [spectrum] How to get the Text Representation of the > Model_Class Attribute > > Hello guys, > > I'm extracting the Model_Class attribute with the CORBA-API which is an > integer, > but I'd prefer to have the string representation for it. > For example: 3 <-> Router > Does anyone know how to convert the integer of the Model_Class > Attribute into > the textual Representation or where this information is stored? > > Regards, > Mike Joost > > > > > > --- > To unsubscribe from spectrum, send email to [email protected] with the > body: unsubscribe spectrum [email protected] --- To unsubscribe from spectrum, send email to [email protected] with the body: unsubscribe spectrum [email protected]
