code: private void assignTotalPrivate(XAttributable element, Double total) {
  		if (total != null && total > 0.0) {
  			XAttributeContinuous attr = (XAttributeContinuous) ATTR_TOTAL
  					.clone();
  			attr.setValue(total);
  			element.getAttributes().put(KEY_TOTAL, attr);
  		}
  	}
docs: /*
  Assigns any element its total costs, as defined by this extension's total
  attribute.
  
  @param element Element to assign total costs to.
  
  @param total The total costs to be assigned.