So I have this code here:
List<XMLMessage> xmlMessageList = new ArrayList<XMLMessage>();
now XMLMessage has set and get methods in here such as setFileContent, setFileName, and setFileDirectory and these are all Strings.
So how do I access those setmethods?
I am guessing it's something like this?
List xmlMessageList = new ArrayList(); xmlMessageList.add(setFileContent);