IBM
A2180-270 · Question #19
An integration developer is given the following XML Schema Definition (XSD) to define business objects of type AType. The integration developer is writing a Java Component and needs to obtain the…
The correct answer is A. aTypeObj.get("prop1"). See the full explanation below for the reasoning.
Question
An integration developer is given the following XML Schema Definition (XSD) to define business objects of type AType. The integration developer is writing a Java Component and needs to obtain the value of the prop1 attribute of a business object of type AType. Assuming that the business object is stored ina variable named aTypeObj, which of the following should the integration developer use to get the desired value?
Options
- AaTypeObj.get("prop1")
- BaTypeObj.get("a.prop1")
- CaTypeObj.get("attr@prop1")
How the community answered
(35 responses)- A74% (26)
- B9% (3)
- C17% (6)
Community Discussion
No community discussion yet for this question.