if ( object instanceof Salience ) {
setSalience( (Salience) object );
} else if ( object instanceof Enabled ) {
setEnabled( (Enabled) object );
} else if ( object instanceof Consequence ) {
Consequence c = (Consequence) object;
if ( DEFAULT_CONSEQUENCE_NAME.equals( c.getName() ) ) {
setConsequence( c );
} else {
addNamedConsequence(c.getName(), c);
}
}
}