/** * Override Object.hashCode() to be consistent with equals. */ public int hashCode() { return getName().hashCode(); }
/** * Override Object.hashCode() to be consistent with equals. */ public int hashCode() { return getName().hashCode(); }
/** * Override Object.hashCode() to be consistent with equals. */ public int hashCode() { return getName().hashCode(); }
/** * Get named property. * * @param name match this name * @return String value of Property or null if not exist. */ public String findProperty(String name) { InvProperty result = null; for (InvProperty p : properties) { if (p.getName().equals(name)) result = p; } return (result == null) ? null : result.getValue(); }
/** * Get named property. * * @param name match this name * @return String value of Property or null if not exist. */ public String findProperty(String name) { InvProperty result = null; for (InvProperty p : properties) { if (p.getName().equals(name)) result = p; } return (result == null) ? null : result.getValue(); }
/** * Get named property. * * @param name match this name * @return String value of Property or null if not exist. */ public String findProperty(String name) { InvProperty result = null; for (InvProperty p : properties) { if (p.getName().equals(name)) result = p; } return (result == null) ? null : result.getValue(); }
/** * Find named property. * * @param name match this name * @return string value of property or null if not exist. */ public String findProperty(String name) { InvProperty result = null; for (InvProperty p : getProperties()) { if (p.getName().equals(name)) result = p; } return (result == null) ? null : result.getValue(); }
/** * Find named property. * * @param name match this name * @return string value of property or null if not exist. */ public String findProperty(String name) { InvProperty result = null; for (InvProperty p : getProperties()) { if (p.getName().equals(name)) result = p; } return (result == null) ? null : result.getValue(); }
/** * Find named property. * * @param name match this name * @return string value of property or null if not exist. */ public String findProperty(String name) { InvProperty result = null; for (InvProperty p : getProperties()) { if (p.getName().equals(name)) result = p; } return (result == null) ? null : result.getValue(); }
/** * Find named property. This may have been specified * in the dataset or an enclosing parent element. * * @param name match on this name * @return string value of property or null if not exist. */ public String findProperty(String name) { InvProperty result = null; for (InvProperty p : getProperties()) { if (p.getName().equals(name)) result = p; } return (result == null) ? null : result.getValue(); }
/** * Find named property. This may have been specified * in the dataset or an enclosing parent element. * * @param name match on this name * @return string value of property or null if not exist. */ public String findProperty(String name) { InvProperty result = null; for (InvProperty p : getProperties()) { if (p.getName().equals(name)) result = p; } return (result == null) ? null : result.getValue(); }
public static InvProperty copyProperty( InvProperty property) { return new InvProperty( property.getName(), property.getValue()); } }
public static InvProperty copyProperty( InvProperty property) { return new InvProperty( property.getName(), property.getValue()); } }
public static InvProperty copyProperty( InvProperty property) { return new InvProperty( property.getName(), property.getValue()); } }
private Element writeDatasetRoot( InvProperty prop) { Element drootElem = new Element("datasetRoot", defNS); drootElem.setAttribute("path", prop.getName()); drootElem.setAttribute("location", prop.getValue()); return drootElem; }
private Element writeDatasetRoot(InvProperty prop) { Element drootElem = new Element("datasetRoot", defNS); drootElem.setAttribute("path", prop.getName()); drootElem.setAttribute("location", prop.getValue()); return drootElem; }
private Element writeProperty(InvProperty prop) { Element propElem = new Element("property", defNS); propElem.setAttribute("name", prop.getName()); propElem.setAttribute("value", prop.getValue()); return propElem; }
private Element writeProperty(InvProperty prop) { Element propElem = new Element("property", defNS); propElem.setAttribute("name", prop.getName()); propElem.setAttribute("value", prop.getValue()); return propElem; }
private Element writeProperty( InvProperty prop) { Element propElem = new Element("property", defNS); propElem.setAttribute("name", prop.getName()); propElem.setAttribute("value", prop.getValue()); return propElem; }
private Element writeDatasetRoot(InvProperty prop) { Element drootElem = new Element("datasetRoot", defNS); drootElem.setAttribute("path", prop.getName()); drootElem.setAttribute("location", prop.getValue()); return drootElem; }