Esempio n. 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;
 }
Esempio n. 2
0
 /**
  * Method newInstance.
  *
  * @return DAOStrategy
  */
 public static DAOStrategy newInstance() {
   final DAOStrategy returnInstance = new DAOStrategy();
   returnInstance.setDefaultCode();
   return returnInstance;
 }