|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectPlatformObject
eu.geclipse.core.model.impl.AbstractGridElement
eu.geclipse.core.model.impl.AbstractGridContainer
eu.geclipse.info.model.GridGlueComputing
public class GridGlueComputing
Implementation of the IGridElement
interface for a GlueCE.
| Constructor Summary | |
|---|---|
GridGlueComputing(IGridContainer parent,
GlueCE glueCE)
Construct a new GridGlueComputing for the specified
GlueCE. |
|
| Method Summary | |
|---|---|
boolean |
canContain(IGridElement element)
Determines if this may contain the specified element. |
IFileStore |
getFileStore()
Get the file store that this element is associated with. |
GlueCE |
getGlueCe()
Convenience method for getting the glue CE. |
AbstractGlueTable |
getGlueElement()
Get this GridGlueElement's associated
AbstractGlueTable object. |
java.lang.String |
getHostName()
Get the host name of the machine (physical or virtual) that represent this resource. |
java.lang.String |
getName()
Get the name of this element. |
IGridContainer |
getParent()
Get the parent element of this element. |
IPath |
getPath()
Get the path of this element relative to the grid root element. |
IResource |
getResource()
Get the corresponding resource of this element. |
java.net.URI |
getURI()
Get the URI that corresponds to this grid resource. |
boolean |
isLazy()
Determines if this container is using a lazy loading mechanism to manage its children. |
boolean |
isLocal()
Determines if this element is local. |
| Methods inherited from class eu.geclipse.core.model.impl.AbstractGridContainer |
|---|
contains, create, delete, deleteAll, dispose, findChild, findChildWithResource, getChildCount, getChildren, hasChildren, isDirty, refresh, setDirty |
| Methods inherited from class eu.geclipse.core.model.impl.AbstractGridElement |
|---|
getAdapter, getProject, isHidden, isVirtual |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface eu.geclipse.core.model.IGridElement |
|---|
dispose, getProject, isHidden, isVirtual |
| Constructor Detail |
|---|
public GridGlueComputing(IGridContainer parent,
GlueCE glueCE)
GridGlueComputing for the specified
GlueCE.
parent - The parent of this element.glueCE - The associated glue CE object.| Method Detail |
|---|
public boolean canContain(IGridElement element)
IGridContainer
canContain in interface IGridContainercanContain in class AbstractGridContainerelement - The element that may be contained in
this container.
public GlueCE getGlueCe()
GlueCE object.public AbstractGlueTable getGlueElement()
GridGlueElement's associated
AbstractGlueTable object.
public IFileStore getFileStore()
IGridElementnull if there is no such associated
file store. If this element is not virtual the filestore
corresponds to the file store of the corresponding resource.
getFileStore in interface IGridElementpublic java.lang.String getHostName()
IGridResource
getHostName in interface IGridResourcenull
if the resource cannot provide its hostname.public java.lang.String getName()
IGridElement
getName in interface IGridElementpublic IGridContainer getParent()
IGridElementIGridContainer. This method may not return
null since the only element that is allowed to
return null is the IGridRoot which is a
singleton and is internally defined within the model.
getParent in interface IGridElementpublic IPath getPath()
IGridElement@IResource.
getPath in interface IGridElementpublic IResource getResource()
IGridElementnull if - and only if - this element is virtual.
getResource in interface IGridElementnull if this
element is virtual.public java.net.URI getURI()
IGridResourceURI that corresponds to this grid resource.
getURI in interface IGridResourcenull
if the resource may not be represented by a URI.public boolean isLazy()
IGridContainerIGridContainer.getChildren(IProgressMonitor monitor) methode is
called the first time. On subsequent calls of
IGridContainer.getChildren(IProgressMonitor monitor) the formerly loaded
children are returned unless the IGridContainer.setDirty() method was
called. In that case a call to
IGridContainer.getChildren(IProgressMonitor monitor) will cause a
reload of this containers children.
Lazy containers always have to return true if they are asked
if they contain any children with IGridContainer.hasChildren().
isLazy in interface IGridContainerpublic boolean isLocal()
IGridElementIResource) that
is local in the means that it is located on the local machine.
isLocal in interface IGridElement
|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||