package cn.updev.Users.Static.FuctionClass;

/**
 * Created by blf2 on 15-11-22.
 */

import  cn.updev.Users.User.User;

public class Register {
    private User user;

    public Register(User user){
        this.user = user;
    }

    public boolean saveUserInfo(){
        //存储user信息
        return true;
    }
}

@@ -90,140 +90,403 @@
 ort 
- cn.updev.Users.User.User;%0A%0Apublic class Register %7B%0A    private User user;%0A%0A    public Register(User user)%7B%0A        this.user = user
+cn.updev.Users.Static.EnumeRule.UserRule;%0Aimport cn.updev.Users.Static.UserOrGroupInterface.IUser;%0Aimport cn.updev.Users.User.UserFactory;%0A%0Apublic class Register %7B%0A    private UserFactory userFactory = null;%0A%0A    public Register(String userName, String nickName, String eMail, String passWord,String url)%7B%0A        userFactory = new UserFactory(userName,nickName,eMail,passWord,url,UserRule.User)
 ;%0A  
@@ -505,15 +505,13 @@
 lic 
-boolean
+IUser
  sav
@@ -535,38 +535,104 @@
     
-//%E5%AD%98%E5%82%A8user%E4%BF%A1%E6%81%AF%0A        return true
+if(userFactory != null)%7B%0A            return userFactory.getUser();%0A        %7D%0A        return null
 ;%0A  

update fuction of Register