I have a Device class under my DeviceCOntainer package that declares a map and then the setter and getter for it like so:
Then I have an App class also under the DeviceContainer package where I am trying to set the values for this Map. Like this:
I get no errors when I leave null between the ( ), but I am trying to add this to a web service and there has to be a value there. I have tried putting many diferent things between the ( ), such as ("property1", "property2"), (
String "property"), (Map<"property1", "property2">) and many other variations, but I always get errors. So if I am wanting to just set this to a simple string or set of strings, what is the correct syntax to do so? I have never worked with the Map class, so I am readng up on it now, but I wanted to go ahead and post this now in case I am unable to figure it out on my own. That way hopefully there will be an answer here by the time I get through with the reading. Im guessing this is a pretty simple problem for most of the vets here.
Thanks