Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
includelife committed Jan 3, 2015
1 parent 03337ba commit 63c2bca
Show file tree
Hide file tree
Showing 27 changed files with 1,933 additions and 8 deletions.
14 changes: 14 additions & 0 deletions src/Main/Card.java
Original file line number Diff line number Diff line change
Expand Up @@ -176,5 +176,19 @@ public boolean isClicked() {
public void setClicked(boolean clicked) {
this.clicked = clicked;
}

/**
* @return the gamepanel
*/
public GamePanel getGamepanel() {
return gamepanel;
}

/**
* @param gamepanel the gamepanel to set
*/
public void setGamepanel(GamePanel gamepanel) {
this.gamepanel = gamepanel;
}

}
28 changes: 28 additions & 0 deletions src/action/LoginAction.java
Original file line number Diff line number Diff line change
Expand Up @@ -124,4 +124,32 @@ public void setPassword(String password) {
this.password = password;
}

/**
* @return the userPro
*/
public Properties getUserPro() {
return userPro;
}

/**
* @param userPro the userPro to set
*/
public void setUserPro(Properties userPro) {
this.userPro = userPro;
}

/**
* @return the file
*/
public File getFile() {
return file;
}

/**
* @param file the file to set
*/
public void setFile(File file) {
this.file = file;
}

}
43 changes: 43 additions & 0 deletions src/db/DBDelete.java
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,47 @@ public DBDelete(String name) throws Exception
}
}
}

/**
* @return the conn
*/
public static Connection getConn() {
return conn;
}

/**
* @param conn the conn to set
*/
public static void setConn(Connection conn) {
DBDelete.conn = conn;
}

/**
* @return the username
*/
public static String getUsername() {
return USERNAME;
}

/**
* @return the password
*/
public static String getPassword() {
return PASSWORD;
}

/**
* @return the driver
*/
public static String getDriver() {
return DRIVER;
}

/**
* @return the url
*/
public static String getUrl() {
return URL;
}

}
36 changes: 36 additions & 0 deletions src/db/DBQuery.java
Original file line number Diff line number Diff line change
Expand Up @@ -198,4 +198,40 @@ public String getScore() {
public void setScore(String score) {
this.score = score;
}

/**
* @return the conn
*/
public static Connection getConn() {
return conn;
}

/**
* @param conn the conn to set
*/
public static void setConn(Connection conn) {
DBQuery.conn = conn;
}

/**
* @return the username
*/
public static String getUsername() {
return USERNAME;
}

/**
* @return the driver
*/
public static String getDriver() {
return DRIVER;
}

/**
* @return the url
*/
public static String getUrl() {
return URL;
}

}
99 changes: 99 additions & 0 deletions src/db/DBTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,103 @@ public static void main(String[] args) throws Exception
}
}
}

/**
* @return the id
*/
public static String getId() {
return id;
}

/**
* @param id the id to set
*/
public static void setId(String id) {
DBTest.id = id;
}

/**
* @return the name
*/
public static String getName() {
return name;
}

/**
* @param name the name to set
*/
public static void setName(String name) {
DBTest.name = name;
}

/**
* @return the pass
*/
public static String getPass() {
return pass;
}

/**
* @param pass the pass to set
*/
public static void setPass(String pass) {
DBTest.pass = pass;
}

/**
* @return the others
*/
public static String getOthers() {
return others;
}

/**
* @param others the others to set
*/
public static void setOthers(String others) {
DBTest.others = others;
}

/**
* @return the conn
*/
public static Connection getConn() {
return conn;
}

/**
* @param conn the conn to set
*/
public static void setConn(Connection conn) {
DBTest.conn = conn;
}

/**
* @return the username
*/
public static String getUsername() {
return USERNAME;
}

/**
* @return the password
*/
public static String getPassword() {
return PASSWORD;
}

/**
* @return the driver
*/
public static String getDriver() {
return DRIVER;
}

/**
* @return the url
*/
public static String getUrl() {
return URL;
}

}
43 changes: 43 additions & 0 deletions src/db/DBUpdate.java
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,47 @@ public DBUpdate(String name,String score) throws Exception
}

}

/**
* @return the conn
*/
public static Connection getConn() {
return conn;
}

/**
* @param conn the conn to set
*/
public static void setConn(Connection conn) {
DBUpdate.conn = conn;
}

/**
* @return the username
*/
public static String getUsername() {
return USERNAME;
}

/**
* @return the password
*/
public static String getPassword() {
return PASSWORD;
}

/**
* @return the driver
*/
public static String getDriver() {
return DRIVER;
}

/**
* @return the url
*/
public static String getUrl() {
return URL;
}

}
Loading

0 comments on commit 63c2bca

Please sign in to comment.