/** * Adds an attribute to the attribute payload, without the caller having to * specify an alias. An alias in the form "attrNN" will be automatically * generated. * * @param typeUri The attribute type URI. * @param value The attribute value. * @return The generated attribute alias. */ public String addAttribute(String typeUri, String value) { String alias = generateAlias(); // not calling the other addAttribute - extra overhead in checks there _parameters.set(new Parameter("type." + alias, typeUri)); _parameters.set(new Parameter("value." + alias, value)); if (DEBUG) _log.debug("Added new attribute to the AX payload; type: " + typeUri + " alias: " + alias); return alias; }
/** * Adds an attribute to the attribute payload, without the caller having to * specify an alias. An alias in the form "attrNN" will be automatically * generated. * * @param typeUri The attribute type URI. * @param value The attribute value. * @return The generated attribute alias. */ public String addAttribute(String typeUri, String value) { String alias = generateAlias(); // not calling the other addAttribute - extra overhead in checks there _parameters.set(new Parameter("type." + alias, typeUri)); _parameters.set(new Parameter("value." + alias, value)); if (DEBUG) _log.debug("Added new attribute to the AX payload; type: " + typeUri + " alias: " + alias); return alias; }
/** * Adds an attribute to the attribute payload, without the caller having to * specify an alias. An alias in the form "attrNN" will be automatically * generated. * * @param typeUri The attribute type URI. * @param value The attribute value. * @return The generated attribute alias. */ public String addAttribute(String typeUri, String value) { String alias = generateAlias(); // not calling the other addAttribute - extra overhead in checks there _parameters.set(new Parameter("type." + alias, typeUri)); _parameters.set(new Parameter("value." + alias, value)); if (DEBUG) { _log.debug("Added new attribute to the AX payload; type: " + typeUri + " alias: " + alias); } return alias; }
/** * Adds an attribute to the attribute payload, without the caller having to * specify an alias. An alias in the form "attrNN" will be automatically * generated. * * @param typeUri The attribute type URI. * @param value The attribute value. * @return The generated attribute alias. */ public String addAttribute(String typeUri, String value) { String alias = generateAlias(); // not calling the other addAttribute - extra overhead in checks there _parameters.set(new Parameter("type." + alias, typeUri)); _parameters.set(new Parameter("value." + alias, value)); if (DEBUG) _log.debug("Added new attribute to the AX payload; type: " + typeUri + " alias: " + alias); return alias; }
/** * Adds an attribute to the attribute payload, without the caller having to * specify an alias. An alias in the form "attrNN" will be automatically * generated. * * @param typeUri The attribute type URI. * @param value The attribute value. * @return The generated attribute alias. */ public String addAttribute(String typeUri, String value) { String alias = generateAlias(); // not calling the other addAttribute - extra overhead in checks there _parameters.set(new Parameter("type." + alias, typeUri)); _parameters.set(new Parameter("value." + alias, value)); if (DEBUG) _log.debug("Added new attribute to the AX payload; type: " + typeUri + " alias: " + alias); return alias; }