* <code>JmsMessage</code>. Passing <code>null</code> to this method results in
* standard properties without any default values.
*/
public void setStandardPropertiesDescriptor(StandardPropertiesDescriptor props) {
boolean changed = false;
StandardPropertiesDescriptor old = standardProperties;
if (props == null) {
changed = standardProperties.hasNonNullDefaultValues();
if (changed) {
standardProperties = new StandardPropertiesDescriptor();
}
} else {
changed = !props.equals(standardProperties);
if (changed) {
standardProperties = new StandardPropertiesDescriptor(props);
}
}
if (changed) {
firePropertyChange(STANDARD_PROPERTIES, old, props);
}