org.acm.seguin.ide.jedit
Class UMLProject

java.lang.Object
  extended by org.acm.seguin.ide.jedit.UMLProject

public class UMLProject
extends java.lang.Object

Note: this class is not thread safe!

Since:
0.0.1
Version:
$Id: UMLProject.java,v 1.1 2003/09/17 19:52:32 mikeatkinson Exp $
Author:
Mike Atkinson

Constructor Summary
UMLProject(java.lang.String name)
          Constructor for the UMLProject object
 
Method Summary
 javax.swing.Icon getIcon(boolean expanded)
          Returns the icon to be shown on the tree next to the node name.
 java.lang.String getName()
          Gets the name attribute of the UMLProject object
 java.util.Properties getProperties()
          Return the project's property set.
 java.lang.String getProperty(java.lang.String property)
          Returns the property set for the project.
 java.util.Set getPropertyNames()
          Returns a set containing all property names for this project.
 java.lang.String getRootPath()
          Gets the rootPath attribute of the UMLProject object
 java.lang.Object removeProperty(java.lang.String property)
          Removes the given property from the project.
 void setName(java.lang.String name)
          Sets the name attribute of the UMLProject object
 java.lang.String setProperty(java.lang.String name, java.lang.String value)
          Sets a property.
 void setRootPath(java.lang.String root)
          Sets the rootPath attribute of the UMLProject object
 java.lang.String toString()
          Returns a string representation of the current node.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UMLProject

public UMLProject(java.lang.String name)
Constructor for the UMLProject object

Parameters:
name - Description of the Parameter
Method Detail

getName

public java.lang.String getName()
Gets the name attribute of the UMLProject object

Returns:
The name value

setName

public void setName(java.lang.String name)
Sets the name attribute of the UMLProject object

Parameters:
name - The new name value

getRootPath

public java.lang.String getRootPath()
Gets the rootPath attribute of the UMLProject object

Returns:
The rootPath value

setRootPath

public void setRootPath(java.lang.String root)
Sets the rootPath attribute of the UMLProject object

Parameters:
root - The new rootPath value

getProperty

public java.lang.String getProperty(java.lang.String property)
Returns the property set for the project.

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

setProperty

public java.lang.String setProperty(java.lang.String name,
                                    java.lang.String value)
Sets a property.

Parameters:
name - The new property value
value - The new property value
Returns:
The old value for the property (can be null).

getPropertyNames

public java.util.Set getPropertyNames()
Returns a set containing all property names for this project.

Returns:
The propertyNames value

removeProperty

public java.lang.Object removeProperty(java.lang.String property)
Removes the given property from the project.

Parameters:
property - Description of the Parameter
Returns:
Description of the Return Value

getProperties

public java.util.Properties getProperties()
Return the project's property set.

Returns:
The properties value

getIcon

public javax.swing.Icon getIcon(boolean expanded)
Returns the icon to be shown on the tree next to the node name.

Parameters:
expanded - If the node is currently expanded or not.
Returns:
The icon value

toString

public java.lang.String toString()
Returns a string representation of the current node.

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