org.dbforms.devgui
Class ProjectData

java.lang.Object
  extended by org.dbforms.devgui.ProjectData
All Implemented Interfaces:
Serializable, PropertyNames

public class ProjectData
extends Object
implements Serializable, PropertyNames

DOCUMENT ME!

Author:
Joe Peer Changes: - 2002-03-4: usage of default property and constant string values via new Interface Propertynames (dikr)
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.dbforms.devgui.PropertyNames
ALL, AUTOCOMMIT_MODE, CATALOG, CATALOG_SELECTION, CONFIG_FILE, DATE_FORMAT, DEACTIVATED, EXAMINE_SYSTABS, EXAMINE_TABLES, EXAMINE_VIEWS, FALSESTRING, FOREIGNKEY_DETECTION, INCLUDE_CATALOGNAME, INCLUDE_SCHEMANAME, SCHEMA, SCHEMA_SELECTION, SELECTION, STYLESHEET_DIR, TABLE_NAME_PATTERN, TABLE_SELECTION, TRUESTRING, USE_GETCROSSREFERENCES, USE_GETIMPORTEDKEYS, USE_JAVASCRIPT_CALENDAR, WRITE_STD_TYPENAMES, XSLT_ENCODING
 
Constructor Summary
ProjectData()
          Creates new Project
ProjectData(Properties props)
          Constructor for the ProjectData object
 
Method Summary
 File getFile()
          Gets the file attribute of the ProjectData object
 String getProperty(String prop)
          Gets the property attribute of the ProjectData object
 boolean isUnsaved()
          Gets the unsaved attribute of the ProjectData object
static ProjectData loadFromDisc(File f)
          Description of the Method
 void setFile(File file)
          Sets the file attribute of the ProjectData object
 void setProperty(String key, String value)
          Sets the property attribute of the ProjectData object
 void storeToDisc(File f)
          Description of the Method
 String toString()
          Description of the Method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProjectData

public ProjectData()
Creates new Project


ProjectData

public ProjectData(Properties props)
Constructor for the ProjectData object

Parameters:
props - Description of the Parameter
Method Detail

setFile

public void setFile(File file)
Sets the file attribute of the ProjectData object

Parameters:
file - The new file value

getFile

public File getFile()
Gets the file attribute of the ProjectData object

Returns:
The file value

setProperty

public void setProperty(String key,
                        String value)
Sets the property attribute of the ProjectData object

Parameters:
key - The new property value
value - The new property value

getProperty

public String getProperty(String prop)
Gets the property attribute of the ProjectData object

Parameters:
prop - Description of the Parameter
Returns:
The property value

isUnsaved

public boolean isUnsaved()
Gets the unsaved attribute of the ProjectData object

Returns:
The unsaved value

loadFromDisc

public static ProjectData loadFromDisc(File f)
                                throws IOException
Description of the Method

Parameters:
f - Description of the Parameter
Returns:
Description of the Return Value
Throws:
IOException - Description of the Exception

storeToDisc

public void storeToDisc(File f)
                 throws IOException
Description of the Method

Parameters:
f - Description of the Parameter
Throws:
IOException - Description of the Exception

toString

public String toString()
Description of the Method

Overrides:
toString in class Object
Returns:
Description of the Return Value


Copyright © 2002-2006 DbForms. All Rights Reserved.