Added some mysql function description
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.sql / src / net / sourceforge / phpdt / sql / adapters / DatabaseInfo.java
1 package net.sourceforge.phpdt.sql.adapters;
2
3 import net.sourceforge.phpdt.sql.bookmarks.Bookmark;
4
5 public class DatabaseInfo {
6         private String schema;
7         
8         private DatabaseInfo(String schema) {
9                 this.schema = schema;
10         }
11         
12         public static DatabaseInfo create(Bookmark bookmark) {
13                 return new DatabaseInfo(bookmark.getSchema());
14         }
15         
16         public String getSchema() {
17                 return schema;
18         }
19
20         public void setSchema(String schema) {
21                 this.schema = schema;
22         }
23
24 }