예제 #1
0
 /**
  * Method newInstance.
  *
  * @param displayName String
  * @return DAOStrategy
  */
 public static DAOStrategy newInstance(String displayName) {
   final DAOStrategy returnInstance = new DAOStrategy();
   returnInstance.setDisplayName(displayName);
   return returnInstance;
 }
예제 #2
0
 /**
  * Method newInstance.
  *
  * @return DAOStrategy
  */
 public static DAOStrategy newInstance() {
   final DAOStrategy returnInstance = new DAOStrategy();
   returnInstance.setDefaultCode();
   return returnInstance;
 }