|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.wst.common.componentcore.resources.ComponentHandle
Provides a handle to a component within a project.
This class provides a way to access ArtifactEdit instances. The component referenced by its handle may not exist.
The following class is not intended to be extended.
Method Summary | |
---|---|
static ComponentHandle |
create(IProject aProject,
java.lang.String aComponentName)
Creates a component handle that indicates a component with the name aComponentName contained by the project
aProject . |
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getName()
The name of the component. |
IProject |
getProject()
A handle to a valid, accessible project. |
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
public java.lang.String getName()
public IProject getProject()
public static ComponentHandle create(IProject aProject, java.lang.String aComponentName)
aComponentName
contained by the project
aProject
.
aProject
- The project that will contain the componentaComponentName
- The name of the component
public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object obj)
obj
- Another object to compare for equality.
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |