Object-Array

in Help Center
I'm trying to define an Object-Array in Slice like this:
sequence<Object> TourObject;
But that doesn't seem to work. Is there a possibility to define something like this? Untill now, I was just able to define sequences with basic types.
Thanks, Susanne
sequence<Object> TourObject;
But that doesn't seem to work. Is there a possibility to define something like this? Untill now, I was just able to define sequences with basic types.
Thanks, Susanne
0
Comments
Can you be more specific about what isn't working? The Slice snippet you quoted is legal, so without more information it will be difficult for us to help you.
Regards,
Mark
module ApplicationLayer {
["java:type:java.util.LinkedList<Object>"]
sequence<Object> TourObject;
interface ApplicationLayerFunctions {
string getMeteringPoint(string x);
TourObject TourReading();
};
};
I get an Error when I try to use slice2javae (IceEJ 1.2.0) saying: Tourobject cannot contain object-Values. I just want to generate a List that can contain Objects.
I also tried:
["java:type:java.util.LinkedList"]
sequence<Object> TourObject;
But I get the same error.