/** * Override Object.hashCode() to implement equals. */ public int hashCode() { if (hashCode == 0) { int result = 17; if (null != getURI()) result = 37 * result + getURI().hashCode(); if (null != getInlineContent()) result = 37 * result + getInlineContent().hashCode(); if (null != getXlinkTitle()) result = 37 * result + getXlinkTitle().hashCode(); if (null != getType()) result = 37 * result + getType().hashCode(); hashCode = result; } return hashCode; }
/** * Override Object.hashCode() to implement equals. */ public int hashCode() { if (hashCode == 0) { int result = 17; if (null != getURI()) result = 37 * result + getURI().hashCode(); if (null != getInlineContent()) result = 37 * result + getInlineContent().hashCode(); if (null != getXlinkTitle()) result = 37 * result + getXlinkTitle().hashCode(); if (null != getType()) result = 37 * result + getType().hashCode(); hashCode = result; } return hashCode; }
/** * Override Object.hashCode() to implement equals. */ public int hashCode() { if (hashCode == 0) { int result = 17; if (null != getURI()) result = 37 * result + getURI().hashCode(); if (null != getInlineContent()) result = 37 * result + getInlineContent().hashCode(); if (null != getXlinkTitle()) result = 37 * result + getXlinkTitle().hashCode(); if (null != getType()) result = 37 * result + getType().hashCode(); hashCode = result; } return hashCode; }
private Element writeDocumentation(InvDocumentation doc, String name) { Element docElem = new Element(name, defNS); if (doc.getType() != null) docElem.setAttribute("type", doc.getType()); if (doc.hasXlink()) { docElem.setAttribute("href", doc.getURI().toString(), xlinkNS); if (!doc.getXlinkTitle().equals(doc.getURI().toString())) docElem.setAttribute("title", doc.getXlinkTitle(), xlinkNS); } String inline = doc.getInlineContent(); if (inline != null) docElem.addContent(inline); return docElem; }
private Element writeDocumentation(InvDocumentation doc, String name) { Element docElem = new Element(name, defNS); if (doc.getType() != null) docElem.setAttribute("type", doc.getType()); if (doc.hasXlink()) { docElem.setAttribute("href", doc.getURI().toString(), xlinkNS); if (!doc.getXlinkTitle().equals(doc.getURI().toString())) docElem.setAttribute("title", doc.getXlinkTitle(), xlinkNS); } String inline = doc.getInlineContent(); if (inline != null) docElem.addContent(inline); return docElem; }
private Element writeDocumentation(InvDocumentation doc, String name) { Element docElem = new Element(name, defNS); if (doc.getType() != null) docElem.setAttribute("type", doc.getType()); if (doc.hasXlink()) { docElem.setAttribute("href", doc.getXlinkHref(), xlinkNS); if (!doc.getXlinkTitle().equals(doc.getURI().toString())) docElem.setAttribute("title", doc.getXlinkTitle(), xlinkNS); } String inline = doc.getInlineContent(); if (inline != null) docElem.addContent(inline); return docElem; }
private Element writeDocumentation( InvDocumentation doc, String name) { Element docElem = new Element(name, defNS); if (doc.getType() != null) docElem.setAttribute("type", doc.getType()); if (doc.hasXlink()) { docElem.setAttribute("href", doc.getXlinkHref(), xlinkNS); if (!doc.getXlinkTitle().equals( doc.getURI().toString())) docElem.setAttribute("title", doc.getXlinkTitle(), xlinkNS); } String inline = doc.getInlineContent(); if (inline != null) docElem.addContent(inline); return docElem; }
private Element writeDocumentation(InvDocumentation doc, String name) { Element docElem = new Element(name, defNS); if (doc.getType() != null) docElem.setAttribute("type", doc.getType()); if (doc.hasXlink()) { docElem.setAttribute("href", doc.getXlinkHref(), xlinkNS); if (!doc.getXlinkTitle().equals(doc.getURI().toString())) docElem.setAttribute("title", doc.getXlinkTitle(), xlinkNS); } String inline = doc.getInlineContent(); if (inline != null) docElem.addContent(inline); return docElem; }
System.out.println(" invDocumentation.getURI() = " + invDocumentation.getURI());