/** * Gets the first repetition for <b>location</b> (XPath of element(s) related to issue), * creating it if it does not already exist. * * <p> * <b>Definition:</b> * A simple XPath limited to element names, repetition indicators and the default child access that identifies one of the elements in the resource that caused this issue to be raised. * </p> */ public StringDt getLocationFirstRep() { if (getLocation().isEmpty()) { return addLocation(); } return getLocation().get(0); } /**
/** * Adds and returns a new value for <b>location</b> (XPath of element(s) related to issue) * * <p> * <b>Definition:</b> * A simple XPath limited to element names, repetition indicators and the default child access that identifies one of the elements in the resource that caused this issue to be raised. * </p> */ public StringDt addLocation() { StringDt newType = new StringDt(); getLocation().add(newType); return newType; }