net.sf.ant4eclipse.model.project
Class AbstractProjectRole

java.lang.Object
  extended by net.sf.ant4eclipse.model.project.AbstractProjectRole
Direct Known Subclasses:
CProjectRole, CvsProjectRole, FeatureProjectRole, JavaProjectRole, PluginProjectRole

public abstract class AbstractProjectRole
extends java.lang.Object

Encapsultes a specific role of a project. A role can have its own attributes.


Constructor Summary
AbstractProjectRole(java.lang.String name)
          Creates a new instance of type ProjectRole
 
Method Summary
 boolean equals(java.lang.Object o)
          
 java.lang.String getName()
          Returns the name of the project role.
 int hashCode()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractProjectRole

public AbstractProjectRole(java.lang.String name)
Creates a new instance of type ProjectRole

Parameters:
name - the name of the project role.
Method Detail

getName

public final java.lang.String getName()
Returns the name of the project role.

Returns:
Returns the name.

equals

public boolean equals(java.lang.Object o)

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()

Overrides:
hashCode in class java.lang.Object