Get values for UpdateableDTO.YES and UpdateableDTO.NO from System Properties

This commit is contained in:
moparisthebest 2014-04-22 15:02:35 -04:00
parent d0e1e03756
commit 48e93aaa44
1 changed files with 2 additions and 2 deletions

View File

@ -16,8 +16,8 @@ public abstract class UpdateableDTO implements Finishable {
private String tableName;
private String whereClause;
public static final String YES = "Y";
public static final String NO = "N";
public static final String YES = System.getProperty("UpdateableDTO.YES", "Y");
public static final String NO = System.getProperty("UpdateableDTO.NO", "N");
/**
* Will always return YES or NO from this class, so they CAN be compared with object equality '==' instead of '.equals()'