public void onNegativePropertyUpdate(InteractionEvidence interaction, boolean oldNegative) { interactionEvidenceChangeLogger.log(Level.INFO, "The negative property " + oldNegative + " has been updated with " + interaction.isNegative() + " in the interaction " + interaction.toString()); }
public boolean isNegative() { return getWrappedInteraction().isNegative(); }
@Override public Collection<ValidatorMessage> check(InteractionEvidence interaction) throws ValidatorException { if (interaction.isNegative()){ MiContext context = RuleUtils.buildContext(interaction, "interaction"); return Collections.singletonList( new ValidatorMessage( "Negative interactions are currently outside of the remit of IMEx and " + "should be removed from the record.", MessageLevel.WARN, context, this ) ); } return Collections.EMPTY_LIST; }
boolean isNegative1 = experimentalInteraction1.isNegative(); boolean isNegative2 = experimentalInteraction2.isNegative();
boolean isNegative1 = experimentalInteraction1.isNegative(); boolean isNegative2 = experimentalInteraction2.isNegative();
boolean isNegative1 = experimentalInteraction1.isNegative(); boolean isNegative2 = experimentalInteraction2.isNegative();
boolean isNegative1 = experimentalInteraction1.isNegative(); boolean isNegative2 = experimentalInteraction2.isNegative();
target.setInferred(source.isInferred()); target.setCreatedDate(source.getCreatedDate()); target.setNegative(source.isNegative()); target.setShortName(source.getShortName()); target.setInteractionType(source.getInteractionType());
boolean isNegative1 = experimentalInteraction1.isNegative(); boolean isNegative2 = experimentalInteraction2.isNegative();