/** * Get the identifier. * * @return the data from the identifier element. */ public String getIdentifier() { if (elementIdentifier != null) { Text text = getFirstNode(elementIdentifier); if (text != null) { return text.getData(); } } return null; }
/** * Get the instance. * * @return the data from the instance element. */ public String getInstance() { if (elementInstance != null) { Text text = getFirstNode(elementInstance); if (text != null) { return text.getData(); } } return null; }
/** * Set the identifier. */ public void setIdentifier(String uuid) { Text node = getFirstNode(elementIdentifier); node.setData(uuid); }