public Element asXMLElement(Document document) { return asXMLElement(document, null); }
public String getBinaryOnlyMetadataFile() { // Parents: {u'OME': None} // MetadataFile is not a reference return root.getBinaryOnly().getMetadataFile(); }
public String getBinaryOnlyUUID() { // Parents: {u'OME': None} // UUID is not a reference return root.getBinaryOnly().getUUID(); }
public void setBinaryOnlyMetadataFile(String metadataFile) { // Parents: {u'OME': None} // MetadataFile is not a reference OME o0 = root; if (o0.getBinaryOnly() == null) { o0.setBinaryOnly(new BinaryOnly()); } BinaryOnly o1 = o0.getBinaryOnly(); o1.setMetadataFile(metadataFile); }
public void setBinaryOnlyUUID(String uuid) { // Parents: {u'OME': None} // UUID is not a reference OME o0 = root; if (o0.getBinaryOnly() == null) { o0.setBinaryOnly(new BinaryOnly()); } BinaryOnly o1 = o0.getBinaryOnly(); o1.setUUID(uuid); }
/** * Updates BinaryOnly recursively from an XML DOM tree. <b>NOTE:</b> No * properties are removed, only added or updated. * @param element Root of the XML DOM tree to construct a model object * graph from. * @param model Handler for the OME model which keeps track of instances * and references seen during object population. * @throws EnumerationException If there is an error instantiating an * enumeration during model object creation. */ public void update(Element element, OMEModel model) throws EnumerationException { super.update(element, model); String tagName = element.getTagName(); if (element.hasAttribute("MetadataFile")) { // Attribute property MetadataFile setMetadataFile(String.valueOf( element.getAttribute("MetadataFile"))); } if (element.hasAttribute("UUID")) { // Attribute property UUID setUUID(String.valueOf( element.getAttribute("UUID"))); } }
/** * Constructs BinaryOnly recursively from an XML DOM tree. * @param element Root of the XML DOM tree to construct a model object * graph from. * @param model Handler for the OME model which keeps track of instances * and references seen during object population. * @throws EnumerationException If there is an error instantiating an * enumeration during model object creation. */ public BinaryOnly(Element element, OMEModel model) throws EnumerationException { update(element, model); }
setBinaryOnly(new BinaryOnly( (Element) BinaryOnly_nodeList.get(0), model));
public void setBinaryOnlyMetadataFile(String metadataFile) { // Parents: {u'OME': None} // MetadataFile is not a reference OME o0 = root; if (o0.getBinaryOnly() == null) { o0.setBinaryOnly(new BinaryOnly()); } BinaryOnly o1 = o0.getBinaryOnly(); o1.setMetadataFile(metadataFile); }
public void setBinaryOnlyUUID(String uuid) { // Parents: {u'OME': None} // UUID is not a reference OME o0 = root; if (o0.getBinaryOnly() == null) { o0.setBinaryOnly(new BinaryOnly()); } BinaryOnly o1 = o0.getBinaryOnly(); o1.setUUID(uuid); }
setMetadataFile(String.valueOf( element.getAttribute("MetadataFile"))); setUUID(String.valueOf( element.getAttribute("UUID")));
/** * Constructs BinaryOnly recursively from an XML DOM tree. * @param element Root of the XML DOM tree to construct a model object * graph from. * @param model Handler for the OME model which keeps track of instances * and references seen during object population. * @throws EnumerationException If there is an error instantiating an * enumeration during model object creation. */ public BinaryOnly(Element element, OMEModel model) throws EnumerationException { update(element, model); }
setBinaryOnly(new BinaryOnly( (Element) BinaryOnly_nodeList.get(0), model));
public Element asXMLElement(Document document) { return asXMLElement(document, null); }
public String getBinaryOnlyUUID() { // Parents: {u'OME': None} // UUID is not a reference return root.getBinaryOnly().getUUID(); }
public String getBinaryOnlyMetadataFile() { // Parents: {u'OME': None} // MetadataFile is not a reference return root.getBinaryOnly().getMetadataFile(); }
binaryOnly.asXMLElement(document, child); OME_element.appendChild(child);
OME_element.appendChild(binaryOnly.asXMLElement(document));