|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objecteclipseme.core.model.impl.PlatformComponent
Abstract superclass of the various platform components.
Note: This class/interface is part of an interim API that is still under development and expected to change before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken as the API evolves.
Copyright (c) 2003-2005 Craig Setera
| Constructor Summary | |
PlatformComponent(java.lang.String identifier,
java.lang.String name,
Version version)
Construct a new PlatformComponent. |
|
| Method Summary | |
void |
addDependentComponent(IPlatformComponent component)
Add a component to the list of components that are dependent on this component. |
java.lang.Object |
getAdapter(java.lang.Class adapter)
|
java.util.Iterator |
getDependentComponents()
Return an Iterator on the list of components that are dependent on this component. |
java.lang.String |
getIdentifier()
Return the unique identifier of this platform component. |
java.lang.String |
getName()
Return the name of this platform component. |
Version |
getVersion()
Get the version of this platform component. |
boolean |
hasDependentComponents()
Return a boolean indicating whether there are components that are dependent on this component. |
boolean |
isDerived()
Return a boolean indicating whether or not this component is derived from another component. |
void |
removeDependentComponent(IPlatformComponent component)
Remove a component from the list of components that are dependent on this component. |
void |
setDerived(boolean derived)
Set the derived status of this component. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface eclipseme.core.model.IPlatformComponent |
getPersistenceDelegate |
| Constructor Detail |
public PlatformComponent(java.lang.String identifier,
java.lang.String name,
Version version)
identifier - the unique identifier for this componentname - the displayable name for this componentversion - the version of this component| Method Detail |
public void addDependentComponent(IPlatformComponent component)
IPlatformComponent
addDependentComponent in interface IPlatformComponentcomponent - the dependent componentIPlatformComponent.addDependentComponent(eclipseme.core.model.IPlatformComponent)public java.lang.Object getAdapter(java.lang.Class adapter)
getAdapter in interface org.eclipse.core.runtime.IAdaptableIAdaptable.getAdapter(java.lang.Class)public java.util.Iterator getDependentComponents()
IPlatformComponent
getDependentComponents in interface IPlatformComponentIPlatformComponent.getDependentComponents()public java.lang.String getIdentifier()
IPlatformComponentnull.
getIdentifier in interface IPlatformComponentnull.IPlatformComponent.getIdentifier()public java.lang.String getName()
IPlatformComponent
getName in interface IPlatformComponentnull.IPlatformComponent.getName()public Version getVersion()
IPlatformComponent
getVersion in interface IPlatformComponentIPlatformComponent.getVersion()public boolean isDerived()
IPlatformComponent
isDerived in interface IPlatformComponentIPlatformComponent.isDerived()public boolean hasDependentComponents()
IPlatformComponent
hasDependentComponents in interface IPlatformComponentIPlatformComponent.hasDependentComponents()public void removeDependentComponent(IPlatformComponent component)
IPlatformComponent
removeDependentComponent in interface IPlatformComponentcomponent - the component to be removedIPlatformComponent.removeDependentComponent(eclipseme.core.model.IPlatformComponent)public void setDerived(boolean derived)
derived -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||