prantl.ant.eclipse
Class ProjectElement

java.lang.Object
  extended by prantl.ant.eclipse.ProjectElement

public class ProjectElement
extends java.lang.Object

Configures contents of the file .project with the name of the project, this class specifically the root element project.

Since:
Ant-Eclipse 1.0
Author:
Ferdinand Prantl <prantl@users.sourceforge.net>

Constructor Summary
ProjectElement()
          Creates a new instance of the project element.
 
Method Summary
 java.lang.String getName()
          Returns the name of the Eclipse project or null if it has not been set and the default shoud be used.
 void setName(java.lang.String value)
          Sets the name of the Eclipse project.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProjectElement

public ProjectElement()
Creates a new instance of the project element.

Since:
Ant-Eclipse 1.0
Method Detail

getName

public java.lang.String getName()
Returns the name of the Eclipse project or null if it has not been set and the default shoud be used.

Returns:
The name of the Eclipse project or null if not having been set.

setName

public void setName(java.lang.String value)
Sets the name of the Eclipse project. The name of the ant build project will be used by default if not set here.

Parameters:
value - A valid name of the Eclipse project.
Since:
Ant-Eclipse 1.0