001: package net.sourceforge.squirrel_sql.plugins.mssql.sql.dbfile;
002:
003: /*
004: * Copyright (C) 2004 Ryan Walberg <generalpf@yahoo.com>
005: *
006: * This library is free software; you can redistribute it and/or
007: * modify it under the terms of the GNU Lesser General Public
008: * License as published by the Free Software Foundation; either
009: * version 2.1 of the License, or (at your option) any later version.
010: *
011: * This library is distributed in the hope that it will be useful,
012: * but WITHOUT ANY WARRANTY; without even the implied warranty of
013: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
014: * Lesser General Public License for more details.
015: *
016: * You should have received a copy of the GNU Lesser General Public
017: * License along with this library; if not, write to the Free Software
018: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
019: */
020:
021: public class DatabaseFile {
022:
023: private String _name;
024: private short _id;
025: private String _filename;
026: private String _filegroup;
027: private String _size;
028: private String _maxSize;
029: private String _growth;
030: private String _usage;
031:
032: /** Creates a new instance of DatabaseFile */
033: public DatabaseFile() {
034: }
035:
036: /**
037: * Getter for property name.
038: * @return Value of property name.
039: */
040: public String getName() {
041: return this ._name;
042: }
043:
044: /**
045: * Setter for property name.
046: * @param name New value of property name.
047: */
048: public void setName(String name) {
049: this ._name = name;
050: }
051:
052: /**
053: * Getter for property id.
054: * @return Value of property id.
055: */
056: public short getId() {
057: return this ._id;
058: }
059:
060: /**
061: * Setter for property id.
062: * @param id New value of property id.
063: */
064: public void setId(short id) {
065: this ._id = id;
066: }
067:
068: /**
069: * Getter for property filename.
070: * @return Value of property filename.
071: */
072: public String getFilename() {
073: return this ._filename;
074: }
075:
076: /**
077: * Setter for property filename.
078: * @param filename New value of property filename.
079: */
080: public void setFilename(String filename) {
081: this ._filename = filename;
082: }
083:
084: /**
085: * Getter for property filegroup.
086: * @return Value of property filegroup.
087: */
088: public String getFilegroup() {
089: return this ._filegroup;
090: }
091:
092: /**
093: * Setter for property filegroup.
094: * @param filegroup New value of property filegroup.
095: */
096: public void setFilegroup(String filegroup) {
097: this ._filegroup = filegroup;
098: }
099:
100: /**
101: * Getter for property size.
102: * @return Value of property size.
103: */
104: public String getSize() {
105: return this ._size;
106: }
107:
108: /**
109: * Setter for property size.
110: * @param size New value of property size.
111: */
112: public void setSize(String size) {
113: this ._size = size;
114: }
115:
116: /**
117: * Getter for property maxSize.
118: * @return Value of property maxSize.
119: */
120: public String getMaxSize() {
121: return this ._maxSize;
122: }
123:
124: /**
125: * Setter for property maxSize.
126: * @param maxSize New value of property maxSize.
127: */
128: public void setMaxSize(String maxSize) {
129: this ._maxSize = maxSize;
130: }
131:
132: /**
133: * Getter for property growth.
134: * @return Value of property growth.
135: */
136: public String getGrowth() {
137: return this ._growth;
138: }
139:
140: /**
141: * Setter for property growth.
142: * @param growth New value of property growth.
143: */
144: public void setGrowth(String growth) {
145: this ._growth = growth;
146: }
147:
148: /**
149: * Getter for property usage.
150: * @return Value of property usage.
151: */
152: public String getUsage() {
153: return this ._usage;
154: }
155:
156: /**
157: * Setter for property usage.
158: * @param usage New value of property usage.
159: */
160: public void setUsage(String usage) {
161: this._usage = usage;
162: }
163:
164: }
|