@Test void isOverwrite() { EntityReference from = new EntityReference("from", EntityType.DOCUMENT); EntityReference to = new EntityReference("to", EntityType.DOCUMENT); OverwriteQuestion overwriteQuestion = new OverwriteQuestion(from, to); assertTrue(overwriteQuestion.isOverwrite()); overwriteQuestion.setOverwrite(false); assertFalse(overwriteQuestion.isOverwrite()); overwriteQuestion.setOverwrite(true); assertTrue(overwriteQuestion.isOverwrite()); }
public boolean isOverwrite() { return overwrite; }
OverwriteQuestion { public boolean isOverwrite() { return overwrite; } }
OverwriteQuestion { public boolean isOverwrite() { return overwrite; } OverwriteQuestion(EntityReference source, EntityReference destination); }
OverwriteQuestion { public boolean isOverwrite() { return overwrite; } OverwriteQuestion(EntityReference source, EntityReference destination); EntityReference getSource(); EntityReference getDestination(); boolean isOverwrite(); void setOverwrite(boolean overwrite); boolean isAskAgain(); void setAskAgain(boolean askAgain); }
OverwriteQuestion { public boolean isOverwrite() { return overwrite; } OverwriteQuestion(EntityReference source, EntityReference destination); EntityReference getSource(); EntityReference getDestination(); boolean isOverwrite(); void setOverwrite(boolean overwrite); boolean isAskAgain(); void setAskAgain(boolean askAgain);  }