package org.ntlab.SproutServer.accounts; import java.net.URI; import javax.ws.rs.FormParam; import javax.ws.rs.POST; import javax.ws.rs.PUT; import javax.ws.rs.Path; import javax.ws.rs.PathParam; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.UriBuilder; public class Account { private String userName; //ユーザーネーム private String mode = null; //モード選択 private int userID; //ユーザID public Account(int userID,String userName){ this.userID = userID; this.userName = userName; } public Account(){ } public static Account getInstance() { return getInstance(); } public String getUserName() { return userName; } public void setUserName(String userName) { this.userName = userName; } public String getMode() { return mode; } public void setMode(String mode) { this.mode = mode; } public int getUserID() { return userID; } public void setUserID(int userID) { this.userID = userID; } }