java.lang.Object
org.jext.project.AbstractProject
- All Implemented Interfaces:
- Project
- Direct Known Subclasses:
- DefaultProjectManager.DefaultProject
- public abstract class AbstractProject
- extends java.lang.Object
- implements Project
Defines a basic project created using Jext.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
attributes
protected final java.util.Map attributes
manager
protected final AbstractProjectManager manager
name
protected final java.lang.String name
AbstractProject
protected AbstractProject(java.lang.String name,
AbstractProjectManager manager)
- Create a new
AbstractProject.
getName
public java.lang.String getName()
- Returns the name of this
AbstractProject.
- Specified by:
getName in interface Project
getAttribute
public java.lang.Object getAttribute(java.lang.String key)
- Returns the value of the specified attribute for this
AbstractProject.
- Specified by:
getAttribute in interface Project
getAttribute
public java.lang.Object getAttribute(java.lang.String key,
java.lang.Object defaultValue)
- Returns the value of the specified attribute for this
AbstractProject,
returning the specified default value if no such attribute exists.
- Specified by:
getAttribute in interface Project
getAttributeAsString
public java.lang.String getAttributeAsString(java.lang.String key)
- Returns the
String value of the specified attribute for this
AbstractProject.
- Specified by:
getAttributeAsString in interface Project
setAttribute
public void setAttribute(java.lang.String key,
java.lang.Object value)
- Sets the specified attribute.
- Specified by:
setAttribute in interface Project
fireProjectEvent
protected void fireProjectEvent(int eventType)
- Fire the specified
ProjectEvent for this AbstractProject.
This
fireProjectEvent
protected void fireProjectEvent(int eventType,
java.lang.Object target)
- Fire the specified
ProjectEvent for this AbstractProject.
This